now it returns: A Kaire story — A Universe from the Mind of Ka Hmnd
...
storiesonline.net has both 'series' and 'universe'. For whatever reason, the dev who wrote that adapter looks at both series and universe. What you're getting there is the universe instead of series--apparently they didn't expect to see both very often.
However, you can disable that behavior in your personal.ini:
I gave up on the "use first image" settings, because I got tired of having the damned twitter bird as an cover page :P
There's a specific feature for excluding that sort of thing (cover_exclusion_regexp). I try to put common ones in the defaults.ini when I know about them. I don't see a twitter bird in this story.
It looks like storiesonline.net may have added a cover image feature--or we didn't know about it before. (I didn't write the code for this site and I don't read it.)
Can you provide other examples of stories with covers like that--preferably from more than one author? I need a bigger sample set to insure it gets implemented correctly.
Quote:
Originally Posted by fathertyme
...
but then when I updated it (the story is now done, so you'll have to force an update)
the cover gets over-written or flattened
On the FanFicFare config Calibre Cover tab, you might change Update Calibre Cover (from EPUB) to 'Yes, if EPUB has image' instead of just 'Yes'.
I don't know what 'flattened' means in this context.
You're going to have to tell me what you were doing when that happened. Preferably with debug output. (Calibre Prefs->Run in Debug)
'Ok,, here is the debug log for this current error..
what I am doing is: I erased the existing series name, and then did an "update existing fanfiction books" on the selected book
Spoiler:
Code:
calibre Debug log
calibre 2.28 isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Fantastic Fiction && FanFicFare && Quality Check && Count Pages && Barnes & Noble && Reading List && SmartEject && Open With && Generate Cover && Fantastic Fiction Adults
Starting up...
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(184):Plugin FanFicFare macmenuhack file_path:C:\Users\fathe_000\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
Started up in 9.83 seconds with 1078 books
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(828):FanFicFare v2.2.5
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(864):url:http://storiesonline.net/s/12057
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(122):URL: http://storiesonline.net/s/12057
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/s/12057:i
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(97):Will now login to URL (http://storiesonline.net/login.php) as (=-=-EMAIL-=-=)
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/login.php?p...==-=-EMAIL-=-=
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/s/12057:i
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/0
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/1
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/a/woodmanone/2
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(250):Looking for universe - a='<a href="/universe/685/the-adventures-of-private-eye-matt-steele">Private Investigator Matt Steele</a>'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(257):Retrieving Universe - about to get page - universeUrl='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(294):#####################################
pagecache MISS: http://storiesonline.net/universe/68...ye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(259):Retrieving Universe - have page
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(261):Retrieving Universe - looking for name
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(263):Universes name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(266):Setting universe name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1062):update existing id:1094
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1194):existing epub tmp:C:\Users\FATHE_~1\AppData\Local\Temp\calibre_4n8cii\fanficfare_0msivx\old-1094-ypd5dh.epub
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1256):title:Cold Steele--and Mrs. Robinson
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fff_plugin(1257):outfile:C:\Users\FATHE_~1\AppData\Local\Temp\calibre_4n8cii\fanficfare_0msivx\Cold Steele--and Mrs. Robinson-woodmanone-zaknab.epub
Worker Launch took: 0.421999931335
Job: 1 Download FanFiction Book finished
Download FanFiction Book
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(36):FanFicFare v2.2.5
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(40):Adding jobs for URLs:
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(42):http://storiesonline.net/s/12057
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(78):Logfile for book ID 1094 (Cold Steele--and Mrs. Robinson)
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(79):url:(http://storiesonline.net/s/12057) id:(1094)
FFF:DEBUG:calibre_plugins.fanficfare_plugin.jobs(139):cookiejar:<LWPCookieJar[<Cookie cookie=nsQYXB for .storiesonline.net/>, <Cookie exOptIn=7 for .storiesonline.net/>, <Cookie n_session=1432258424 for .storiesonline.net/>, <Cookie sa_pref=59928 for .storiesonline.net/>, <Cookie selSt=29800 for .storiesonline.net/>, <Cookie sticky=1 for .storiesonline.net/>, <Cookie vid=2 for .storiesonline.net/>]>
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(122):URL: http://storiesonline.net/s/12057
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
pagecache HIT: http://storiesonline.net/s/12057:i
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
pagecache HIT: http://storiesonline.net/a/woodmanone/0
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
pagecache HIT: http://storiesonline.net/a/woodmanone/1
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
pagecache HIT: http://storiesonline.net/a/woodmanone/2
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(250):Looking for universe - a='<a href="/universe/685/the-adventures-of-private-eye-matt-steele">Private Investigator Matt Steele</a>'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(257):Retrieving Universe - about to get page - universeUrl='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter(291):#####################################
pagecache HIT: http://storiesonline.net/universe/68...ye-matt-steele
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(259):Retrieving Universe - have page
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(261):Retrieving Universe - looking for name
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(263):Universes name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:DEBUG:calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_storiesonlinenet(266):Setting universe name: 'The Adventures of Private Eye Matt Steele — A Universe from the Mind of woodmanone'
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(251):Exception: {u'author_sort': [u'woodmanone'], u'status': u'Error', u'calibre_columns': {u'calibre_cust_pages': {u'val': 73, u'label': u'Pages'}, u'calibre_std_tags': {u'val': u'Action/Adventure, Completed, Crime, Mystery', u'label': u'Tags'}, u'calibre_std_series': {u'val': u'', u'label': u'Series'}, u'calibre_cust_status': {u'val': u'Completed', u'label': u'Status'}, u'calibre_std_author_sort': {u'val': u'woodmanone', u'label': u'Author Sort'}, u'calibre_std_last_modified': {u'val': u'19 May 2015', u'label': u'Modified'}, u'calibre_std_formats': {u'val': u'EPUB', u'label': u'Formats'}, u'calibre_std_comments': {u'val': u"<p>Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.</p>", u'label': u'Comments'}, u'calibre_cust_read': {u'val': u'', u'label': u'Read'}, u'calibre_std_timestamp': {u'val': u'19 May 2015', u'label': u'Date'}, u'calibre_std_pubdate': {u'val': u'May 2015', u'label': u'Published'}, u'calibre_std_series_index': {u'val': u'', u'label': u'None'}, u'calibre_std_title': {u'val': u'Cold Steele--and Mrs. Robinson', u'label': u'Title'}, u'calibre_std_identifiers': {u'val': u'url:http://storiesonline.net/s/12057', u'label': u'Identifiers'}, u'calibre_cust_words': {u'val': 23427, u'label': u'Words'}, u'calibre_cust_review': {u'val': u'', u'label': u'Review'}, u'calibre_std_authors': {u'val': u'woodmanone', u'label': u'Authors'}, u'calibre_std_languages': {u'val': u'eng', u'label': u'Languages'}, u'calibre_std_rating': {u'val': u'', u'label': u'Rating'}, u'calibre_std_title_sort': {u'val': u'Cold Steele--and Mrs. Robinson', u'label': u'Title Sort'}, u'calibre_std_uuid': {u'val': u'7639930f-0a3a-4578-85a9-c96265d635da', u'label': u'None'}, u'calibre_std_publisher': {u'val': u'storiesonline.net', u'label': u'Publisher'}}, u'end': None, u'listorder': 0, u'epub_for_update': u'C:\\Users\\FATHE_~1\\AppData\\Local\\Temp\\calibre_4n8cii\\fanficfare_0msivx\\old-1094-ypd5dh.epub', u'site': 'storiesonline.net', u'author': [u'woodmanone'], u'comments': u"<p>Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.</p>", u'password': '', u'comment': u"'tuple' object has no attribute 'logfile'", u'outfile': u'C:\\Users\\FATHE_~1\\AppData\\Local\\Temp\\calibre_4n8cii\\fanficfare_0msivx\\Cold Steele--and Mrs. Robinson-woodmanone-zaknab.epub', u'url': u'http://storiesonline.net/s/12057', u'updatedate': datetime.datetime(2015, 5, 19, 0, 0, tzinfo=SafeLocalTimeZone()), u'all_metadata': {'status': u'Completed', 'universeHTML': u"<a class='universelink' href='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</a>", 'langcode': '', 'codes': u'Crime, Mystery', 'size': u'120\xa0KB', 'ships': u'', 'seriesHTML': u"<a class='serieslink' href='http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</a>", 'authorUrl': u'http://storiesonline.net/a/woodmanone', 'authorId': u'woodmanone', 'formatname': '', 'score': u'7.92', 'site': u'storiesonline.net', 'author': u'woodmanone', 'authorHTML': u"<a class='authorlink' href='http://storiesonline.net/a/woodmanone'>woodmanone</a>", 'seriesUrl': u'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele', 'cover_image': '', 'dateUpdated': u'2015-05-19', 'siteabbrev': u'strol', 'warnings': u'', 'genre': u'Action/Adventure', 'universe': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone', 'storyUrl': u'http://storiesonline.net/s/12057', 'storyId': u'12057', 'extratags': u'', 'numChapters': u'5', 'dateCreated': u'2015-05-20 18:39:59', 'numWords': '', 'description': u"Private Detective Matt Steele becomes involved with a client's wife in a way he never foresaw.", 'characters': u'', 'series': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]', 'formatext': '', 'universeUrl': u'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele', 'output_css': '', 'sitetags': u'Crime, Mystery', 'version': u'FanFicFare v2.2.5', 'lastupdate': u'Last Update Year/Month: 2015/05, Last Update: 2015/05/14, Last Update: 2015/05/19', 'category': u'', 'language': '', 'title': u'Cold Steele--and Mrs. Robinson', 'notice': u'<div class="notice">\n\n<p><i>I\'ve been away for awhile. Real life and other projects have kept me busy. Things have stabilized a little and I hope to get back to writing shorter stories.</i></p>\n\n<p><i>This is a return visit to one of my characters that I like very much. It is a standalone story but I would suggest that you read the other two installments of "Cold Steele". Those stories will give you insight into the main characters and their personalities.</i></p>\n\n<p><i>Either way, I thank you for reading my work. Constructive comments, critiques and emails are very welcome and appreciated.</i></p>\n\n</div>', 'datePublished': u'2015-05-14', 'rating': u'No Sex'}, u'pubdate': datetime.datetime(2015, 5, 14, 0, 0, tzinfo=SafeLocalTimeZone()), u'username': 'NoneGiven', u'series': u'The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]', u'calibre_id': 1094, u'good': False, u'icon': u'dialog_error.png', u'begin': None, u'title': u'Cold Steele--and Mrs. Robinson', u'is_adult': False, u'tags': [u'Crime', u'Action/Adventure', u'Completed', u'Mystery'], u'publisher': u'storiesonline.net', u'savemetacol': u'<p><span class=\'label\'>Author</span>: <div class=\'metadata list\' id=\'author\'><ul>\n<li>woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Authorhtml</span>: <div class=\'metadata\' id=\'authorHTML\'><a class=\'authorlink\' href=\'http://storiesonline.net/a/woodmanone\'>woodmanone</a></div><p>\n\n<p><span class=\'label\'>Author ID</span>: <div class=\'metadata list\' id=\'authorId\'><ul>\n<li>woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Author URL</span>: <div class=\'metadata list\' id=\'authorUrl\'><ul>\n<li>http://storiesonline.net/a/woodmanone</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Packaged</span>: <div class=\'metadata datetime\' id=\'dateCreated\'>2015-05-20T18:39:59.569000</div><p>\n\n<p><span class=\'label\'>Published</span>: <div class=\'metadata datetime\' id=\'datePublished\'>2015-05-14T00:00:00</div><p>\n\n<p><span class=\'label\'>Updated</span>: <div class=\'metadata datetime\' id=\'dateUpdated\'>2015-05-19T00:00:00</div><p>\n\n<p><span class=\'label\'>Summary</span>: <div class=\'metadata\' id=\'description\'>Private Detective Matt Steele becomes involved with a client\'s wife in a way he never foresaw.</div><p>\n\n<p><span class=\'label\'>Genre</span>: <div class=\'metadata list\' id=\'genre\'><ul>\n<li>Action/Adventure</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Lastupdate</span>: <div class=\'metadata list\' id=\'lastupdate\'><ul>\n<li>Last Update Year/Month: 2015/05</li>\n<li>Last Update: 2015/05/14</li>\n<li>Last Update: 2015/05/19</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Notice</span>: <div class=\'metadata\' id=\'notice\'><div class="notice">\n\n<p><i>I\'ve been away for awhile. Real life and other projects have kept me busy. Things have stabilized a little and I hope to get back to writing shorter stories.</i></p>\n\n<p><i>This is a return visit to one of my characters that I like very much. It is a standalone story but I would suggest that you read the other two installments of "Cold Steele". Those stories will give you insight into the main characters and their personalities.</i></p>\n\n<p><i>Either way, I thank you for reading my work. Constructive comments, critiques and emails are very welcome and appreciated.</i></p>\n\n</div></div><p>\n\n<p><span class=\'label\'>Chapters</span>: <div class=\'metadata int\' id=\'numChapters\'>5</div><p>\n\n<p><span class=\'label\'>Rating</span>: <div class=\'metadata\' id=\'rating\'>No Sex</div><p>\n\n<p><span class=\'label\'>Score</span>: <div class=\'metadata\' id=\'score\'>7.92</div><p>\n\n<p><span class=\'label\'>Series</span>: <div class=\'metadata\' id=\'series\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</div><p>\n\n<p><span class=\'label\'>Series</span>: <div class=\'metadata\' id=\'seriesHTML\'><a class=\'serieslink\' href=\'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone [0]</a></div><p>\n\n<p><span class=\'label\'>Series URL</span>: <div class=\'metadata\' id=\'seriesUrl\'>http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele</div><p>\n\n<p><span class=\'label\'>Publisher</span>: <div class=\'metadata\' id=\'site\'>storiesonline.net</div><p>\n\n<p><span class=\'label\'>Site Abbrev</span>: <div class=\'metadata\' id=\'siteabbrev\'>strol</div><p>\n\n<p><span class=\'label\'>Site Tags</span>: <div class=\'metadata list\' id=\'sitetags\'><ul>\n<li>Mystery</li>\n<li>Crime</li>\n</ul></div><p>\n\n<p><span class=\'label\'>Size</span>: <div class=\'metadata\' id=\'size\'>120\xa0KB</div><p>\n\n<p><span class=\'label\'>Status</span>: <div class=\'metadata\' id=\'status\'>Completed</div><p>\n\n<p><span class=\'label\'>Story ID</span>: <div class=\'metadata\' id=\'storyId\'>12057</div><p>\n\n<p><span class=\'label\'>Story URL</span>: <div class=\'metadata\' id=\'storyUrl\'>http://storiesonline.net/s/12057</div><p>\n\n<p><span class=\'label\'>Title</span>: <div class=\'metadata\' id=\'title\'>Cold Steele--and Mrs. Robinson</div><p>\n\n<p><span class=\'label\'>Universe</span>: <div class=\'metadata\' id=\'universe\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</div><p>\n\n<p><span class=\'label\'>Universe</span>: <div class=\'metadata\' id=\'universeHTML\'><a class=\'universelink\' href=\'http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele\'>The Adventures of Private Eye Matt Steele \u2014 A Universe from the Mind of woodmanone</a></div><p>\n\n<p><span class=\'label\'>Universe URL</span>: <div class=\'metadata\' id=\'universeUrl\'>http://storiesonline.net/universe/685/the-adventures-of-private-eye-matt-steele</div><p>\n\n<p><span class=\'label\'>Downloader Version</span>: <div class=\'metadata\' id=\'version\'>FanFicFare v2.2.5</div><p>\n', u'added': False, u'timestamp': datetime.datetime(2015, 5, 20, 18, 39, 59, 569000, tzinfo=SafeLocalTimeZone())}:'tuple' object has no attribute 'logfile'
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.jobs", line 167, in do_download_for_worker
AttributeError: 'tuple' object has no attribute 'logfile'
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(83):
Successful:
FFF:INFO:calibre_plugins.fanficfare_plugin.jobs(85):
Unsuccessful:
http://storiesonline.net/s/12057
[edit] sorry about the code/spoiler tags, good catch.[/edit]
[edit2] interesting note.. this does not affect NEW stories, just updates[/edit2]
[edit3] in fact, deleting the current story 12057 and re-downloading it as new story works just fine. trying to updated it afterwords causes the tuple error again[/edit3]
Last edited by fathertyme; 05-20-2015 at 10:20 PM.
Reason: wrap the log in code and spoiler tags
There's a specific feature for excluding that sort of thing (cover_exclusion_regexp). I try to put common ones in the defaults.ini when I know about them. I don't see a twitter bird in this story.
It looks like storiesonline.net may have added a cover image feature--or we didn't know about it before. (I didn't write the code for this site and I don't read it.)
Can you provide other examples of stories with covers like that--preferably from more than one author? I need a bigger sample set to insure it gets implemented correctly.
I will see if I can find some more examples. I think it's been there for a while but not a lot of authors use this feature, so it's relatively under used...
my problem is that once I manually set the image, I can't seem to keep it when the next update happens... I will try your suggestions tho (once I can update stories again. the current tuple error has me completely shutdown)
as for "flattened" in this context, I meant that when I updated the book, the new cover that was shown was the first page of the book...
[edit]
Just checked I have the following cover options set (and have had)
Update Calibre Cover (from epub): Yes, if epub has a cover image
Generate Calibre Cover: Yes, unless FanFicFare found a cover Image
plugin generate cover: selected
[/edit]
Last edited by fathertyme; 05-20-2015 at 10:14 PM.
storiesonline.net has both 'series' and 'universe'. For whatever reason, the dev who wrote that adapter looks at both series and universe. What you're getting there is the universe instead of series--apparently they didn't expect to see both very often.
However, you can disable that behavior in your personal.ini:
Code:
[storiesonline.net]
universe_as_series: true
true, this is the universe instead of the series, but the problem is that it is taking more than the series name, storiesonline couches the universe name in a sentence, including who wrote the universe, in this case Ka Hmnd
in other words, it should parse as: "A Kaire Story" and not get the "A universe from the mind of Ka Hmnd" statement at the end
There's a specific feature for excluding that sort of thing (cover_exclusion_regexp). I try to put common ones in the defaults.ini when I know about them. I don't see a twitter bird in this story.
It looks like storiesonline.net may have added a cover image feature--or we didn't know about it before. (I didn't write the code for this site and I don't read it.)
Can you provide other examples of stories with covers like that--preferably from more than one author? I need a bigger sample set to insure it gets implemented correctly.
On the FanFicFare config Calibre Cover tab, you might change Update Calibre Cover (from EPUB) to 'Yes, if EPUB has image' instead of just 'Yes'.
I don't know what 'flattened' means in this context.
StoriesOnline does allow a cover image, but I have only seen them for multi-chapter stories. They are usually displayed on the index page. I don't remember putting any code in to handle it. But, I think the "damned twitter bird" is the twitter icon. Some time recently they added a Twitter function at the end of each story. And it might be at the end of each chapter. That might be seen as the first image. But, I thought the changes you made at about the time the FanFicFare was released removed this.
The series/universe thing was something I remember putting in and having a bit of trouble with. The complication is that a book could be in a universe (unordered) or a series (ordered). And a series could be in a universe. I thought I handled the three circumstances and allowed the calibre series to be set to either the universe or series name or to "universe.series". But, it sounds like the site has changed the formatting, and the universe/series name isn't being extracted correctly.
I can have a look at these problems and fix them. But, it probably won't be until the weekend.
OK, I did have some time. Well, wanted to avoid doing other things
Quote:
Originally Posted by davidfor
StoriesOnline does allow a cover image, but I have only seen them for multi-chapter stories. They are usually displayed on the index page. I don't remember putting any code in to handle it. But, I think the "damned twitter bird" is the twitter icon. Some time recently they added a Twitter function at the end of each story. And it might be at the end of each chapter. That might be seen as the first image. But, I thought the changes you made at about the time the FanFicFare was released removed this.
I can't reproduce getting the "damned twitter bird", which I assume is http://res.storiesonline.net/css/bir.png. I did have a story in my test case that had images and the first was used as the cover. But, that was in the story rather than on the index page as a cover. Getting that image is easy as it is just an img tag on the index page. But, I'm not sure what to do with it so that the FFF sees it as the cover. It is probably obvious, but I can't see it at the moment.
Quote:
The series/universe thing was something I remember putting in and having a bit of trouble with. The complication is that a book could be in a universe (unordered) or a series (ordered). And a series could be in a universe. I thought I handled the three circumstances and allowed the calibre series to be set to either the universe or series name or to "universe.series". But, it sounds like the site has changed the formatting, and the universe/series name isn't being extracted correctly.
The site appears to have changed from using HTML entities to using the character. The universe name was split from the description by looking for "& mdash;", but it now has the character. Changing line 262 from:
I can't reproduce the error fathertyme is seeing with http://storiesonline.net/s/12057. It might be a difference in options, but I don't know what to change.
## some sites include images that we don't ever want becoming the
## cover image. This lets you exclude them.
cover_exclusion_regexp:/css/bir.png
Until I see an example, I'm going to assume it's already fixed.
Quote:
Originally Posted by davidfor
The site appears to have changed from using HTML entities to using the character. The universe name was split from the description by looking for "& mdash;", but it now has the character. Changing line 262 from:
...