|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() Posts: 153
Karma: 364
Join Date: Oct 2009
Location: Sweden
Device: Amazon Kindle 2 Intl
|
Updated recipe for swedish newspaper Corren
Code:
__license__ = 'GPLv3'
class AdvancedUserRecipe1311446032(BasicNewsRecipe):
title = 'Corren'
__author__ = 'Jonas Svensson'
description = 'News from Sweden'
publisher = 'Corren'
category = 'news, politics, Sweden'
oldest_article = 2
delay = 1
max_articles_per_feed = 100
no_stylesheets = True
use_embedded_content = False
encoding = 'iso-8859-1'
language = 'sv'
feeds = [
(u'Toppnyheter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122151&ripurl=http://www.corren.se/nyheter/')
,(u'Ekonomi', u'http://www.corren.se/inc/RssHandler.ashx?id=4122176&ripurl=http://www.corren.se/ekonomi/')
,(u'Link\xf6ping', u'http://www.corren.se/inc/RssHandler.ashx?id=4122234')
,(u'Åsikter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122223,4122224,4122226,4122227,4122228,4122229,4122230')
]
keep_only_tags = [dict(name='div', attrs={'id':'article'}),dict(name='div', attrs={'class':'body'})]
remove_tags = [
dict(name='ul',attrs={'class':'functions'})
,dict(name='a',attrs={'href':'javascript*'})
,dict(name='div',attrs={'class':'box'})
,dict(name='div',attrs={'class':'functionsbottom'})
]
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IDG.se - Recipe for swedish news site | khromov | Recipes | 3 | 09-18-2011 09:40 PM |
| Swedish Dagens Nyheter newspaper receipe not working... | meehrcat | Recipes | 1 | 05-15-2011 12:40 PM |
| Request:Recipe for malayalam newspaper | onenest | Recipes | 0 | 04-29-2011 05:32 AM |
| Adding recipe for Tamil Newspaper | anthiyag | Recipes | 1 | 04-08-2011 03:18 PM |
| using custom font for newspaper recipe | mufc | Recipes | 4 | 03-04-2011 10:10 AM |