mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #747766 (Globe and Mail recipe correction / wrong feed names on sports and auto)
This commit is contained in:
parent
7fcc5132cd
commit
ee447c7f05
@ -35,8 +35,8 @@ class AdvancedUserRecipe1287083651(BasicNewsRecipe):
|
|||||||
(u'Arts', u'http://www.theglobeandmail.com/news/arts/?service=rss'),
|
(u'Arts', u'http://www.theglobeandmail.com/news/arts/?service=rss'),
|
||||||
(u'Life', u'http://www.theglobeandmail.com/life/?service=rss'),
|
(u'Life', u'http://www.theglobeandmail.com/life/?service=rss'),
|
||||||
(u'Real Estate', u'http://www.theglobeandmail.com/real-estate/?service=rss'),
|
(u'Real Estate', u'http://www.theglobeandmail.com/real-estate/?service=rss'),
|
||||||
(u'Auto', u'http://www.theglobeandmail.com/sports/?service=rss'),
|
(u'Sports', u'http://www.theglobeandmail.com/sports/?service=rss'),
|
||||||
(u'Sports', u'http://www.theglobeandmail.com/auto/?service=rss')
|
(u'Drive', u'http://www.theglobeandmail.com/auto/?service=rss')
|
||||||
]
|
]
|
||||||
|
|
||||||
preprocess_regexps = [
|
preprocess_regexps = [
|
||||||
|
@ -265,7 +265,7 @@ The best way to develop new recipes is to use the command line interface. Create
|
|||||||
|
|
||||||
ebook-convert myrecipe.recipe .epub --test -vv --debug-pipeline debug
|
ebook-convert myrecipe.recipe .epub --test -vv --debug-pipeline debug
|
||||||
|
|
||||||
The :command:`ebook-convert` will download all the webpages and save them to the EPUB file :file:`my_recipe.epub`, creating it if necessary. The :option:`-vv` makes ebook-convert spit out a lot of information about what it is doing. The :option:`--test` makes it download only a couple of articles from at most two feeds. In addition, ebook-convert will put the downloaded HTML into the ``debug/input`` directory, where ``debug`` is the directory you specified in the :option:`--debug-pipeline` option.
|
The command :command:`ebook-convert` will download all the webpages and save them to the EPUB file :file:`myrecipe.epub`. The :option:`-vv` makes ebook-convert spit out a lot of information about what it is doing. The :option:`--test` makes it download only a couple of articles from at most two feeds. In addition, ebook-convert will put the downloaded HTML into the ``debug/input`` directory, where ``debug`` is the directory you specified in the :option:`--debug-pipeline` option.
|
||||||
|
|
||||||
Once the download is complete, you can look at the downloaded :term:`HTML` by opening the file :file:`debug/input/index.html` in a browser. Once you're satisfied that the download and preprocessing is happening correctly, you can generate ebooks in different formats as shown below::
|
Once the download is complete, you can look at the downloaded :term:`HTML` by opening the file :file:`debug/input/index.html` in a browser. Once you're satisfied that the download and preprocessing is happening correctly, you can generate ebooks in different formats as shown below::
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ Once the download is complete, you can look at the downloaded :term:`HTML` by op
|
|||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
If you're satisfied with your recipe, and you feel there is enough demand to justify its inclusion into the set of built-in recipes, post your recipe in the calibre forum at http://www.mobileread.com/forums/forumdisplay.php?f=166 to share it with other calibre users.
|
If you're satisfied with your recipe, and you feel there is enough demand to justify its inclusion into the set of built-in recipes, post your recipe in the `calibre recipes forum <http://www.mobileread.com/forums/forumdisplay.php?f=228>`_ to share it with other calibre users.
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user