Salve a tutti,
un mio parter pubblica quotidianamente una lista di prodotti in un file xml in questo formato:
<?xml version="1.0" encoding="utf-8" ?>
<ProductFeed>
<Info>
<Name>Partners Products</Name>
<Date>2009-08-17 03:04:48 GMT</Date>
</Info>
<Filters>
<Vendor></Vendor>
<Product></Product>
<Category></Category>
</Filters>
<Vendors>
<Vendor>
<Code>BOLIDESO</Code>
<Name>Bolide Software</Name>
<Homepage>
http://www.bolidesoft.com</Homepage>
<AffiliateVendorLink>
https://secure.avangate.com/affiliate.php?ACCOUNT=BOLIDESO&AFFILIATE=7113&PATH=http%3A%2F%2Fwww.bolidesoft.com</AffiliateVendorLink>
<Products>
<Product>
<ID>1743603</ID>
<Name>All My Books</Name>
<Version></Version>
<ShortDescription>Organize your collection of paper books into an electronic library. Add books easily without typing full details: All My Books gets information about the book from the Internet automatically. Track loaners and locate every book in just seconds.</ShortDescription>
<LongDescription>Is there a perfect electronic home library in existence? All My Books is close to becoming the perfect librarian. Organizing your bookshelves into a convenient library that is easy to browse and to search, All My Books is a library and the librarian in one tool. Group and browse your collection of books by title, author or publisher, or run a quick search by any field. You can even define your own fields to label the books, such as comments or memos, and search them later.
What use would be an electronic book organizer if you had to spend hours to catalogue your entire collection? All My Books does not ask you about every little detail about the book. Instead, it implements
a revolutionary way to create and organize your collection. No longer must you type information about every book by hand! Just enter the book's title or ISBN number from the back of the book, and All My
Books will retrieve the rest of the data automatically from the Internet.
Missing a book? You might have loaned it out a while ago, but can you remember who borrowed the book from you and when? All My Books tracks the books from your collection with the built-in loaner manager.
Giving a book away? Just put a quick note on who took it, and All My Books will record the date automatically. Even better, All My Books will remind you of that book when the time comes! With the loaner manager, you'll be able to stay tuned on who took your books and when. You will never lose a loaned book again.
Do you have your collection organized elsewhere? All My Books imports and exports book databases in Excel and CSV format, making data entry into and out of All My Books a snap.</LongDescription>
<Currency>EUR</Currency>
<Price>29.95</Price>
<CommissionType>PERCENT</CommissionType>
<Commission>20</Commission>
<AffiliateBuyLink>
https://secure.avangate.com/order/cart.php?PRODS=1743603&QTY=1&AFFILIATE=7113</AffiliateBuyLink>
<AffiliateTrialLink>
https://secure.avangate.com/affiliate.php?ACCOUNT=BOLIDESO&AFFILIATE=7113&PATH=http%3A%2F%2Fwww.bolidesoft.com%2Fsoftware%2Famb_setup.exe</AffiliateTrialLink>
<Thumbnail>
https://secure.avangate.com/images/merchant/11d0e6287202fced83f79975ec59a3a6/products/1_logo.png</Thumbnail>
<SmallThumbnail>
https://secure.avangate.com/images/merchant/11d0e6287202fced83f79975ec59a3a6/products/1_logo.png</SmallThumbnail>
<PADlink></PADlink>
<Category>
Home & Education :: Home Inventory
</Category>
<Platforms>
<Platform>Linux</Platform>
<Platform>Windows 7</Platform>
<Platform>Dos</Platform>
<Platform>Beos</Platform>
<Platform>PalmOS</Platform>
<Platform>BlackBerry</Platform>
</Platforms>
<Translations>
<Translation lang="en">
<ShortDescription>Organize your collection of paper books into an electronic library. Add books easily without typing full details: All My Books gets information about the book from the Internet automatically. Track loaners and locate every book in just seconds.</ShortDescription>
<LongDescription>Is there a perfect electronic home library in existence? All My Books is close to becoming the perfect librarian. Organizing your bookshelves into a convenient library that is easy to browse and to search, All My Books is a library and the librarian in one tool. Group and browse your collection of books by title, author or publisher, or run a quick search by any field. You can even define your own fields to label the books, such as comments or memos, and search them later.
What use would be an electronic book organizer if you had to spend hours to catalogue your entire collection? All My Books does not ask you about every little detail about the book. Instead, it implements
a revolutionary way to create and organize your collection. No longer must you type information about every book by hand! Just enter the book's title or ISBN number from the back of the book, and All My
Books will retrieve the rest of the data automatically from the Internet.
Missing a book? You might have loaned it out a while ago, but can you remember who borrowed the book from you and when? All My Books tracks the books from your collection with the built-in loaner manager.
Giving a book away? Just put a quick note on who took it, and All My Books will record the date automatically. Even better, All My Books will remind you of that book when the time comes! With the loaner manager, you'll be able to stay tuned on who took your books and when. You will never lose a loaned book again.
Do you have your collection organized elsewhere? All My Books imports and exports book databases in Excel and CSV format, making data entry into and out of All My Books a snap.</LongDescription>
</Translation>
</Translations>
<Promotions>
<Promotion>
<Title>Discount for Affiliates</Title>
<DiscountType>FIXED</DiscountType>
<Discount>2.995</Discount>
<Coupon>EB2E75E4</Coupon>
<AffiliatePromotionLink>
https://secure.avangate.com/order/cart.php?PRODS=1743603&QTY=1&AFFILIATE=7113&COUPON=EB2E75E4</AffiliatePromotionLink>
</Promotion>
</Promotions>
</Product>
</Products>
</Vendor>
</Vendors>
</ProductFeed>
Ovviamente non essendo un xml RSS type non è possibile visualizzarlo tramite rss parser .
Come si può fare per pubblicarlo così com'è oppure a trasformarlo velocemente in RSS?
Chiedo scusa per la mia ignoranza e ringrazio in anticipo chi mi potrà consigliare.
Gian