The text templates do not export the links. But I have
updated the program to export links for text. You might want to condense the link part into a single line, depending on how you want the final format. Also paths will not be exported with the initial
file:// prefix, you will have to add that with find and replace if you need it.
Exporting a single movie per file can't be done with the text template. You would have to rename it .html so that the program thinks it's HTML and then you can export a single movie per file with the HTML export settings. However they will still be named page1.html, page2.html... With a secondary text template export as above the file could be rename to the movie titles, just like it does with the images, instead of [key:uid] you would use [key:incrementalNumber] and instead of cp (copy), use mv (move).
Since it seems you want something very specific it might be easier working the XML file that a .dvdpedia export creates. Control clicking a .dvdpedia export and showing the package contents reveals the XML that you can then use with
XSLT transformation to do any kind of data format change.
Another option I just thought of is using the built in echo command in terminal to create the files. For example with the following template export, then copy pasted into terminal, you would end up with a folder on your Desktop called DVDpediaExport that contains files called Music and Lyrics.txt, Batman.txt, etc... with any information you want.
- Code: Select all
cd Desktop
mkdir DVDpediaExport
cd DVDpediaExport
<!--BeginRepeat-->echo "\"/Users/[UserName]/Library/Application Support/DVDpedia/Covers/[key:uid].jpg\" \"/Users/[UserName]/Desktop/Movies/[key:title].tmb\" <!--IFlinks[linksBegin][link:url] [linksEnd]ENDlinks-->" > "[key:title].txt"
<!--EndRepeat-->