|10-22-2011, 05:24 PM||#1|
Join Date: Oct 2011
Device: Sony Reader PRS-T1
RSS feed with date in url
I would like to create a recipe with three RSS feeds taken from this site:
The recipe should get three feed lines of the sort:
where the date=xxxxxx is today. Possibly the recipe would get also the entries for seven days in a row.
How do I make the recipe change the date variable each time it downloads?
I went through the manual and didn't find a command for the date.
Update: I tried testing with a sample url and nothing was downloaded so it seems the question is not only of getting the date in but also how to recover the data from the link.
About the date I did a search for python date strings and tried this code here:
today = datetime.date.today()
td = str(today.year) + str(today.month) + str(today.day)
r1 = 'http://feed.evangelizo.org/reader.php?date=' + td + '&type=reading&lang=FR&content=FR'
title = u'Evangelizo'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
feeds = [(u'Reading', r1),(u'Psalm', u'http://feed.evangelizo.org/reader.php?date=20111023&type=reading&lang=FR&cont ent=PS'), (u'Gospel', u'http://feed.evangelizo.org/reader.php?date=20111023&type=reading&lang=FR&cont ent=GSP')]
Last edited by entodoays; 10-22-2011 at 05:59 PM. Reason: Update
|date, rss feed conversion, system information, variable|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Trying to strip the date from an article URL||Finbar127||Recipes||1||02-17-2011 04:02 PM|
|Simple download from rss url recipe||BloodOmen||Recipes||0||02-16-2011 10:21 PM|
|RSS Feed||timezone||Feedback||8||01-02-2010 07:55 PM|
|RSS Feed Prob...||AKninja04||Calibre||6||08-25-2008 08:51 PM|