This commit is contained in:
Kovid Goyal 2013-02-28 22:13:11 +05:30
parent 8153195aa0
commit 97ca954c13
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,4 @@
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
import re
class HNonlineRecipe(BasicNewsRecipe): class HNonlineRecipe(BasicNewsRecipe):
__license__ = 'GPL v3' __license__ = 'GPL v3'
@ -65,4 +64,4 @@ class HNonlineRecipe(BasicNewsRecipe):
@font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)}
@font-face {font-family: "sans1";src:url(res:///opt/sony/ebook/FONT/LiberationSans.ttf)} @font-face {font-family: "sans1";src:url(res:///opt/sony/ebook/FONT/LiberationSans.ttf)}
body {font-family: sans1, serif1;} body {font-family: sans1, serif1;}
''' '''

View File

@ -5,7 +5,6 @@
http://www.unperiodico.unal.edu.co/ http://www.unperiodico.unal.edu.co/
''' '''
from calibre import strftime
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
class UNPeriodico(BasicNewsRecipe): class UNPeriodico(BasicNewsRecipe):
@ -18,5 +17,5 @@ class UNPeriodico(BasicNewsRecipe):
max_articles_per_feed = 100 max_articles_per_feed = 100
publication_type = 'newspaper' publication_type = 'newspaper'
feeds = [ feeds = [
(u'UNPeriodico', u'http://www.unperiodico.unal.edu.co/rss/type/rss2/') (u'UNPeriodico', u'http://www.unperiodico.unal.edu.co/rss/type/rss2/')
] ]