Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2008, 10:40 PM   #1
GatorDeb
Evangelist
GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!
 
Posts: 447
Karma: 5365
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
Post your user-created recipe here!

I've found the easiest way to get the script is to go to the custom feed editor and go to advanced view and just copy and paste it. I've done two.

The Daily Kos:

class AdvancedUserRecipe1221672989(BasicNewsRecipe):
title = u'The Daily Kos'
oldest_article = 2
max_articles_per_feed = 100

feeds = [(u'Main Feeds', u'http://feeds.dailykos.com/dailykos/index.xml'), (u'Diaries', u'http://www.dailykos.com/rss1/Diary.rdf')]


And The New York Times. I added 64 of 65 feeds available (the daily knowledge one is through feedburner.com and is not supported through Calibre). It's big and unwieldly so I would suggest taking off as many feeds as you can and are not interested in when adding it




class AdvancedUserRecipe1221673018(BasicNewsRecipe):
title = u'The New York Times'
oldest_article = 1
max_articles_per_feed = 100

feeds = [(u'Main Page', u'http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml'), (u'Business', u'http://www.nytimes.com/services/xml/rss/nyt/Business.xml'), (u'Business - Media & Advertising', u'http://www.nytimes.com/services/xml/rss/nyt/MediaandAdvertising.xml'), (u'Business - World Business', u'http://www.nytimes.com/services/xml/rss/nyt/WorldBusiness.xml'), (u'Business - Small Business', u'http://www.nytimes.com/services/xml/rss/nyt/SmallBusiness.xml'), (u'Business - Your Money', u'http://www.nytimes.com/services/xml/rss/nyt/YourMoney.xml'), (u'Business - DealBook', u'http://dealbook.blogs.nytimes.com/rss2.xml'), (u'Education', u'http://www.nytimes.com/services/xml/rss/nyt/Education.xml'), (u'Health', u'http://www.nytimes.com/services/xml/rss/nyt/Health.xml'), (u'Health - Research', u'http://www.nytimes.com/services/xml/rss/nyt/Research.xml'), (u'Health - Fitness & Nutrition', u'http://www.nytimes.com/services/xml/rss/nyt/Nutrition.xml'), (u'Health - Money & Policy', u'http://www.nytimes.com/services/xml/rss/nyt/HealthCarePolicy.xml'), (u'World', u'http://www.nytimes.com/services/xml/rss/nyt/World.xml'), (u'World - Africa News', u'http://www.nytimes.com/services/xml/rss/nyt/Africa.xml'), (u'World - Americas News', u'http://www.nytimes.com/services/xml/rss/nyt/Americas.xml'), (u'World - Asia News', u'http://www.nytimes.com/services/xml/rss/nyt/AsiaPacific.xml'), (u'World - Europe News', u'http://www.nytimes.com/services/xml/rss/nyt/Europe.xml'), (u'World - Middle East News', u'http://www.nytimes.com/services/xml/rss/nyt/MiddleEast.xml'), (u'U.S.', u'http://www.nytimes.com/services/xml/rss/nyt/US.xml'), (u'New York / Region', u'http://www.nytimes.com/services/xml/rss/nyt/NYRegion.xml'), (u'New York / Region - The City', u'http://www.nytimes.com/services/xml/rss/nyt/TheCity.xml'), (u'Obituaries', u'http://www.nytimes.com/services/xml/rss/nyt/Obituaries.xml'), (u'Science', u'http://www.nytimes.com/services/xml/rss/nyt/Science.xml'), (u'Science - Environment', u'http://www.nytimes.com/services/xml/rss/nyt/Environment.xml'), (u'Science - Space & Cosmos', u'http://www.nytimes.com/services/xml/rss/nyt/Space.xml'), (u'Sports', u'http://www.nytimes.com/services/xml/rss/nyt/Sports.xml'), (u'Sports - College Basketball', u'http://www.nytimes.com/services/xml/rss/nyt/CollegeBasketball.xml'), (u'Sports - College Football', u'http://www.nytimes.com/services/xml/rss/nyt/CollegeFootball.xml'), (u'Sports - Golf', u'http://www.nytimes.com/services/xml/rss/nyt/Golf.xml'), (u'Sports - Hockey', u'http://www.nytimes.com/services/xml/rss/nyt/Hockey.xml'), (u'Sports - Other Sports', u'http://www.nytimes.com/services/xml/rss/nyt/OtherSports.xml'), (u'Sports - Pro Baseball', u'http://www.nytimes.com/services/xml/rss/nyt/Baseball.xml'), (u'Sports - Pro Basketball', u'http://www.nytimes.com/services/xml/rss/nyt/ProBasketball.xml'), (u'Sports - Soccer', u'http://www.nytimes.com/services/xml/rss/nyt/Soccer.xml'), (u'Sports - Pro Football', u'http://www.nytimes.com/services/xml/rss/nyt/ProFootball.xml'), (u'Technology', u'http://www.nytimes.com/services/xml/rss/nyt/Technology.xml'), (u'Technology - Bits', u'http://bits.blogs.nytimes.com/rss2.xml'), (u'Technology - Personal Tech', u'http://www.nytimes.com/services/xml/rss/nyt/PersonalTech.xml'), (u"Technology - Pogue's Posts", u'http://pogue.blogs.nytimes.com/?feed=rss2'), (u'Washington', u'http://www.nytimes.com/services/xml/rss/nyt/Washington.xml'), (u'Arts', u'http://www.nytimes.com/services/xml/rss/nyt/Arts.xml'), (u'Arts - Design', u'http://www.nytimes.com/services/xml/rss/nyt/ArtandDesign.xml'), (u'Arts - Music', u'http://www.nytimes.com/services/xml/rss/nyt/Music.xml'), (u'Arts - Television News', u'http://www.nytimes.com/services/xml/rss/nyt/Television.xml'), (u'Automobiles', u'http://www.nytimes.com/services/xml/rss/nyt/Automobiles.xml'), (u'Books', u'http://www.nytimes.com/services/xml/rss/nyt/Books.xml'), (u'Book Review', u'http://www.nytimes.com/services/xml/rss/nyt/SundayBookReview.xml'), (u'Dining & Wine', u'http://www.nytimes.com/services/xml/rss/nyt/DiningandWine.xml'), (u'Fashion & Style', u'http://www.nytimes.com/services/xml/rss/nyt/FashionandStyle.xml'), (u'Fashion & Style - Thursday Styles', u'http://www.nytimes.com/services/xml/rss/nyt/ThursdayStyles.xml'), (u'Fashion & Style - Weddings', u'http://www.nytimes.com/services/xml/rss/nyt/Weddings.xml'), (u'Home & Garden', u'http://www.nytimes.com/services/xml/rss/nyt/HomeandGarden.xml'), (u'Jobs', u'http://www.nytimes.com/services/xml/rss/nyt/JobMarket.xml'), (u'Magazine', u'http://www.nytimes.com/services/xml/rss/nyt/Magazine.xml'), (u'Movie News', u'http://www.nytimes.com/services/xml/rss/nyt/MovieNews.xml'), (u'Movie Reviews', u'http://www.nytimes.com/services/xml/rss/nyt/Movies.xml'), (u'Real Estate', u'http://www.nytimes.com/services/xml/rss/nyt/RealEstate.xml'), (u'Theater', u'http://www.nytimes.com/services/xml/rss/nyt/Theater.xml'), (u'Travel', u'http://www.nytimes.com/services/xml/rss/nyt/Travel.xml'), (u'Travel - Escapes', u'http://www.nytimes.com/services/xml/rss/nyt/Escapes.xml'), (u'Week In Review', u'http://www.nytimes.com/services/xml/rss/nyt/WeekinReview.xml'), (u'Most E-mailed Articles', u'http://www.nytimes.com/services/xml/rss/nyt/pop_top.xml'), (u'Multimedia', u'http://www.nytimes.com/services/xml/rss/nyt/Multimedia.xml'), (u'Editorials / Op-Ed', u'http://www.nytimes.com/services/xml/rss/nyt/Opinion.xml')]
GatorDeb is offline   Reply With Quote
Old 09-18-2008, 07:30 AM   #2
Mitchll
Cave Dweller
Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.
 
Mitchll's Avatar
 
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
Thanks for the expanded NY Times!
Mitchll is offline   Reply With Quote
Old 06-13-2009, 01:26 PM   #3
deavod
Junior Member
deavod began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2009
Device: PRS 505
GatorDeb --

The Daily Kos recipe works way better than I thought it would. Better than my RSS reader even. Thanks ton - now riding the train will be more interesting with the daily news and Daily Kos on the PRS-505
deavod is offline   Reply With Quote
Old 06-29-2009, 03:00 PM   #4
oski24601
Junior Member
oski24601 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2007
Device: Tablet pc
NYTimes recipe error

Hi,

When I tried creating the NYTimes recipe, it gave me an error:

"Could not create recipe. Error: expected an indented block (recipe12.py, line 6)


BTW, is the recipe supposed to pull down entire articles?

Thanks!
oski24601 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion: User created sub-folders for Tags, Authors, Etc. Daemon Calibre 0 08-23-2010 12:47 AM
Recipe Request - South China Morning Post mobilewilier Calibre 1 05-02-2010 11:42 PM
Recipe for Washington Post blog oski24601 Calibre 1 11-25-2009 05:22 PM
impserve: user-created plugins and requests.... nrapallo Fictionwise eBookwise 21 09-27-2008 09:40 AM
iLiad iRex opens the Iliad for User-created Apps CommanderROR iRex Developer's Corner 33 11-17-2006 04:25 PM


All times are GMT -4. The time now is 09:25 AM.


MobileRead.com is a privately owned, operated and funded community.