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
XML Export: CollectionType
Author Message
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,744
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Hi,

it would be great if the next version could expand the XML by the information if a custom collection type is part of the Owned collection.

Now it looks like:

<CollectionType>Blu-ray</CollectionType>

Maybe make it look like this?

<CollectionType Owned="true">Blu-ray</CollectionType>
Karsten
DVD Collectors Online

DVD Profiler Unlimited RegistrantPsychotronica13
Registered: June 23, 2007
Posts: 5
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I think you're confusing XML with ASP.  You'd need something like this:

<Collection>
<CollectionType>Blu-ray</CollectionType>
<TypeOwned>True</TypeOwned>
<MovieList>
<Moviename>Blah</MovieName>
<MovieYear>2010</MovieYear
</MovieList>
</Collection>

<Collection>
<CollectionType>HD-DVD</CollectionType>
<TypeOwned>False</TypeOwned>
<MovieList>
</MovieList>
</Collection>
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,744
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Psychotronica13:
Quote:
I think you're confusing XML with ASP.  You'd need something like this


That'd work, too. But XML is very well capable of having Attributes in its Tags.

Ken even uses it in the cast & crew section as well as in the purchase info...
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Been thinking about this since I saw your posts. I agree with you both. Actually we need even more, such that DP_Vars and XML are very nearly equal in content. I think "Include In Owned" is a property of the Custom Collection, and need not be present within the DVD element.

For example:

<Collection>
  <SystemInfo> ... </SystemInfo>
  <CustomCollections><Custom0> ... </Custom0> ... </CustomCollections>
  <DVD> ... </DVD>
    ...
  <DVD> ... </DVD>
</Collection>

Perhaps one of us should make a simple little plugin "XMLPlus" to experiment with some formats, and maybe Ken will appreciate the ideas for the future? By the way, it has to be a format that does not break existing parsers. That's possible, right?
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
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
I like the cut of your jib, mediadogg.

A "disadvantage" of the attribute mechanism is the data replication: the information about the custom collection occurs in every profile (well, every profile in the custom collection), so the owned=true happens many times, and what to do if they don't all agree? I think this is cleaner.

we also need information about custom media types, and banners (also custom banners for builtin media types) if the XML is to completely describe the collection. I've likely overlooked something.
-fred
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting FredLooks:
Quote:
I like the cut of your jib, mediadogg.
Ha! Thanks. I've got "XMLPlus" penciled in unless DJ (or somebody else) wants to do it.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next