I am working with a Yahoo store owner trying to submit inventory as a data feed; I can grab the data from the website in the form of an XML file by using a Yahoo store convention of: http://site.com/objinfo.xml, but that has too much information that I don't need in the product feed. I am trying to turn this XML file into a RSS 2.0 format with only specific fields from the XML file.

Would it be better to use a script to populate the file or a specific program?

link|improve this question

feedback

1 Answer

up vote 0 down vote accepted

I'd write an XSLT stylesheet to convert it, then use either an XSLT library for a programming language or a tool such as xsltproc to process it.

link|improve this answer
cool, so the XSLT stylesheet is like the template for the product file, in this case RSS? and i will process the xml file with the XSLT template through a language with appropriate library or use a tool? – bboyreason Feb 8 '11 at 2:09
That is the essentials of it, yes. – Ignacio Vazquez-Abrams Feb 8 '11 at 2:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.