Hi,

There is no formal specification, but as you noticed from looking at the
file format, it's not that complicated.

But I do think you're making things overly complicated by trying to do your
edits outside of Mnemosyne...

Peter


On Mon, 19 Aug 2024, 05:39 Felipe Vieira, <[email protected]> wrote:

> Hi, I'm trying to become a user once again. I have a few .cards instances
> so I can infer some sort of specification. In any case, do you have a more
> formal pointer to this file format that I can use?
>
> My use case is:
>
> ```
> front: Question abcde?
> back: Answer xyz.
> id: abf6a0be-71c5-4c7e-b379-0d9091b3e3c3
> ```
>
> Where I expect the question and answer to change or be increased slightly
> over time, but I would like to keep the statistics and all other metadata
> tied to the `id`
>
> ```
> front: Question abcde fgh?
> back: Answer xyz 123.
> id: abf6a0be-71c5-4c7e-b379-0d9091b3e3c3
> ```
>
> What's the best way to keep this manageable?
>
> Cheers,
>
> Felipe
> Peter Bienstman در تاریخ شنبه ۱۴ اکتبر ۲۰۲۳ ساعت ۲:۳۲:۵۶ (UTC-3) نوشت:
>
>> Hi,
>>
>> I don't think you need to delete and recreate all the time. However, if
>> you don't want to lose your learning data when reimporting, you need to use
>> the cards format. Txt files do not contain card ids.
>>
>> Cheers,
>>
>> Peter
>>
>>
>> On Sat, 14 Oct 2023, 07:29 Felipe Vieira, <[email protected]> wrote:
>>
>>> Hi, is there a way to automate the card imports?
>>>
>>> While I'm creating a card group (deck?) I would like to iterate on it.
>>> e.g., start creating, import it, test a bit, go back, change a few things,
>>> import it, etc. It would be great if I could do this in a non interactive
>>> way (i.e. having to click on things).
>>>
>>> The last post in this vain is the following: <
>>> https://groups.google.com/g/mnemosyne-proj-users/c/xot26WkHb-A/m/UVSzXy5RdgoJ
>>> >.
>>>
>>> I imagine that in practice that would amount to:
>>>
>>> 1.  Delete the collection of cards `collection_abc` (I kindly ask for
>>> pointers on how to do this).
>>>
>>> 2.  Save the a new `collection_abc` somewhere (this part is easy).
>>>
>>> 3.  Insert the (new) collection of cards `collection_abc` (I kindly ask
>>> for pointers on how to do this).
>>>
>>> I saw the `.cards` format and it is a bit complicated (XML) so I guess I
>>> could export a tab separated file and hardcode the metadata in the code
>>> that does this (e.g. a `python` script).
>>>
>>> I can program.
>>>
>>> So I'm roughly asking for directions here, or a few places to look at.
>>>
>>> I'll definitely share the end results.
>>>
>>> Best,
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mnemosyne-proj-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/0cc60c78-c669-48c2-8094-563aeb80dfe8n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/0cc60c78-c669-48c2-8094-563aeb80dfe8n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/f0fb140f-61d4-4e40-a31e-f3b8dea8ac7an%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/f0fb140f-61d4-4e40-a31e-f3b8dea8ac7an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPFF3C3EqPYbAXQ2ZL0Q%2BvVtThtaf1S3V8z%2BkaFQ5BEYyw%40mail.gmail.com.

Reply via email to