Hmmm... I imported some flashcards from an XML file that I've written, but it froze at the end for several minutes. May be related to an email coming in, not sure...
Anyway, had to soft reset, but it worked flawlessly. All my cards are there, with the definitions I was expecting, etc. All I need to do now is write some code to deal with duplicates on my end (I prefer combining the entries to make sure I don't miss a definition), and it'll be good. Once I've done that, I'll probably merge the score information from 1.0 and start using it.
Hmm... Thinking about it, I think it might be nice to have some form of merge option when you hit a duplicate, mostly because if I'm importing flashcards as I go through a textbook, I may hit a flashcard that's already been mentioned in the previous chapter. NPCR 1 is great for this, as Lesson 1 and Lesson 2 both contain 吗, with the exact same definition. If you're importing Lesson 2 only when you reach it in class, say, then it'd be nice to be able to add the category and leave everything else untouched. Not sure how easy that would be for you to do, and what else you should 'merge'. I think categories are the most important one, to be honest.
File looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<plecoflash formatversion="2" name="NPCR.txt" generator="ipsi" created="1217482036" platform="Ubuntu 8.04">
<categories />
<cards>
<card language="chinese" created="1217482036">
<entry>
<headword>你</headword>
<pron type="hypy" tones="numbers">ni3</pron>
<defn>you</defn>
</entry>
<catassign category="NPCR 1" />
</card>
<card language="chinese" created="1217482036">
<entry>
<headword>好</headword>
<pron type="hypy" tones="numbers">hao3</pron>
<defn>good; well; fine; OK</defn>
</entry>
<catassign category="NPCR 1" />
</card>
.
.
.
.
.
</cards>
</plecoflash>
Anyway, had to soft reset, but it worked flawlessly. All my cards are there, with the definitions I was expecting, etc. All I need to do now is write some code to deal with duplicates on my end (I prefer combining the entries to make sure I don't miss a definition), and it'll be good. Once I've done that, I'll probably merge the score information from 1.0 and start using it.
Hmm... Thinking about it, I think it might be nice to have some form of merge option when you hit a duplicate, mostly because if I'm importing flashcards as I go through a textbook, I may hit a flashcard that's already been mentioned in the previous chapter. NPCR 1 is great for this, as Lesson 1 and Lesson 2 both contain 吗, with the exact same definition. If you're importing Lesson 2 only when you reach it in class, say, then it'd be nice to be able to add the category and leave everything else untouched. Not sure how easy that would be for you to do, and what else you should 'merge'. I think categories are the most important one, to be honest.
File looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<plecoflash formatversion="2" name="NPCR.txt" generator="ipsi" created="1217482036" platform="Ubuntu 8.04">
<categories />
<cards>
<card language="chinese" created="1217482036">
<entry>
<headword>你</headword>
<pron type="hypy" tones="numbers">ni3</pron>
<defn>you</defn>
</entry>
<catassign category="NPCR 1" />
</card>
<card language="chinese" created="1217482036">
<entry>
<headword>好</headword>
<pron type="hypy" tones="numbers">hao3</pron>
<defn>good; well; fine; OK</defn>
</entry>
<catassign category="NPCR 1" />
</card>
.
.
.
.
.
</cards>
</plecoflash>