View Single Post
Old 08-10-2011, 01:00 PM   #1
pabloaldama
Junior Member
pabloaldama began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: kindle 3
How to merge feeds.

I am building a recipe for alma magazine. I wanted to put two feeds under the same section, I thought maybe separating with comma like posted on the thread combining feeds, it does not work. I get a working recipe if each section has one feed. any suggestiuons?

Code:
class AdvancedUserRecipe1312993169(BasicNewsRecipe):
    title          = u'AlMA MAGAZINE'
    oldest_article = 7
    max_articles_per_feed = 100

    feeds          = [(u'Mundo', u'http://www.almamagazine.com/rss/entradas-el-mundo.xml', u'http://www.almamagazine.com/rss/opinion-el-mundo.xml'), (u'Tecnologia y negocios', u'http://www.almamagazine.com/rss/entradas-tecnologia-y-negocios.xml', u'http://www.almamagazine.com/rss/opinion-tecnologia-y-negocios.xml'), (u'Arte y cultura', u'http://www.almamagazine.com/rss/entradas-arte-y-cultura.xml', u'http://www.almamagazine.com/rss/opinion-arte-y-cultura.xml'), (u'Estilo de vida', u'http://www.almamagazine.com/rss/entradas-estilo-de-vida.xml', u'http://www.almamagazine.com/rss/opinion-estilo-de-vida.xml'), (u'Cronicas', u'http://www.almamagazine.com/rss/entradas-cronicas.xml', u'http://www.almamagazine.com/rss/opinion-cronicas.xml'), (u'Desalmados', u'http://www.almamagazine.com/rss/desalmados-todos.xml')]
pabloaldama is offline   Reply With Quote