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-20-2012, 08:33 AM   #1
champrock
Junior Member
champrock began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2012
Device: Kindle
Trying to combine BusinessStandard and Livemint

Hi

I am trying to combine the recipes of BusinessStandard and LiveMint in order to get a combined book daily.

I am only getting the first paragraph from the feeds and the complete text is being truncated. Can you please suggest where I might be going wrong?

Here is what I am doing:

Code:
__license__   = 'GPL v3'
__copyright__ = '...'
'''
www.business-standard.com and livemint.com
'''

from calibre.web.feeds.recipes import BasicNewsRecipe

class Combined_LM_BS(BasicNewsRecipe):
    title                  = 'Mint and Business Standard'
    __author__             = 'Mint and Business Standard'
    description            = "Combination of Mint and Business Standard"
    oldest_article         = 1
    max_articles_per_feed  = 100
    no_stylesheets         = True
	
    auto_cleanup           = True
    language               = 'en_IN'
	
    use_embedded_content = True

    feeds = [						
				('Mint: Latest News','http://www.livemint.com/SectionRssfeed.aspx?LN=Latestnews'),
				('Mint: Gallery','http://www.livemint.com/GalleryRssfeed.aspx'),
				('Mint: Top Stories','http://www.livemint.com/SectionRssfeed.aspx?ts=Topstories'),	
				('Mint [Economy]: Policy Tracker','http://www.livemint.com/SectionRssfeed.aspx?Id=56'),
				('Mint [Economy]: Political Economy','http://www.livemint.com/SectionRssfeed.aspx?Id=57'),
				('Mint [Economy]: Agriculture','http://www.livemint.com/SectionRssfeed.aspx?Id=58'),
				('Mint [Economy]: Human Development','http://www.livemint.com/SectionRssfeed.aspx?Id=59'),
				('Mint [Economy]: Indicators','http://www.livemint.com/SectionRssfeed.aspx?Id=60'),
				('Mint [Economy]: Infrastructure','http://www.livemint.com/SectionRssfeed.aspx?Id=63'),
				('Mint [Intl]: Asia','http://www.livemint.com/SectionRssfeed.aspx?Id=41'),
				('Mint [Intl]: Europe','http://www.livemint.com/SectionRssfeed.aspx?Id=42'),
				('Mint [Intl]: North America','http://www.livemint.com/SectionRssfeed.aspx?Id=43'),
				('Mint [Intl]: Rest Of The World','http://www.livemint.com/SectionRssfeed.aspx?Id=44'),
				('Mint [Corp News]: Financial Results','http://www.livemint.com/SectionRssfeed.aspx?Id=18'),
				('Mint [Corp News]: MAs','http://www.livemint.com/SectionRssfeed.aspx?Id=19'),
				('Mint [Corp News]: World Business','http://www.livemint.com/SectionRssfeed.aspx?Id=20'),
				('Mint [Corp News]: Sector Spotlight','http://www.livemint.com/SectionRssfeed.aspx?Id=21'),
				('Mint [Reports]: Banking','http://www.livemint.com/SectionRssfeed.aspx?Id=104'),
				('Mint [Reports]: Technology','http://www.livemint.com/SectionRssfeed.aspx?Id=105'),
				('Mint [Tech]: Tech Life','http://www.livemint.com/SectionRssfeed.aspx?Id=33'),
				('Mint [Tech]: Tech News','http://www.livemint.com/SectionRssfeed.aspx?Id=34'),
				('Mint [General]: Health','http://www.livemint.com/SectionRssfeed.aspx?Id=28'),
				('Mint [General]: Workplace','http://www.livemint.com/SectionRssfeed.aspx?Id=114'),
				('Mint [General]: Body and Mind','http://www.livemint.com/SectionRssfeed.aspx?Id=116'),
				('Mint [General]: Technology for you','http://www.livemint.com/SectionRssfeed.aspx?Id=117'),
				('Mint [General]: Sports','http://www.livemint.com/SectionRssfeed.aspx?Id=119'),
				('Mint [General]: Leisure','http://www.livemint.com/SectionRssfeed.aspx?Id=120'),
				('Mint [Marketing and Media]: Advertising','http://www.livemint.com/SectionRssfeed.aspx?Id=36'),
				('Mint [Marketing and Media]: Entertainment','http://www.livemint.com/SectionRssfeed.aspx?Id=37'),
				('Mint [Marketing and Media]: Campaign','http://www.livemint.com/SectionRssfeed.aspx?Id=73'),
				('Mint [Marketing and Media]: Business Of Sports','http://www.livemint.com/SectionRssfeed.aspx?Id=74'),
				('BS [News Now]', 'http://feeds.business-standard.com/rss/online.xml'),
				('BS [Banking & Finance]', 'http://feeds.business-standard.com/rss/3_0.xml'),
				('BS [Companies & Industry]', 'http://feeds.business-standard.com/rss/2_0.xml'),
				('BS [Economy & Policy]', 'http://feeds.business-standard.com/rss/4_0.xml'),
				('BS [Tech World]', 'http://feeds.business-standard.com/rss/8_0.xml'),
				('BS [Life & Leisure]', 'http://feeds.business-standard.com/rss/6_0.xml'),
				('BS [Markets & Investing]', 'http://feeds.business-standard.com/rss/1_0.xml'),
				('BS [Management & Mktg]', 'http://feeds.business-standard.com/rss/7_0.xml'),
				('BS [Opinion]', 'http://feeds.business-standard.com/rss/5_0.xml'),
				('First Post', 'http://www.firstpost.com/feed')
            ]
champrock is offline   Reply With Quote
Old 08-20-2012, 08:41 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,940
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use_embedded_content = False
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmerge/Combine soctec Library Management 2 12-26-2011 05:01 AM
Trying to combine multiple libraries on new pc hydin Calibre 11 10-01-2010 03:59 PM
Combine two formats of the same ebook edgreenberg Calibre 7 09-17-2010 12:53 PM
Combine two libraries? whoever Calibre 4 08-25-2010 11:00 PM
Combine Books? pghaworth Calibre 4 08-13-2010 10:25 AM


All times are GMT -4. The time now is 04:46 PM.


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