Skip to content

Instantly share code, notes, and snippets.

@davemorro
Forked from jonathanclarke/daily_deal_rss_feed
Created August 9, 2011 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davemorro/1133592 to your computer and use it in GitHub Desktop.
Save davemorro/1133592 to your computer and use it in GitHub Desktop.
Recommended Daily Deal RSS Feed
<?xml version="1.0" encoding="UTF-8" ?>
<deals>
<deal>
<title>A perfect daily deal feed for just $17.50</title>
<link>http://www.dailydealsite/deals/1</link>
<guid>http://www.dailydealsite/deals/1</guid>
<description><![CDATA[Set your daily deal site up for maximum distribution effectiveness. Many deal sites include HTML within the description however, we recommend you remove all formatting, enabling the aggregator to more easily integrate your information. If you do include HTML, be sure wrap the description in CDATA sequences.]]></description>
<highlights><![CDATA[Usually a list of the deal highlights. Like the description, you should wrap the highlights in CDATA sequences.]]></highlights>
<image>http://www.dailydealsite.com/images/image.jpg</image>
<price>17.50</price>
<value>41.00</value>
<savings>23.50</savings>
<discount>57.31</discount>
<opened_at>2011-08-05 07:00:00</opened_at>
<closed_at>2011-08-10 12:00:00</closed_at>
<num_bought>19</num_bought>
<sold_out>false</sold_out>
<currency_code>AUD</currency_code>
<merchant>Merchant Name</merchant>
<merchant_website>http://www.merchantname.com</merchant_website>
<locations>
<location>
<address>112 World Square, George St, 2000</address>
<phone_number>123456789</phone_number>
</location>
<location>
<address>110 King Street, Newtown, 2042</address>
<phone_number>123456789</phone_number>
</location>
</locations>
<city>Sydney</city>
<national>false</national>
<pubDate>2011-08-05 07:00:00</pubDate>
</deal>
<deal>
...
</deal>
</deals>
@davemorro
Copy link
Author

Removed company location tags in favour of location
Renamed company merchant
Added merchant_website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment