From 26ab6586ae6527a7c254a20686d3e54f12e066ae Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 Sep 2011 13:34:31 -0600 Subject: [PATCH] China Post by Krittika Goyal --- recipes/china_post.recipe | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes/china_post.recipe diff --git a/recipes/china_post.recipe b/recipes/china_post.recipe new file mode 100644 index 0000000000..fb721ded14 --- /dev/null +++ b/recipes/china_post.recipe @@ -0,0 +1,29 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class CP(BasicNewsRecipe): + title = u'China Post' + language = 'en_CN' + __author__ = 'Krittika Goyal' + oldest_article = 1 #days + max_articles_per_feed = 25 + use_embedded_content = False + + no_stylesheets = True + auto_cleanup = True + + feeds = [ +('Top Stories', + 'http://www.chinapost.com.tw/rss/front.xml'), +('Taiwan', + 'http://www.chinapost.com.tw/rss/taiwan.xml'), +('China', + 'http://www.chinapost.com.tw/rss/china.xml'), +('Business', + 'http://www.chinapost.com.tw/rss/business.xml'), +('World', + 'http://www.chinapost.com.tw/rss/international.xml'), +('Sports', + 'http://www.chinapost.com.tw/rss/sports.xml'), +] + +