Invelos Forums->DVD Profiler: Desktop Feature Requests |
Page:
1 Previous Next
|
XML Export: CollectionType |
|
|
|
Author |
Message |
Registered: March 14, 2007 | Reputation: | Posts: 6,744 |
| Posted: | | | | 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
|
| Registered: June 23, 2007 | Posts: 5 |
| Posted: | | | | 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> |
| Registered: March 14, 2007 | Reputation: | Posts: 6,744 |
| Posted: | | | | 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
|
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | 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 |
| Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | 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 |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | 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
|
|