mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class JakartaGlobe(BasicNewsRecipe):
|
|
title = u'Jakarta Globe'
|
|
oldest_article = 3
|
|
max_articles_per_feed = 100
|
|
|
|
feeds = [
|
|
(u'News', u'http://www.thejakartaglobe.com/pages/getrss/getrss-news.php'),
|
|
(u'Business', u'http://www.thejakartaglobe.com/pages/getrss/getrss-business.php'),
|
|
(u'Technology', u'http://www.thejakartaglobe.com/pages/getrss/getrss-tech.php'),
|
|
(u'My Jakarta', u'http://www.thejakartaglobe.com/pages/getrss/getrss-myjakarta.php'),
|
|
(u'International', u'http://www.thejakartaglobe.com/pages/getrss/getrss-international.php'),
|
|
(u'Life and Times', u'http://www.thejakartaglobe.com/pages/getrss/getrss-lifeandtimes.php'),
|
|
]
|
|
__author__ = 'rty'
|
|
pubisher = 'JakartaGlobe.com'
|
|
description = 'JakartaGlobe, Indonesia, Newspaper'
|
|
category = 'News, Indonesia'
|
|
|
|
|
|
remove_javascript = True
|
|
use_embedded_content = False
|
|
no_stylesheets = True
|
|
language = 'en_ID'
|
|
encoding = 'utf-8'
|
|
conversion_options = {'linearize_tables':True}
|
|
masthead_url = 'http://www.thejakartaglobe.com/pages/2010/images/jak-globe-logo.jpg'
|
|
keep_only_tags = [
|
|
dict(name='div', attrs={'class':'story'}),
|
|
dict(name='span', attrs={'class':'headline'}),
|
|
dict(name='div', attrs={'class':'story'}),
|
|
dict(name='p', attrs={'id':'bodytext'})
|
|
]
|