Missing data from RSS feeds

I would like to build an app using the rss feeds, but I cannot find the start date or coupon code in the feed information.

This deal is tag as starting tomorrow on the website but I cannot find a start date, only the expiry date and publish date are present:

<item>
 <title>1/2 Price Lucky Almond Meal 400g - $5.25 Each, 1/2 Price Ocean Chef South Atlantic Raw Prawns 500g - $10 Each @ Woolworths</title>
 <link>https://www.ozbargain.com.au/node/485386</link>
 <description><![CDATA[<div style="float:right;margin:0 0 1ex 1ex"><a href="/node/485386" rel="noopener nofollow" title="Link:     https://www.woolworths.com.au/shop/productdetails/589731/"><… src="https://files.ozbargain.com.au/n/86/485386.jpg?h=afba8d88" alt="1/2 Price Lucky Almond Meal     400g - $5.25 Each, 1/2 Price Ocean Chef South Atlantic Raw Prawns 500g - $10 Each @ Woolworths"/></a></div><p>Some good deals at Woolworths. Spl Attention : people         on Keto.</p>

<p>1/2 price <a href="https://www.woolworths.com.au/shop/catalogue#view=catalogue2&amp;saleId=29605&amp;areaName=QLD&amp;page=15" class="external inline"     rel="noopener nofollow">Almond meal</a></p>

<p>1/2 price <a href="https://www.woolworths.com.au/shop/catalogue#view=catalogue2&amp;saleId=29605&amp;areaName=QLD&amp;page=23" class="external inline"     rel="noopener nofollow">Ocean Chef Prawns</a></p>
]]></description>
 <comments>https://www.ozbargain.com.au/node/485386#comment</comments>
 <category domain="https://www.ozbargain.com.au/cat/groceries">Groceries</category>
 <ozb:meta comment-count="27" link="https://www.ozbargain.com.au/goto/485386" click-count="1444" expiry="2019-10-02T00:00:00+10:00" votes-pos="54" votes-neg="0" url="https://www.woolworths.com.au/shop/productdetails/589731/" image="https://files.ozbargain.com.au/n/86/485386l.jpg?h=afba8d88" />
 <media:thumbnail url="https://files.ozbargain.com.au/n/86/485386l.jpg?h=afba8d88" />
 <pubDate>Tue, 24 Sep 2019 09:15:20 +1000</pubDate>
 <dc:creator>GSJohn</dc:creator>
 <guid isPermaLink="false">485386 at https://www.ozbargain.com.au</guid>
</item>

On this deal the coupon code is listed as "PMYSTORE" on the website, but not here:

<item>
 <title>Levi&#039;s 516 Straight Fit Jeans $55.20 Delivered @ Myer eBay</title>
 <link>https://www.ozbargain.com.au/node/485486</link>
 <description><![CDATA[<div style="float:right;margin:0 0 1ex 1ex"><a href="/node/485486" rel="noopener nofollow" title="Link: https://www.ebay.com.au/itm/Levis-174-516-8482-Straight-Fit-… src="https://files.ozbargain.com.au/n/86/485486.jpg?h=352ec5ec" alt="Levi&#039;s 516 Straight Fit Jeans $55.20 Delivered @ Myer eBay"/></a></div><p>$45     if use ebay gift card bought from <a href="/node/484845" class="internal inline">here</a>.<br />
<a href="https://www.ebay.com.au/itm/Levis-174-511-8482-Slim-Fit-Dk-Stonewash/232987983764?ssPageName=STRK%3AMEBIDX%3AIT&amp;var=532504031875&amp;_trksid=p2057872.m2749.l2649" class="external inline" rel="noopener nofollow">Levi&#039;s 511 Slim Fit</a>.<br />
<a href="/node/484094" class="internal inline">Original Coupon Deal</a></p>
]]></description>
 <comments>https://www.ozbargain.com.au/node/485486#comment</comments>
 <category domain="https://www.ozbargain.com.au/cat/fashion-apparel">Fashion &amp;amp; Apparel</category>
 <category domain="https://www.ozbargain.com.au/tag/clothing">Clothing</category>
 <category domain="https://www.ozbargain.com.au/tag/jeans">Jeans</category>
 <category domain="https://www.ozbargain.com.au/brand/levi-s">Levi&amp;#039;s</category>
 <category domain="https://www.ozbargain.com.au/tag/men-s-clothing">Men&amp;#039;s Clothing</category>
 <ozb:meta comment-count="22" link="https://www.ozbargain.com.au/goto/485486" click-count="2364" expiry="2019-09-26T00:00:00+10:00" votes-pos="32" votes-neg="0" url="https://www.ebay.com.au/itm/Levis-174-516-8482-Straight-Fit-Jeans/232529375771?_trksid=p2057872.m2749.l2649&amp;ssPageName=STRK%3AMEBIDX%3AIT&amp;var=531868657550" image="https://files.ozbargain.com.au/n/86/485486l.jpg?h=352ec5ec" />
 <media:thumbnail url="https://files.ozbargain.com.au/n/86/485486l.jpg?h=352ec5ec" />
 <pubDate>Tue, 24 Sep 2019 15:48:12 +1000</pubDate>
 <dc:creator>jim518</dc:creator>
 <guid isPermaLink="false">485486 at https://www.ozbargain.com.au</guid>
</item>

Comments

  • We can add those to the <ozb:meta/> tag as attributes.

  • That would be great, thanks. Targeted and out of stock also need to be added, as well as user tags such as associated, store rep, L and P plates.

    One thing I find confusing about all of this is when I go check out existing apps on the play store they have this information, so where are they getting it from?

    • Likely from scraping the site?

  • I really prefer not to screen scrape, if you could add start date and coupon code as well as maybe targeted, out of stock, associated and store rep to <ozb:meta/> I would be very happy.

    Whatever you are willing to add, thanks in advance.

  • I have just noticed that the feeds only allow you to grab the first page of results. Looks like I am going to have to screen scrape. :(

Login or Join to leave a comment