12-31-2012, 09:32 AM | #1 |
Connoisseur
Posts: 59
Karma: 4212
Join Date: Feb 2010
Device: Sony
|
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! Gianfranco |
12-31-2012, 05:03 PM | #2 |
onlinenewsreader.net
Posts: 324
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
|
Great idea!
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. |
Advert | |
|
01-01-2013, 09:55 AM | #3 |
Connoisseur
Posts: 59
Karma: 4212
Join Date: Feb 2010
Device: Sony
|
Thank you so much! This is why I love this community!!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which New York Times recipe? | jdomingos76 | Recipes | 1 | 03-25-2011 08:40 PM |
New York Times Error in .6.23 | geneaber | Calibre | 0 | 11-14-2009 12:27 PM |
New York Times review: K2 | akira28 | Amazon Kindle | 32 | 02-28-2009 02:23 PM |
New York times about Kindle 2 | Kris777 | News | 12 | 02-18-2009 08:51 AM |
New York Times on 505 | Hamza | Sony Reader | 21 | 03-03-2008 12:55 PM |