|12-31-2012, 10:32 AM||#1|
Join Date: Feb 2010
New York Times - adding most emailed?
Is there a way to add the most emailed section to the recipe? It is included in the purchased electronic edition of the newspaper and I find it interesting.
Thanks to all of you who support this and other recipes!
|12-31-2012, 06:03 PM||#2|
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
I have revised the standard recipe (attached) to include both "Most E-Mailed" and "Most Viewed" as separate sections by default. You can suppress these two sections by customizing the recipe with getPopularArticles=False.
The NYT gives you the 20 most e-mailed/viewed. The recipe won't necessarily give you all of them because articles with "video" or "interactive" or similar are omitted (since they result in empty articles).
If you are really picky you can change the interval over which popularity is measured (by default it's over the last 24 hours). If you set popularPeriod = '7' it will select the most e-mailed/viewed over the last week. Likewise popularPeriod = '30' measures over a month. You still won't get more than 20 articles, just possibly different ones depending on the time interval that popularity is measured over.
I have also improved the recipe to not follow links to NYT index pages when recursions=1 (and you are getting related articles and inline links to other NYT articles). This speeds up the recipe quite a bit, especially on Sunday when Today's Paper is quite large.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Which New York Times recipe?||jdomingos76||Recipes||1||03-25-2011 09:40 PM|
|New York Times Error in .6.23||geneaber||Calibre||0||11-14-2009 01:27 PM|
|New York Times review: K2||akira28||Amazon Kindle||32||02-28-2009 03:23 PM|
|New York times about Kindle 2||Kris777||News||12||02-18-2009 09:51 AM|
|New York Times on 505||Hamza||Sony Reader||21||03-03-2008 01:55 PM|