AnkiWeb
- Rating
- 16 (π 14 Β· π 2)
- Updated
- 2020-02-03
- Anki versions
- <=2.1.19
- Description language
- en
AnkiWeb addon 1983204951
Exports cards selected in Anki's Browser, though it became obsolete in 2.1.20 and older exports before 2020-02-02 leaked all deck names.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 2.1.19 | 2020-02-03 |
Loadingβ¦
Exports selected or deck/tag-filtered Anki cards to printable HTML/PDF, showing both sides, with configurable rendering and searchable tag picking.
Preserves the marked tag when exporting without scheduling information in Anki 2.0.24, so only the exporting user needs it.
Exports selected Anki cards or decks to PDF/HTML for printing paper flashcards, with card-level selection, Flatpak-friendly, requiring no separate browser, though currently a buggy test release.
Loads Notion toggle lists as Anki notes into specified decks, supporting tags, clozes, recursive page export, and background or manual synchronization.
Replaces the full sync confirmation screen with a less intrusive tooltip in older Anki versions, though it is obsolete in 2.1.35 and later.
Exports media files from a chosen deck or note to a folder, accessible via deck gear menu, editor toolbar, or browser Notes menu for selected notes.
Sometime, I want to export only some notes. And the cards are not all in the same deck. I wanted to be able to just select cards in the browser and export them. Thus, this add-on is here.
Another problem with anki's exporting system is that it exports cards, and not notes. Image that you have a card in a deck, and its sibling (other card of the same note) in another deck. And that you export the deck of the first card. Only the first card will be exported. Now, if you import the exported package, Anki will eventually detect that some siblings are missing, and will generate those as new cards. Thus the entire review history of the siblings will be missing. Personnally, I prefer to export siblings, even if it means exporting more than a deck. But since people may disagree, this option is configurable.
A previous version of the add-on add an hidden bug. When you exported cards selected in the browser, the file you obtained contained information about ALL decks. Even the decks unrelated to any card you selected.
This create no bug when you imported those cards, since those decks without cards were ignored by Anki. However, it means that those deck contained extra information they were not supposed to contains. It contained the list of all of your decks, and this can be read by any people knowing how to read database content.
I assume and hope that this was not a security problem for anyone, and that no "list of decks" contained sensitive information. But if your list of deck did contain sensitive informatio, I beg your pardon and you should ensore those shared decks are not publicly shared anymore.
Currently, this add-on is not compatible with "special field" add-on. This will change in the future, I sent a correction to the other add-on, I can't do more immediately.
Open the Browser, select the cards you want to export. Then go to Edit>Export selection (Ctrl+Shift+E), and the standard exporting window will open, but with a new options: "Browser's selection". Keeping this option, you can export your selection as you exported decks.
You can ignore this section. Unless you really want to export cards without their siblings in package/exporters installed by other add-ons, default should be okay.
"siblings": A mapping stating, for each kind of export option, whether you want that cards are exported with their siblings (other cards from the same note).
The entry of the "siblings" mapping are keys of exporter, or the constant "default". To control exporter created by other add-on, check their code to find their "key" value, and add it to this mapping. The default values are:
"Anki 2.0 Deck" is not listed. Indeed, when the entire collection is exported, this parameter becomes useless.
This add-on change
aqt.exporting, the method ExportDialog.__init__. The new
method calls the previous version of the method.aqt.exporting, the methods ExportDialog.setup,
ExportDialog.accept. The new methods do not call the previous
version of the method.anki.exporting, the method Exporter.cardIds is
modified. The former version of the method is called if the exporter
is called from the browser with a non-empty selection.anki.exporting, the method Exporter.__init__ is
modified. The former version of the method is called.anki.exporting, the method AnkiExporter.exportInto is
redefined, not calling the previous version. This change is used to
decide which decks are changed. This change is sent to Anki in a
(pull request)[https://github.com/ankitects/anki/pull/434].Sorry, but no such version, unless someone wants to pay for it.
| Key | Value |
|---|---|
| Copyright | Arthur Milchior arthur@milchior.fr |
| Debugged by | ijgnd |
| Based on | Anki code by Damien Elmes anki@ichi2.net |
| License | GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html |
| Source in | https://github.com/Arthur-Milchior/anki-export-from-browser |
| Addon number | 1983204951 |