Bỏ qua đến nội dung

Import Scheduling Info from CSV

Chờ xử lý #anki #addon #import #scheduling #info #from #csv
https://github.com/telotortium/anki-import-scheduling-info-from-csv
13/10/2021

Cách tải addon Import Scheduling Info from CSV

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

891862080

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 891862080 và copy

1

Mô tả chi tiết

See https://github.com/telotortium/anki-import-scheduling-info-from-csv for full description.

This is a small addon to reschedule cards based on the contents of a CSV file. Here is an example CSV:

1634097916122,,28.3,1160,43 1634097916110,2021-08-23,28.3,1160,43

The meaning of the fields are as follows:

Card ID - the ID of the card in question. From the Anki Add-on guide, here is how you might discover card IDs for a card from Python.

ids = mw.col.find_cards(“tag:x”) Or you could use AnkiConnect.

Due date.

If blank, makes the card a new card. In this case the rest of the fields on the lines are ignored, but they must contain numeric data in order for the CSV to be parsed correctly. Otherwise, contains a date in YYYY-MM-DD format to set the due date of the card to. In this case, the card is put into the review state. Interval: the interval of the card (i.e., the number of days until the card is due).

Ease - the ease of the card. A per-mille value. For example, if you want to set your card’s ease to 250%, set this field to “2500”.

Reps - number of times this card has been seen.

Usage Once this addon has been installed, a menu item “Import card scheduling info from CSV” will be added to the “Tools” menu. Click on that, select one or more CSV files from the file picker, and the card’s scheduling information will be updated. Note that the CSV files must be properly formatted and cannot contain a header line.

Motivation See this Reddit post: Bulk import notes from another SRS, including setting scheduling information.

I’ve been using Org-mode in Emacs for many years now, and I’ve made many cards within Org-mode using an SRS package called org-drill. However, I’ve recently discovered the anki-editor Emacs package that lets me manage the contents of the note fields within Org-mode (next to my other notes) while maintaining the scheduling information in Anki. Any edits to the note fields within Anki will update the fields in Anki using AnkiConnect. This has been working very well for me, and I’d like to export my existing org-drill notes to Anki.

This add-on was written for me to import the scheduling information maintained by org-drill.

License AGPL v3.


Liên kết hỗ trợ


Reviews (1)

👍 2021-11-19

It works, and it helped me out. Thanks!