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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-03-2011, 12:44 PM   #1
pabloaldama
Junior Member
pabloaldama began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: kindle 3
Recipe for cartacapital

Here it goes:

Code:
class AdvancedUserRecipe1312361378(BasicNewsRecipe):
    title          = u'Carta capital'
    oldest_article = 9
    max_articles_per_feed = 100

    feeds          = [(u'Politica', u'http://www.cartacapital.com.br/category/politica/feed')
                      ,(u'Economia', u'http://www.cartacapital.com.br/category/economia/feed')
                      ,(u'Cultura', u'http://www.cartacapital.com.br/category/cultura/feed')
                      ,(u'Internacional', u'http://www.cartacapital.com.br/category/internacional/feed')
                      ,(u'Saude', u'http://www.cartacapital.com.br/category/saude/feed')
                      ,(u'Sociedade', u'http://www.cartacapital.com.br/category/sociedade/feed')
                      ,(u'Tecnologia', u'http://www.cartacapital.com.br/category/tecnologia/feed')
                      ,(u'Carta na escola', u'http://www.cartacapital.com.br/category/carta-na-escola/feed')
                      ,(u'Carta fundamental', u'http://www.cartacapital.com.br/category/carta-fundamental/feed')
                      ,(u'Carta verde', u'http://www.cartacapital.com.br/category/carta-verde/feed')

]
    def print_version(self, url):
        return url + '/print'
pabloaldama 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
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
Need Help with Recipe UtahJames Recipes 1 04-12-2011 09:50 AM
New Recipe UtahJames Recipes 1 04-11-2011 04:15 PM
recipe please Torx Recipes 0 01-22-2011 12:18 PM
New recipe kiklop74 Recipes 0 10-05-2010 04:41 PM


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


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