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 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
Old 08-10-2011, 01:29 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by pabloaldama View Post
I am building a recipe for alma magazine. I wanted to put two feeds under the same section
What do you mean by two feeds under the same section? Do you mean that you want the articles from two feeds to be listed under the heading for one feed, not as two separate feeds?

The code here can be modified to do that.
Starson17 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there possible to merge different recipe into one ? xXxXxXxXxXx Recipes 4 05-19-2011 12:27 PM
Just What Does Merge Do? Pinecone Library Management 5 01-29-2011 06:43 AM
What does Merge Books do? Pinecone Library Management 2 01-23-2011 09:23 PM
What exactly does merge do? bigpallooka Calibre 15 11-24-2010 06:58 PM
Merge feature request (different merge) Tarran Calibre 1 05-24-2010 10:57 AM


All times are GMT -4. The time now is 03:17 AM.


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