Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2011, 11:16 AM   #1
Loosheesh
Wizard
Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.
 
Loosheesh's Avatar
 
Posts: 1,352
Karma: 1846717
Join Date: Dec 2010
Location: Americas
Device: KindlePW + iPad3 + SGP5 + ClipZip
Recipe Request for "Daily Writing Tips"

Can someone, pretty please, help me create a recipe for the Daily Writing Tips site? I tried doing it with Add custom news source but I'm getting an error message that I have no idea what to do with:

Spoiler:
calibre, version 0.8.26
ERROR: Conversion Error: <b>Failed</b>: Fetch news from Unknown News Source

Fetch news from Unknown News Source
Resolved conversion options
calibre version: 0.8.26
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_download_recipe': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'extract_to': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05903B50>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x05903D50>,
'page_breaks_before': None,
'password': None,
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'rescale_images': False,
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 187, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 949, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\web\feeds\input.py", line 105, in convert
File "site-packages\calibre\web\feeds\news.py", line 824, in download
File "site-packages\calibre\web\feeds\news.py", line 973, in build_index
File "site-packages\calibre\web\feeds\news.py", line 1383, in parse_feeds
File "site-packages\calibre\web\feeds\news.py", line 370, in get_feeds
NotImplementedError

I checked out the basic tutorial but most of what's there is way over my head
Loosheesh is offline   Reply With Quote
Old 11-28-2011, 05:24 PM   #2
Loosheesh
Wizard
Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.
 
Loosheesh's Avatar
 
Posts: 1,352
Karma: 1846717
Join Date: Dec 2010
Location: Americas
Device: KindlePW + iPad3 + SGP5 + ClipZip
I guess no one can help ...
Loosheesh is offline   Reply With Quote
Old 11-28-2011, 06:33 PM   #3
NotTaken
Connoisseur
NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4640
Join Date: Aug 2011
Device: kindle
Code:
from calibre.web.feeds.news import BasicNewsRecipe

class DailyWritingTips(BasicNewsRecipe):
    title          = u'Daily Writing Tips'
    language       = 'en_GB'
    oldest_article = 7 #days
    max_articles_per_feed = 40
    use_embedded_content = True
    no_stylesheets = True
    auto_cleanup = False
    encoding = 'utf-8'


    feeds          = [
('Latest tips', 
 'http://feeds2.feedburner.com/DailyWritingTips'),
]
NotTaken is offline   Reply With Quote
Old 12-01-2011, 07:01 AM   #4
Loosheesh
Wizard
Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.Loosheesh ought to be getting tired of karma fortunes by now.
 
Loosheesh's Avatar
 
Posts: 1,352
Karma: 1846717
Join Date: Dec 2010
Location: Americas
Device: KindlePW + iPad3 + SGP5 + ClipZip
NotTaken, thanks very much!
Loosheesh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" therealjoeblow Calibre 15 07-25-2011 04:14 PM
Recipe for "Galicia Confidencial" and "De L a V" roebek Recipes 1 07-19-2011 10:17 AM
BALLISTIC: Tom Clancy with a "sense of humor and better writing." Paul Levine Self-Promotions by Authors and Publishers 4 03-29-2011 09:33 PM
Request: recipe for google new "Think Quarterly" magazine gloomygod Recipes 0 03-24-2011 09:08 AM
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" jmst Recipes 2 11-01-2010 02:01 PM


All times are GMT -4. The time now is 02:04 PM.


MobileRead.com is a privately owned, operated and funded community.