Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2011, 08:13 PM   #1
harrington01
Junior Member
harrington01 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2011
Device: Sony
Please add recipe for WorldCrunch

WorldCrunch is a conglomeration of news sources translated into English.


Here's the main site:
http://www.worldcrunch.com/

And the RSS feed:
http://www.worldcrunch.com/rss.xml

If I just add the RSS feed as a Custom Recipe, it gives me the title and the leader, but have to access the website for the actual article.

I would appreciate it greatly if someone could put a Custom Recipe together!
harrington01 is offline   Reply With Quote
Old 06-16-2011, 11:47 PM   #2
sexymax15
Enthusiast
sexymax15 began at the beginning.
 
sexymax15's Avatar
 
Posts: 30
Karma: 12
Join Date: Jun 2011
Location: India
Device: Kindle 3g
Quote:
Originally Posted by harrington01 View Post
WorldCrunch is a conglomeration of news sources translated into English.


Here's the main site:
http://www.worldcrunch.com/

And the RSS feed:
http://www.worldcrunch.com/rss.xml

If I just add the RSS feed as a Custom Recipe, it gives me the title and the leader, but have to access the website for the actual article.

I would appreciate it greatly if someone could put a Custom Recipe together!
Here's the recipe.It fetches full articles. But i found out that this site provides only headings and some summary in english and the full articles are in some other European languages. Farcical

Quote:
class AdvancedUserRecipe1308279149(BasicNewsRecipe):
title = u'World Crunch'
oldest_article = 15
language = 'en'

max_articles_per_feed = 25

feeds = [(u'WorldCrunch', u'http://www.worldcrunch.com/rss.xml')]
def print_version(self, url):
return url + 'javascript:window.print();'
Screenshot of the Feed





Screenshot of the recipe
















Attached Files
File Type: zip World Crunch_1114.zip (370 Bytes, 192 views)
sexymax15 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
How do you add a favicon to a recipe? rylsfan Recipes 3 02-28-2011 09:25 AM
spiegelde.recipe: add cover miwie Recipes 0 11-20-2010 08:58 AM
How to add my own html page to recipe naisren Recipes 3 11-17-2010 04:37 PM
Should we add a new one? Suzannec Which one should I buy? 1 09-11-2009 10:08 AM


All times are GMT -4. The time now is 02:35 PM.


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