|
Welcome,
Guest
|
|
Export/Import eComic info via XML file
(1 viewing) (1) Guest
Python Scripts for ComicRack
|
TOPIC: Export/Import eComic info via XML file
Export/Import eComic info via XML file 4 years ago #748
|
I wrote this script to "backup" the information ComicRack saves to the alternate data streams in NTFS file systems. The information is saved as an XML file named the same as the eComic file but with an "xml" extension.
To install, download the attached ZIP file and extract the contents to your \ComicRack\Scripts folder. Restart ComicRack and right click on the library or a selected group of comics in the list window. Right click and select Automation->Export Comic Info from the menu. When the script completes a Message Box will notify you. If for some reason the XML can't be generated for a file, it will be skipped and the next file is examined. One limitation of the script is that if you have two eComics of the same name in the same folder but of different eComic types, the XML will only be valid for the last file the script processed. To overcome this limitation, you will have to rename one of the files. |
|
Last Edit: 4 years ago by wadegiles.
|
Re:Export eComic info to XML file 4 years ago #750
|
In case of a reinstall of the operation system, how i import the information in this files?
|
|
|
Re:Export eComic info to XML file 4 years ago #751
|
I'm working on the script to do that, but I thought everyone might want this one as soon as I finished it.
Let me know if you have problems with this script in the mean time. |
|
|
Re:Export eComic info to XML file 4 years ago #756
|
it work very fine, thanks.
don't have bugs at the moment |
|
|
Re:Export/Import eComic info via XML file 4 years ago #757
|
Here is the complementary script to import eComic info from a corresponding XML file. Please note that the XML file MUST have the exact same base file name as the eComic file. Any variation other than the file extension will silently fail to import the data. In addition, the import doesn't care about existing information for the eComic so any fields coming from the import will automatically be overwritten.
Installation is the same as the export script. After restarting Comic Rack, select some eComics for which there is a corresponding XML file and right click to bring up the menu. There will now be a Automation->Import Comic Info from XML entry which you can select to start the import process. |
|
|
Re:Export/Import eComic info via XML file 4 years ago #758
|
wow, that's a good news, thank you wadegiles, with your scripts comicrack is perfect.
|
|
|
Re:Export/Import eComic info via XML file 4 years ago #764
|
So many thanks for these!
|
|
An Idle Mind... http://idlemindworkshop.wordpress.com/
|
Re:Export/Import eComic info via XML file 3 years, 4 months ago #2205
|
Hi
Could you help me import my comic book data into Comic Rack? I have an XML file (sample below) with data for approx 8000 comics. I would like to use your script to import this data into comic rack. <comic> <id>8786</id> <name>X-23 Target X 01</name> <location>E:\Shared Media\Comics\0277 X-23 Target X\X-23 Target X 01.cbz</location> <image>C:\Users\TheBigDog\Comic Collector\Images\X23TargetX1ATargetXP130241_f.jpg</image> <title>Part One: Innocence Lost</title> <characters>Dr. Martin Sutter; X-23 (Laura Kinney); Sarah Kinney; Zander Rice; Kimura; Captain America (Steve Rogers); Daredevil (Matt Murdock)</characters> <series>X-23: Target X</series> <publisher>Marvel Comics</publisher> <issuenr>1</issuenr> <publicationdate>01/02/07</publicationdate> <seriesgroup>X-23</seriesgroup> <fulltitle>Target X, Part One: Innocence Lost</fulltitle> <allcreators>Christopher Yost; Craig Kyle; Mike Choi; Sonia Oback; Troy Peteri; Mike Choi; Sonia Oback; Axel Alonso; Joe Quesada</allcreators> <storyarc>Target X</storyarc> </comic> I've tried to change the tags to match the ones displayed when you go into the "Get Info" screen but no luck... Please help.. SW |
|
|
Re:Export/Import eComic info via XML file 3 years, 4 months ago #2206
|
I figured it out - upper/lowercase problem.... D'oh!
SW |
|
|
Re:Export/Import eComic info via XML file 3 years, 4 months ago #2207
|
Cool. Sometimes you just have to externalize the problem to solve it yourself.
|
|
|
|
Time to create page: 0.89 seconds
