Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next
Add front and back image data to XML export option
Author Message
DVD Profiler Unlimited Registrantxmlguy74
Registered: March 23, 2007
Posts: 2
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I'd *love* to see you add the ability to include the front/back images in the XML export feature. The data can be base-64 encoded into an XML tag. This would be an additional optional export option.

Also, I'd like see the ability to add custom fields, which also get exported into the XML export file.
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,217
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting xmlguy74:
Quote:
I'd *love* to see you add the ability to include the front/back images in the XML export feature. The data can be base-64 encoded into an XML tag.

The pictures INTO the database? Oh Lord!
Wouldn't it be easier to use <id>+f.jpg to have the name of the front cover, and then do whatever neccessary whith it?


cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Unlimited Registrantdvdoug
As seen on Slashdot...
Registered: March 13, 2007
Posts: 55
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting xmlguy74:
Quote:
I'd *love* to see you add the ability to include the front/back images in the XML export feature. The data can be base-64 encoded into an XML tag. This would be an additional optional export option.

Also, I'd like see the ability to add custom fields, which also get exported into the XML export file.


That's a really bad idea - even the most efficient XML parser in the universe, would have trouble parsing a file that is several hundred megabytes (or more!) in size...
Doug

DougWeb.org - my personal site.
TWSNBN.com
Unofficial DVD Profiler Resource Centre - serving hundreds of users every month!
DVD Profiler Wiki
DVD Profiler Desktop and Mobile RegistrantStar Contributorajm
dvd-aholic
Registered: March 13, 2007
United Kingdom Posts: 525
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Do I really want a 2.5gb xml file. I don't think so.

Parsers take long enough with my 30mb xml file.

Just extract the ID and work out the filename like Mithi says.

Home of the phpDVDProfiler forums
DVD Profiler Unlimited Registrantxmlguy74
Registered: March 23, 2007
Posts: 2
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Two points:

1. After I posted this idea, I discovered the images stored by ID name in the database folder, so I have a work around.

2. If you are trying to parse an XML document entirely into memory AND that document is large, the you are using the WRONG parsing approach. You should use a SAX-style parser (i.e. System.Xml.XmlReader) approach so that you do not load the entire file into memory. This allows you process the file on the fly, very quickly!
DVD Profiler Unlimited Registrantdvdoug
As seen on Slashdot...
Registered: March 13, 2007
Posts: 55
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
A 2.5Gb file is never, ever going to processed quickly...
Doug

DougWeb.org - my personal site.
TWSNBN.com
Unofficial DVD Profiler Resource Centre - serving hundreds of users every month!
DVD Profiler Wiki
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting dvdoug:
Quote:
A 2.5Gb file is never, ever going to processed quickly...

Well exactly. I mean really.
-fred
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next