Quote:
Originally Posted by N13L5
|
wired is in the built in recipes in calibre already both the daily edition, the magazine and the uk version

and here is globalproperty
Spoiler:
Code:
from calibre.web.feeds.news import BasicNewsRecipe
class GlobalProperty(BasicNewsRecipe):
title = 'Global Property Guide'
language = 'en'
__author__ = 'TonytheBookworm'
description = 'This is a site for residential property investors who want to buy houses or apartments in other countries'
publisher = 'GlobalPropertyGuide.com'
category = 'prices,real-estate'
oldest_article = 10
max_articles_per_feed = 100
no_stylesheets = True
extra_css = '''
h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
'''
keep_only_tags = [
dict(name='div', attrs={'class':['cd_mainbody']})
]
remove_tags = [
dict(name='div', attrs={'class':['addthis_toolbox addthis_default_style']}),
]
feeds = [
('Main Feed', 'http://www.globalpropertyguide.com/rss'),
]