Tuesday, 31 July 2018

New filtered Zazzle rss feed tool, pin-for-pin compatible

Edit: See next post for one you can use for real

Yaay! Happy dance - I've got the pin-for-pin compatible filtered Zazzle rss feed working without resorting to YQL at all. I am using YQL to in the widget to actually get the feed but the feed itself doesn't use it.

As an example, here it is in use.

This is a Nifty live product grid widget using it. It's filtering out all product designs with any of lawyer, red or crimson in their titles.

⚠️ NB For now, the filtered feed is limited to 10 product designs, so it's ok for playing with but can't be used for live websites.




For now, there's no set-up mechanism for it, so what I did was to use the Nifty Control Panel to set up things initially, selecting in Step 2 to make a new nIFTTTy scheduler. Here's the important part from the scheduler set-up page:



You can see I've selected a part of feed - it's the part needed to get everything for the widget's feed thingy. The whole thing looks like thi (note the s:
https://niftytoolz.com/nifty-zfrss-feed.php?rf=238582202591969585&udf=true&trm1=lawyer&trm2=red&trm3=crimson&lttls=1&ldscs=&ltags=&t1s=5:00am&t2s=2:00pm&t3s=5:00pm&t4s=&t5s=&t6s=&t7s=&t8s=&t9s=&t10s=&t11s=&t12s=&dowc=127&uprn=1&cdt=1533067453&fdspc=https%3A%2F%2Ffeed.zazzle.com%2Fhightonridley%2Frss%3Fqs%3D%26st%3Dpopularity%26sd%3Ddesc%26ps%3D15%26pg%3D1%26dp%3D%26cg%3D%26at%3D238582202591969585%26bg%3Dffffff%26isz%3D500%26tc%3Dfltrdfeed_demo

And I've pasted it into the relevant part of the widget's html code as shown here, replacing what was put there by the Nifty Promo Control Panel when I generated the widget.

click to see larger



Don't worry if none of this makes any sense, I'll be changing the Nifty Promo Control Panel to do it all for you with a few clicks.

Edit to add: I also had to take out the tracking code that was being added by the widget, as that's now done within the feed mechanism.


No comments:

Post a Comment

Comment moderation is switched on. Please wait till I've had a chance to review your comment and publish it. Thanks!