JoeAS
August 21, 2022, 11:51pm
1
Is there a way to create a new deck when importing? I can only import new cards into an existing deck.
JoeAS
August 19, 2022, 6:58pm
2
Is there a way to import tags into tag premade tag categories and have them either change with the upload name or have Anki make a deck name with the import file? The issue is I can’t import a deck name without a premade deck in Anki and I have premade decks in Anki with custom filtered decks attached. The custom tags are being used for the import name but they are just numbers (e.g., Tag1:1, Tag1:2, Tag1:3…).
I am doing this so as the class goes on I can just import the file into Anki without having to customize each deck as I am going along.
dae
August 22, 2022, 4:31am
3
The new CSV importer allows you to specify a deck for each row, but currently the deck must exist. We may expose an option in the future to automatically create the decks.
opened 09:38AM - 02 Jun 22 UTC
import/export
With basically all of the old code ported to Rust, it's time to turn to new feat… ures and improvements. This issues is supposed to track such todos, which have previously been scattered across various PRs and issues.
Some discussion is on #1018 and this list will be updated according to the progression over there.
General
---
- [ ] Custom exporters/importers.
Apkg
---
- [x] Check invalid ids on import (ids 1000x too large).
- [ ] Notetype remapping on import.
- [ ] Private fields.
- [ ] Private tags.
- [ ] Update with older mtime.
- [ ] Generate cards on import (#1836).
- [x] Populate media DB on import (#1831).
- [ ] Export filtered decks (without conversion to regular ones). (https://github.com/ankitects/anki/pull/1743#discussion_r840255927)
- [ ] Warn about extraneous exported cards and decks due to scattered siblings.
- [ ] Allow importing without scheduling, if file contains some.
JSON
---
More notes on https://github.com/ankitects/anki/pull/1850#issuecomment-1122156181.
- [ ] Validation checks.
- [ ] Error handling. (More specific errors, don't abort if failure results from target collection state, ...)
- [ ] Support importing new cards (https://github.com/ankitects/anki/pull/1850/files#r869037548.
- [ ] Port SuperMemo and Pauker importers to JSON, or figure out if we can map the legacy NoteImporter code to JSON automatically (or semi-automatically)
- [ ] Extract Mnemosyne, SuperMemo and Pauker importers into separate add-ons
CSV
---
- [x] Preview for first few records.
- [x] Optionally export notetype and deck columns. (Let user decide if by name or id?)
- [ ] Handle failures in `GetCsvMetadata`.
- [x] Support note id/guid column. (just guid)
- [ ] Report unmapped columns.
- [ ] Maybe add tooltip to import options.
From https://forums.ankiweb.net/t/import-problems-suggestions/5856. Might also apply to JSON.
- [ ] Batch importing.
- [ ] Import media files from same folder.
- [ ] Import notetypes.
- [ ] Create decks on import.