mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #4051 (Daily Bread)
This commit is contained in:
parent
98797b37f6
commit
c7834a5fc1
@ -21,7 +21,6 @@ class OurDailyBread(BasicNewsRecipe):
|
||||
use_embedded_content = False
|
||||
category = 'religion'
|
||||
encoding = 'utf-8'
|
||||
extra_css = ' #devoTitle{font-size: x-large; font-weight: bold} '
|
||||
|
||||
conversion_options = {
|
||||
'comments' : description
|
||||
@ -32,13 +31,13 @@ class OurDailyBread(BasicNewsRecipe):
|
||||
keep_only_tags = [dict(name='div', attrs={'class':['altbg','text']})]
|
||||
|
||||
remove_tags = [dict(name='div', attrs={'id':['ctl00_cphPrimary_pnlBookCover']}),
|
||||
dict(name='div', attrs={'class':['devotionalLinks']})
|
||||
]
|
||||
extra_css = '''
|
||||
.text{font-family:Arial,Helvetica,sans-serif;font-size:x-small;}
|
||||
.devotionalTitle{font-family:Arial,Helvetica,sans-serif; font-size:large; font-weight: bold;}
|
||||
.devotionalDate{font-family:Arial,Helvetica,sans-serif; font-size:xx-small;}
|
||||
.devotionalVerse{font-family:Arial,Helvetica,sans-serif; font-size:xx-small; }
|
||||
a{color:#000000;font-family:Arial,Helvetica,sans-serif; font-size:x-small;}
|
||||
'''
|
||||
|
||||
feeds = [(u'Our Daily Bread', u'http://www.rbc.org/rss.ashx?id=50398')]
|
||||
|
@ -21,6 +21,7 @@ What formats does |app| support conversion to/from?
|
||||
It can convert every input format in the following list, to every output format.
|
||||
|
||||
*Input Formats:* CBZ, CBR, CBC, EPUB, FB2, HTML, LIT, LRF, MOBI, ODT, PDF, PRC**, PDB, PML, RB, RTF, TCR, TXT
|
||||
|
||||
*Output Formats:* EPUB, FB2, OEB, LIT, LRF, MOBI, PDB, PML, RB, PDF, TCR, TXT
|
||||
|
||||
** PRC is a generic format, |app| supports PRC files with TextRead and MOBIBook headers
|
||||
@ -233,9 +234,9 @@ If you are reasonably proficient with computers, you can teach |app| to download
|
||||
|
||||
Otherwise, you can register a request for a particular news site by adding a comment `here <http://calibre.kovidgoyal.net/ticket/405>`_.
|
||||
|
||||
Can I use web2lrf to download an arbitrary website?
|
||||
Can I use web2disk to download an arbitrary website?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
``web2lrf --url http://mywebsite.com default``
|
||||
``web2disk http://mywebsite.com``
|
||||
|
||||
Miscellaneous
|
||||
--------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user