Knowledge Items to Anki

Mingming C. shared this idea 2 months ago
beantwortet

Hi,


Anki is a powerful tool for memorizing knowledge. So I would like to request a feature that can automatically transfer knowledge items to Anki as flashcards. Maybe the title can be on the front side, and the content attached to the title can be on the back side. I am not sure if this feature takes a lot of time to get launched, or can it be launched in the future? But I am keen on this feature and thanks for your consideration.


Regards,

Mingming

Comments (1)

photo
2

Hi, Mingming

Thank you for your feature request. I had a look at the Anki manual. Apparently this tool can import plain text files with semicolon separated content.

Please find attached a macro that exports the knowledge items' core statements, full text, reference and page range to such a file.

Here's how you run a macro in Citavi: https://github.com/Citavi/Macros

I hope this helps to get you started.

Best regards

Sebastian

photo
1

Hi Sebastian,

Thank you for the Macro. However, the csv file the Macro exported is so messy that I can't import it into Anki. I will transfer knowledge items to Anki manually anyway. Hope the feature comes out soon. By the way, AnkiConnect, an add-on of Anki, facilitate the connection between Anki and other Apps. I am not a developer, so I have to leave the work to the amazing Citavi team. Thanks again!

Best,

Mingming

photo
1

Hi, Mingming,

could you upload a sample file showing what Anki expects from an import file? I can check then if the macro can adapted easily. Thank you.

Best regards

Sebastian

photo
1

Hello,

I would like to second the request. There is a vivid user community of Anki (and some other SRS tools).

Anki import files are simple csv/tsv files. Anki can import HTML. Personally, I use an Autohotkeys skript while reading in the browser that writes words, surrounding paragraphs and source to such a csv/tsv file for later import to Anki.


The knowledge manageent tool polar has an integrated function of creating Anki cards - which is not very convenient. I think Swiss Academic Software has the far more versatile document management software and can probably do a lot better than polar in finding a way to support Anki card creation.


Best regards

photo
1

Hi,

I've just had another look at that and have to admit that my first macro attempt was lacking.

Please find attached an updated version which creates a string for the front and the back of the Anki cards and exports this into a semicolon separated file. I've now surrounded the field contents with quotation marks, so things that should stay together actually do.

I've had a quick trial run with our demo project and the results seem promising. Make sure to enable the HTML option when importing, so the line breaks for the back part of the card stay in place.

Please feel free to adapt the macro to your specifc needs.

Best regards

Sebastian

photo
1

Thank you so much Sebastian for following up. Just quite busy recently... I'll try this updated version soon! Besides, I'm currently using Quiker to write text on the front side in Anki. Quicker works like Autohotkeys I guess, using some shortcuts to write selected text into Anki.

photo