Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-17-2011, 06:12 AM   #1
Babstar
Junior Member
Babstar began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Guru help:Blog recipes request (FOFOA.blogspot.com)

Hi, I am requesting a simple recipes for fofoa.blogspot.com
I have found two feeds
http://fofoa.blogspot.com/feeds/posts/default?alt=rss
http://fofoa.blogspot.com/feeds/posts/default

Unfortunately I have no experience with python, so I would appreciate any Guru's that could help. Instead of learning python, I studied the monetary system, so I would be happy to explain the role of gold to you in exchange...

The blog is basically a series of long articles, perfect for the kindle. The author writes 3 to 5 articles a month, some of the articles can take a couple of hours to get through. The articles are followed by up to a couple of hundred comments.

I tried a basic DIY recipe simply adding the RSS feed, and it captured the comments, but not the articles itself.

So, I have a simple request for an ebook that simply has each article followed by the comments. The comments are nice, but optional.

If we look at the first RSS feed, the most recent articles in sequence are
<link>http://fofoa.blogspot.com/2011/07/euro-gold.html</link>
<link>http://fofoa.blogspot.com/2011/06/from-treasure-chest.html</link>
<link>http://fofoa.blogspot.com/2011/06/bitcoin-open-forum-part-3.html</link>
<link>http://fofoa.blogspot.com/2011/06/bitcoin-open-forum-part-2.html</link>
<link>http://fofoa.blogspot.com/2011/06/bitcoin-open-forum.html</link>
<link>http://fofoa.blogspot.com/2011/06/open-letter-to-ron-paul.html</link>

Thanks, any help would be much appreciated.
Babstar is offline   Reply With Quote
Old 07-21-2011, 06:49 PM   #2
Babstar
Junior Member
Babstar began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
I now have a working recipe

Code:
class AdvancedUserRecipe1311117428(BasicNewsRecipe):
    title          = u'FOFOA'
    oldest_article = 90
    max_articles_per_feed = 100
    used_embedded_content = True
    

    feeds          = [(u'FOFOA', u'http://fofoa.blogspot.com/feeds/posts/default')]
This works perfectly on the command line with ebook-convert. I get a nice .mobi format that requires no additional tweaks & looks great in the kindle, it has all the articles & comments. The size of the ebook is approx 2.5M

However, if I cut and paste the recipe directly into Calibre and run the recipe I get an ebook that is missing all the articles, it does have the chapters for the articles, but not the articles themselves, nor the comments, and the book is only 0.5M in size

Here's the debug log from the successful ebook-convert command line:
Spoiler:
calibre Debug log
calibre 0.7.44
Linux-2.6.38-8-generic-x86_64-with-Ubuntu-11.04-natty
Linux
('Linux', '2.6.38-8-generic', '#42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011')
Python 2.7.1+
Linux: ('Ubuntu', '11.04', 'natty')
Starting up...
Failed to load high performance sqlite C extension
'Connection' object has no attribute 'enable_load_extension'
Started up in 2.89443302155
Job: 1 Fetch news from FOFOA finished
Fetch news from FOFOA
Resolved conversion options
calibre version: 0.7.44
{'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,
'enable_heuristics': False,
'extra_css': 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 0x2d2c210>,
'insert_blank_line': False,
'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,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleDXOutput object at 0x2d2c890>,
'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_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,
'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,
'unwrap_lines': True,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Skipping article Forum 1500 (Thu, 21 Apr, 2011 09:29) from feed FOFOA Posts as it is too old.
Skipping article Forum 201 (Sat, 16 Apr, 2011 08:36) from feed FOFOA Posts as it is too old.
Skipping article Reference Point: Gold - Update #2 (Sat, 09 Apr, 2011 05:52) from feed FOFOA Posts as it is too old.
Skipping article Big Gap in Understanding Weakens Deflationist Argument (Tue, 05 Apr, 2011 19:35) from feed FOFOA Posts as it is too old.
Skipping article A Winner Takes the Gold (Sat, 09 Apr, 2011 11:29) from feed FOFOA Posts as it is too old.
Skipping article Reference Point Revolution! (Tue, 29 Mar, 2011 21:13) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum - Part 3 (Tue, 22 Mar, 2011 17:13) from feed FOFOA Posts as it is too old.
Skipping article More Freegold Fodder (Sun, 13 Mar, 2011 16:17) from feed FOFOA Posts as it is too old.
Skipping article Indicium (Sat, 12 Mar, 2011 19:34) from feed FOFOA Posts as it is too old.
Skipping article Via Email (Sat, 05 Mar, 2011 12:56) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum - Part 2 (Sun, 27 Feb, 2011 21:01) from feed FOFOA Posts as it is too old.
Skipping article How is that different from Freegold? (Sun, 20 Feb, 2011 18:48) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum (Sat, 19 Feb, 2011 18:38) from feed FOFOA Posts as it is too old.
Synthesizing mastheadImage
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html
Downloading
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html
Downloading
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html
Processing images...
Processing images...
Processing images...
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_0/calibre_0.7.44_Ljm7zj_feeds2disk.xhtml
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_4/calibre_0.7.44_UdVxYR_feeds2disk.xhtmlfile:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_3/calibre_0.7.44_HHMBkq_feeds2disk.xhtml

Downloading
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_2/calibre_0.7.44_rgHYTa_feeds2disk.xhtml
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.htmlProcessing images...

Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.htmlDownloaded article: Forum 1600 from http://fofoa.blogspot.com/2011/07/forum-1600.html

Downloaded article: Bitcoin Open Forum - Part 3 from http://fofoa.blogspot.com/2011/06/bi...um-part-3.html
Downloaded article: Bitcoin Open Forum - Part 2 from http://fofoa.blogspot.com/2011/06/bi...um-part-2.html
Downloaded article: From the Treasure Chest from http://fofoa.blogspot.com/2011/06/fr...ure-chest.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.html
WARNING: Encoding detection confidence 76%
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_5/calibre_0.7.44_UgCSrl_feeds2disk.xhtml
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_7/calibre_0.7.44_Z8UqRS_feeds2disk.xhtml
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html
Downloading
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_8/calibre_0.7.44_FDSfJj_feeds2disk.xhtmlProcessing images...

Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_1/calibre_0.7.44_ImG9io_feeds2disk.xhtml
WARNING: Encoding detection confidence 87%
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html
Downloading
Downloaded article: Bitcoin Open Forum from http://fofoa.blogspot.com/2011/06/bi...pen-forum.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.htmlDownloaded article: The Return to Honest Money
from http://fofoa.blogspot.com/2011/05/re...est-money.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_10/calibre_0.7.44_ra3b_o_feeds2disk.xhtmlDownloaded article: Costata's Silver Open Forum - Part 2
from http://fofoa.blogspot.com/2011/05/co...um-part-2.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_9/calibre_0.7.44_qmyuli_feeds2disk.xhtml
Downloaded article: Euro Gold from http://fofoa.blogspot.com/2011/07/euro-gold.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_6/calibre_0.7.44_qewcMH_feeds2disk.xhtml
Downloaded article: Open Forum from http://fofoa.blogspot.com/2011/05/open-forum.html
Downloaded article: Costata's Silver Open Forum from http://fofoa.blogspot.com/2011/05/co...pen-forum.html
WARNING: Encoding detection confidence 87%
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_11/calibre_0.7.44_8ZwKHW_feeds2disk.xhtml
Downloaded article: Open Letter to Ron Paul from http://fofoa.blogspot.com/2011/06/op...-ron-paul.html
Downloaded article: Deflation or Hyperinflation? from http://fofoa.blogspot.com/2011/04/de...inflation.html
Parsing all content...
Parsing feed_0/article_4/index.html ...
Forcing feed_0/article_4/index.html into XHTML namespace
Parsing feed_0/article_10/index.html ...
Forcing feed_0/article_10/index.html into XHTML namespace
Parsing feed_0/article_3/index.html ...
Forcing feed_0/article_3/index.html into XHTML namespace
Parsing feed_0/article_8/index.html ...
Forcing feed_0/article_8/index.html into XHTML namespace
Parsing feed_0/article_5/index.html ...
Forcing feed_0/article_5/index.html into XHTML namespace
Parsing feed_0/article_6/index.html ...
Forcing feed_0/article_6/index.html into XHTML namespace
Parsing feed_0/article_7/index.html ...
Forcing feed_0/article_7/index.html into XHTML namespace
Parsing feed_0/article_11/index.html ...
Forcing feed_0/article_11/index.html into XHTML namespace
Parsing feed_0/article_9/index.html ...
Forcing feed_0/article_9/index.html into XHTML namespace
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing feed_0/article_2/index.html ...
Forcing feed_0/article_2/index.html into XHTML namespace
Parsing feed_0/article_0/index.html ...
Forcing feed_0/article_0/index.html into XHTML namespace
Parsing feed_0/index.html ...
Initial parse failed:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 863, in first_pass
data = etree.fromstring(data, parser=parser)
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: br line 33 and div, line 34, column 7

Parsing file 'feed_0/index.html' as HTML
Forcing feed_0/index.html into XHTML namespace
Parsing feed_0/article_1/index.html ...
Forcing feed_0/article_1/index.html into XHTML namespace
Referenced file 'feed_1/index.html' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating MOBI Output...
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Converting TOC for MOBI periodical indexing...
Using mastheadImage supplied in manifest...
Serializing markup content...
Compressing markup content...
MOBI periodical specified, evaluating TOC for periodical conformance ...
TOC structure conforms
Generating structured CTOC ...
CNCX utilization: 1 record, 8% full
Indexing navPoints ...
Generating INDX ...
Serializing images...
MOBI output written to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_07gqdI_recipe_out.mobi

Exception in thread Thread-8 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 169, in run
File "/usr/lib/python2.7/Queue.py", line 177, in get
File "/usr/lib/python2.7/threading.py", line 259, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 169, in run
File "/usr/lib/python2.7/Queue.py", line 177, in get
File "/usr/lib/python2.7/threading.py", line 259, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable




Here is the Calibre debug log from that that fails:
Spoiler:
calibre Debug log
calibre 0.7.44
Linux-2.6.38-8-generic-x86_64-with-Ubuntu-11.04-natty
Linux
('Linux', '2.6.38-8-generic', '#42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011')
Python 2.7.1+
Linux: ('Ubuntu', '11.04', 'natty')
Starting up...
Failed to load high performance sqlite C extension
'Connection' object has no attribute 'enable_load_extension'
Started up in 2.89443302155
Job: 1 Fetch news from FOFOA finished
Fetch news from FOFOA
Resolved conversion options
calibre version: 0.7.44
{'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,
'enable_heuristics': False,
'extra_css': 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 0x2d2c210>,
'insert_blank_line': False,
'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,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleDXOutput object at 0x2d2c890>,
'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_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,
'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,
'unwrap_lines': True,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Skipping article Forum 1500 (Thu, 21 Apr, 2011 09:29) from feed FOFOA Posts as it is too old.
Skipping article Forum 201 (Sat, 16 Apr, 2011 08:36) from feed FOFOA Posts as it is too old.
Skipping article Reference Point: Gold - Update #2 (Sat, 09 Apr, 2011 05:52) from feed FOFOA Posts as it is too old.
Skipping article Big Gap in Understanding Weakens Deflationist Argument (Tue, 05 Apr, 2011 19:35) from feed FOFOA Posts as it is too old.
Skipping article A Winner Takes the Gold (Sat, 09 Apr, 2011 11:29) from feed FOFOA Posts as it is too old.
Skipping article Reference Point Revolution! (Tue, 29 Mar, 2011 21:13) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum - Part 3 (Tue, 22 Mar, 2011 17:13) from feed FOFOA Posts as it is too old.
Skipping article More Freegold Fodder (Sun, 13 Mar, 2011 16:17) from feed FOFOA Posts as it is too old.
Skipping article Indicium (Sat, 12 Mar, 2011 19:34) from feed FOFOA Posts as it is too old.
Skipping article Via Email (Sat, 05 Mar, 2011 12:56) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum - Part 2 (Sun, 27 Feb, 2011 21:01) from feed FOFOA Posts as it is too old.
Skipping article How is that different from Freegold? (Sun, 20 Feb, 2011 18:48) from feed FOFOA Posts as it is too old.
Skipping article Wendy's Open Forum (Sat, 19 Feb, 2011 18:38) from feed FOFOA Posts as it is too old.
Synthesizing mastheadImage
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html
Downloading
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html
Downloading
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html
Processing images...
Processing images...
Processing images...
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Ljm7zj_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_0/calibre_0.7.44_Ljm7zj_feeds2disk.xhtml
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UdVxYR_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_4/calibre_0.7.44_UdVxYR_feeds2disk.xhtmlfile:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_HHMBkq_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_3/calibre_0.7.44_HHMBkq_feeds2disk.xhtml

Downloading
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_rgHYTa_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_2/calibre_0.7.44_rgHYTa_feeds2disk.xhtml
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.htmlProcessing images...

Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.htmlDownloaded article: Forum 1600 from http://fofoa.blogspot.com/2011/07/forum-1600.html

Downloaded article: Bitcoin Open Forum - Part 3 from http://fofoa.blogspot.com/2011/06/bi...um-part-3.html
Downloaded article: Bitcoin Open Forum - Part 2 from http://fofoa.blogspot.com/2011/06/bi...um-part-2.html
Downloaded article: From the Treasure Chest from http://fofoa.blogspot.com/2011/06/fr...ure-chest.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.html
WARNING: Encoding detection confidence 76%
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_UgCSrl_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_5/calibre_0.7.44_UgCSrl_feeds2disk.xhtml
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_Z8UqRS_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_7/calibre_0.7.44_Z8UqRS_feeds2disk.xhtml
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html
Downloading
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_FDSfJj_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_8/calibre_0.7.44_FDSfJj_feeds2disk.xhtmlProcessing images...

Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html
Processing images...
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ImG9io_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_1/calibre_0.7.44_ImG9io_feeds2disk.xhtml
WARNING: Encoding detection confidence 87%
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html
Downloading
Downloaded article: Bitcoin Open Forum from http://fofoa.blogspot.com/2011/06/bi...pen-forum.html
Fetching file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.htmlDownloaded article: The Return to Honest Money
from http://fofoa.blogspot.com/2011/05/re...est-money.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_ra3b_o_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_10/calibre_0.7.44_ra3b_o_feeds2disk.xhtmlDownloaded article: Costata's Silver Open Forum - Part 2
from http://fofoa.blogspot.com/2011/05/co...um-part-2.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qmyuli_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_9/calibre_0.7.44_qmyuli_feeds2disk.xhtml
Downloaded article: Euro Gold from http://fofoa.blogspot.com/2011/07/euro-gold.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_qewcMH_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_6/calibre_0.7.44_qewcMH_feeds2disk.xhtml
Downloaded article: Open Forum from http://fofoa.blogspot.com/2011/05/open-forum.html
Downloaded article: Costata's Silver Open Forum from http://fofoa.blogspot.com/2011/05/co...pen-forum.html
WARNING: Encoding detection confidence 87%
Processing images...
Recursion limit reached. Skipping links in file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html
file:///tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_8ZwKHW_feeds2disk.html saved to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_KSl0oy_plumber/feed_0/article_11/calibre_0.7.44_8ZwKHW_feeds2disk.xhtml
Downloaded article: Open Letter to Ron Paul from http://fofoa.blogspot.com/2011/06/op...-ron-paul.html
Downloaded article: Deflation or Hyperinflation? from http://fofoa.blogspot.com/2011/04/de...inflation.html
Parsing all content...
Parsing feed_0/article_4/index.html ...
Forcing feed_0/article_4/index.html into XHTML namespace
Parsing feed_0/article_10/index.html ...
Forcing feed_0/article_10/index.html into XHTML namespace
Parsing feed_0/article_3/index.html ...
Forcing feed_0/article_3/index.html into XHTML namespace
Parsing feed_0/article_8/index.html ...
Forcing feed_0/article_8/index.html into XHTML namespace
Parsing feed_0/article_5/index.html ...
Forcing feed_0/article_5/index.html into XHTML namespace
Parsing feed_0/article_6/index.html ...
Forcing feed_0/article_6/index.html into XHTML namespace
Parsing feed_0/article_7/index.html ...
Forcing feed_0/article_7/index.html into XHTML namespace
Parsing feed_0/article_11/index.html ...
Forcing feed_0/article_11/index.html into XHTML namespace
Parsing feed_0/article_9/index.html ...
Forcing feed_0/article_9/index.html into XHTML namespace
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing feed_0/article_2/index.html ...
Forcing feed_0/article_2/index.html into XHTML namespace
Parsing feed_0/article_0/index.html ...
Forcing feed_0/article_0/index.html into XHTML namespace
Parsing feed_0/index.html ...
Initial parse failed:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 863, in first_pass
data = etree.fromstring(data, parser=parser)
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: br line 33 and div, line 34, column 7

Parsing file 'feed_0/index.html' as HTML
Forcing feed_0/index.html into XHTML namespace
Parsing feed_0/article_1/index.html ...
Forcing feed_0/article_1/index.html into XHTML namespace
Referenced file 'feed_1/index.html' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating MOBI Output...
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Converting TOC for MOBI periodical indexing...
Using mastheadImage supplied in manifest...
Serializing markup content...
Compressing markup content...
MOBI periodical specified, evaluating TOC for periodical conformance ...
TOC structure conforms
Generating structured CTOC ...
CNCX utilization: 1 record, 8% full
Indexing navPoints ...
Generating INDX ...
Serializing images...
MOBI output written to /tmp/calibre_0.7.44_tmp_reHof7/calibre_0.7.44_07gqdI_recipe_out.mobi

Exception in thread Thread-8 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 169, in run
File "/usr/lib/python2.7/Queue.py", line 177, in get
File "/usr/lib/python2.7/threading.py", line 259, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
File "/usr/lib/calibre/calibre/utils/ipc/server.py", line 169, in run
File "/usr/lib/python2.7/Queue.py", line 177, in get
File "/usr/lib/python2.7/threading.py", line 259, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable



Any further help would be appreciated, thanks.
Babstar is offline   Reply With Quote
Advert
Old 07-22-2011, 11:37 AM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Babstar View Post
I now have a working recipe ...if I cut and paste the recipe directly into Calibre and run the recipe I get an ebook that is missing all the articles,...Any further help would be appreciated, thanks.
Thank you for using Spoiler tags. I tried your recipe from the GUI and it worked fine - 1.9 MB. Try it again.
Starson17 is offline   Reply With Quote
Old 07-29-2011, 04:33 AM   #4
Babstar
Junior Member
Babstar began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Starson17 thanks for taking the time to test & reply. This is now the subject of a bug report #814348. The long and short of it is that I can get it to work on both the GUI & command line on Ubuntu (Natty) - 32 bit, but it only work on the command line with 64 bit machines (two different machines). I have a few other custom recipes and builtins that run fine.

Out of interest what OS/bit combination did you test it on?
Babstar is offline   Reply With Quote
Old 07-29-2011, 10:08 AM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Babstar View Post
Out of interest what OS/bit combination did you test it on?
Windows XP/32bit
Starson17 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating my custom recipes: enlarge image in blog post cafedo Recipes 3 01-23-2011 08:16 AM
Indie Books Blog (indiebooks.blogspot.com) Scott Nicholson Reading Recommendations 11 07-20-2010 05:22 PM
Request for recipes mccande Calibre 4 12-26-2008 01:05 AM
Request for Recipes GPThomson Calibre 2 11-21-2008 12:19 PM
Request for Recipes girlperson1 Calibre 4 11-12-2008 03:25 PM


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


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