Hello,
Would someone be kind enough to figure out why this recipe wouldn't work for the following feeds:
http://sundaytimes.lk/RSS/RSSIndex.html
========== Recipe =============
class SundayTimes(BasicNewsRecipe):
cover_url = 'http://www.johnsilva.ca/covers/stimescov.jpg'
title = u'Sunday Times'
author = 'News Articles'
oldest_article = 10
max_articles_per_feed = 100
timefmt = ' [%Y, %m %d, %a]'
pubisher = 'Sunday Times'
description = 'Sunday News'
category = 'News, Sri Lanka'
remove_javascript = True
use_embedded_content = False
no_stylesheets = True
language = 'en_CA'
encoding = 'utf-8'
conversion_options = {'linearize_tables':True}
feeds = [
(u'News', u'http://sundaytimes.lk/RSS/news.xml'),
(u'Plus', u'http://sundaytimes.lk/RSS/plus.xml'),
(u'Magazine', u'http://sundaytimes.lk/RSS/magazine.xml')
]
keep_only_tags = [
dict(name='div', attrs={'id':'article'}),
]
remove_tags = [
dict(name='div', attrs={'id':'commentsBottom'}),
dict(name='div', attrs={'class':['leftBox','bottomBox clear']}),
dict(name='ul', attrs={'class':'tabs dl contentSwap'}),
]
remove_tags_after = [
dict(name='div', attrs={'class':'bottomBox clear'}),
]
===== End Recipe =======
Thanks..