Copy link to clipboard
Copied
I would appreciate some help with generating rss feed for Google Merchant. I am trying to use cffeed to generate the xml file which I am good with. The issue is formatting it to google's specifications and their namespace declaration (<g:price></g:rpice>) how to set a xml structure to include g: in front of the names?
Here is a sample of googe xml structure:
<?xml version="1.0"?>
<rss version="2.0"xmlns:g="http://base.google.com/ns/1.0"><channel>
<title>The name of your data feed</title>
<link>http://www.example.com</link>
<description>A description of your content</description>
<item>
<title>Red wool sweater</title>
<link> http://www.example.com/item1-info-page.html</link>
<description>Comfortable and soft, this sweater will keep you warm on those cold winter nights.</description><g:image_link>http://www.example.com/image1.jpg</g:image_link></item>
<g:price>25</g:price>
<g:condition>new</g:condition>
<g:id>1a</g:id>
</channel>
</rss>
Copy link to clipboard
Copied
Anyone?
Copy link to clipboard
Copied
I had a google around, and as far as I can tell it cannot be done with <cffeed> (*). Just use <cfxml> instead, I reckon.
And maybe raise an issue with Adobe: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html. If you do so, and post the bug ref back here, I'll vote for it too 🙂
--
Adam
(*) http://www.coldfusionjedi.com/index.cfm/2008/4/23/Ask-a-Jedi-Handling-RSS-feeds-with-custom-data. Ray's pretty clued up about these things, so I'd take his word for it.