Quote:
Originally Posted by Atherton25
1. Cover images dealing with RoyalRoadL.com. ...
The story, Everybody Loves Large Chests ID#8894 ...
When I download the story, the image that comes in is the same one that was discussed and blocked earlier on (the grey image with 200x300 in the center). It does have a cover image which is an SVG file.
...
There is at least 2 other stories that do this to me, but I can't remember all of them I know "Galactic Fist of Legend" #4552 does it as well, but the others I'm not sure about.
In the logs the following message IS shown:
calibre_plugins.fanficfare_plugin.fanficfare.write rs.writer_epub(432): writer_epub: no new cover, has old cover, write image.
|
I just checked those with default settings, and the stories' cover images were applied correctly.
What's happened, I suspect, is that you picked up the default cover in those books (before the change to exclude them and before the authors put in the specific covers), and your settings don't update the cover
inside the epub by default. But you do have the setting to update the
calibre cover from the epub by default.
Those settings aren't in personal.ini, but in the GUI. Basic -> 'Default Update EPUB Cover when Updating EPUB' and Calibre Cover -> 'Update Calibre Cover (from EPUB)'.
If you like your current settings, you can update the EPUB cover to match the calibre cover using Calibre's Polish -> 'Update cover in the book files' feature.
Quote:
Originally Posted by Atherton25
2. Finding/Blocking a specific image. When I download a story called How to date an android. http://royalroadl.com/fiction/7556 (...so far it's safe, though in the future it may not be.) I get a smiley face cover image. ...
Is there a way for me to look through a log somewhere and see where it's coming from?
|
After downloading the story, open the epub in calibre's Edit Book feature. Scroll down the file list to see that the image is named as ffdl-0.jpg (cover.jpg will be a copy). Search for ffdl-0.jpg in the text and you'll find that it's in file0057.xhtml, "Chapter 53 Part B" and the original image URL is in longdesc (for reasons)
http://royalroadl.com/forum/images/smilies/smile.png
Removing all smilies from cover consideration seems a decent idea, so I'll add this to defaults in next version:
Code:
[royalroadl.com]
cover_exclusion_regexp:(imgur.com/dzOACJf.png|/forum/images/smilies/)
Quote:
Originally Posted by Atherton25
3. RoyalRoad again. This involves the stars, ... I get up to 6 decimals. Is there anyway to round this to 2? I can probably figure it out if I modify the column to only show up to 2 decimals ...
|
I'd go with formatting the custom column, but you can fudge the decimal value with a replace_metadata:
Code:
replace_metadata:
stars=>^([0-9]\.[0-9]{0,2}).*$=>\1
Note that 'How to date an android' had a stars score of 4 exactly when I tested, which
won't be 4.00 unless you format your float column.
Quote:
Originally Posted by Atherton25
4. Unlikely you can help, but I figured I might as well ask. ...
... occasionally when downloading stories I get 3-4 empty lines between paragraphs for stories. ...
|
I usually only apply it on a per-story basis, but some users use
replace_br_with_p across the board:
Code:
## Some sites/authors/stories use br tags instead of p tags for
## paragraphs. This feature uses some heuristics to find and replace
## br paragraphs with p tags while preserving scene breaks.
replace_br_with_p: true
Quote:
Originally Posted by Atherton25
5. Fictionhunt. Semi-problem. Nothing huge, but something I saw and figured I should ask about.
After downloading a few book, I went through and put in a proper comment on several of these stories, finding the description elswhere. ...
My question is if there is a way in the personal.ini to prevent fictionhunt from updating the comment area when downloading information? I searched through the default.ini and couldn't find an option to do something like it. I know you can set a overall one for new only, but is there something site specific?
|
The closest I can think of is to suppress
description entirely for the site. Which for fictionhunt.com isn't a terrible idea.
Code:
[fictionhunt.com]
include_in_description: