03-09-2011, 02:50 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Oakland North
Here is a recipe for Oakland North (oaklandnorth.net). Enjoy!
Code:
from calibre.web.feeds.news import BasicNewsRecipe import re class AdvancedUserRecipe1299640653(BasicNewsRecipe): title = u'Oakland North' oldest_article = 30 max_articles_per_feed = 100 language = 'en' __author__ = 'noah' description = 'Oakland North' category = 'news' no_stylesheets = True masthead_url = 'http://oaklandnorth.net/wp-content/themes/oaklandnorth/images/masthead.png' keep_only_tags = [dict(name='div', attrs={'class':re.compile(r'\bpost\b(?!-)', re.IGNORECASE)})] remove_tags_after = [dict(name='p', attrs={'class':'post-postscript'})] remove_tags = [dict(name='p', attrs={'class':'post-postscript'})] feeds = [(u'All Headlines', u'http://oaklandnorth.net/feed/') |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hello from North Carolina | LCEvans | Introduce Yourself | 22 | 01-21-2011 07:54 AM |
Hello from North London | mikki123 | Introduce Yourself | 11 | 05-21-2010 02:44 PM |
Intro from up north | tkoc | Introduce Yourself | 5 | 01-04-2010 06:41 AM |
Hi from the North! | ArcticBoy | Introduce Yourself | 6 | 10-23-2009 04:19 AM |
Hello from North Carolina | netwc | Introduce Yourself | 3 | 04-19-2009 08:35 PM |