questions about <img src> and <audio src> tags

103 views
Skip to first unread message

Mark

unread,
Mar 20, 2013, 9:02:44 PM3/20/13
to mnemosyne-...@googlegroups.com

I am trying to setup cards for my students that have both images and audio media.

When I export/import these, I don't see the folder/directory passed as part of these tags. 
(I created some test cards and exported them as a tab separated file to see the format).
So I am not sure how/if this will work with distributing cards with these image/audio tags to my students?


Ideally, I want to ...

1.  Create the cards in my text file editor because I can manufacture the names of the image and audio files (for those tags) in the editor very fast. 

2.  Then import the that file as a tab separated text file into Mnemosyne, adding mnemosyne group tags/names to the cards.

3.  Then export the cards with their grouping tags as a Mnemosyne 2.x file.

4.  Distribute this Mnemosyne 2.x file to my students.


So my questions are.... 

For step 2 above, how will the import into mnemosyne know where to find the image and audio media, since there isn't a folder name as part of the tags?

For step 3 & 4, will the exported Mnemosyne 2.x file contain the image and audio media?   Or do I need to distribute those image/audio files along with the 2.x file?



Gnome

unread,
Mar 21, 2013, 2:54:30 AM3/21/13
to mnemosyne-...@googlegroups.com
2: You'll only need to reference the files relative to the txt file. The files will be copied to the database media directory (default.db_media) when importing.
3 & 4: When exporting, the images are copied to the inside of the Mnemosyne 2.x .cards file

Mark

unread,
Mar 26, 2013, 10:27:11 PM3/26/13
to mnemosyne-...@googlegroups.com


Thanks.

I am having some trouble with the import.

I am running Mnemo v2.2a under Windows.

I want to import cards from tab-delimited .txt file.  The cards have tags for img and audio sources.

I have tried putting the media files in the same directory as the .txt import file, and I also tried copying them myself into mnemosyne's "defalult.db_media" directory.

When I try to import, I get "missing media file" errors.

The img/audio tags don't specify a directory.  They look like this:

     <img src="comb.jpg"><br><audio src="comb.wav">

The cards I already imported a few weeks ago work fine..... I must be doing something different this time around with the import.  But I don't know what.

So, where should the files be put to import?

Mark

unread,
Mar 26, 2013, 10:39:05 PM3/26/13
to mnemosyne-...@googlegroups.com
Oh I figured it out right after posting this.  There were extra quotation marks when I saved the cards as a tab-separated text file.  Dang it!   Solved.

But I have a new question........

What tells Mnemo the card type on the import?  

The .txt cards are importing as vocabulary, but I want them to just be front-to-back cards....

Gnome

unread,
Mar 27, 2013, 1:49:30 AM3/27/13
to mnemosyne-...@googlegroups.com
If there are two fields, instead of three, in the txt they are imported as front to back.

Mark

unread,
Mar 27, 2013, 8:14:24 PM3/27/13
to mnemosyne-...@googlegroups.com
ah ok.  Thanks.  I think I figured it all out now.
Reply all
Reply to author
Forward
0 new messages