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')
]