![]() |
#1636 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hi ILB,
thank you for attaching your file. I tried using yours and the problem again only occurrs on the readers (I tried both readers), no problems when reading in the computer. |
![]() |
![]() |
![]() |
#1637 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Trying the fie ILB uploaded and looking at the source, the problem is that the story text is wrapped in a table. Removing those have made it display properly one my Kobo Aura H2O. I assume the renderer is trying to keep the table on a single page.
|
![]() |
![]() |
![]() |
#1638 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hi davidfor,
Thank you for your answer. Jimm already noticed the table-code. As the epub-epub conversion that Jimm suggested earlier didn't work, I'm editing the epubs manually now. |
![]() |
![]() |
![]() |
#1639 |
Member
![]() Posts: 19
Karma: 10
Join Date: Aug 2016
Device: iPad and Android smartphone
|
Can metadata download happen in background job?
As I guess you're already aware
![]() I see some switches in the config file to tune the delays (in the FFN section), per the comment they're intended to reduce user inconvenience. However, I'm leery of reducing the delay because I don't want FFN to block me. Especially since, due to not being home for weeks at a time, I might have several 10s of stories to update - yesterday when I used "Get Story URLs from Email" there were around 65 stories to check. It seems likely I could hit a throttle. Indeed, I'd be happy to increase the delay .. I honestly don't care how long the downloads take, so long as I can continue to work on something else, or perhaps read another book I already have. Take hours. Fine. Is there a switch, or could there be ![]() Thanks for reading. |
![]() |
![]() |
![]() |
#1640 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Can metadata download happen in background job?
When you are updating existing stories in your library (you select books and use 'Update Existing Fanfiction Books') there is a checkbox for 'Background Metadata'. You can set it on by default in the plugin config.
There isn't a background metadata fetch option when adding/updating by URL or from email (which uses the 'by URL' code). |
![]() |
![]() |
![]() |
#1641 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
I've always wondered - and sorry if this is really obvious, but it isn't to me - does it still fail for username/password and adult, if those are in the personal.ini?
|
![]() |
![]() |
![]() |
#1642 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
I'm back again with a new question.
I have my personal.ini set up to strip ship-names down to first name only. Now when reading fics about the Potters kids I get confused when the tags say 'Lily & Severus' instead of 'Lily Luna & Severus'. I tried to change the code and played around a bit, but I can't get it to work. Here is an example story. And here is my personal.ini: Spoiler:
Could you have a look once again? Thanks. |
![]() |
![]() |
![]() |
#1643 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
If you have correctly set username/password and is_adult in personal.ini, FFF will not stop and ask for those (for that site). That's kind of the point of having them in personal.ini.
|
![]() |
![]() |
![]() |
#1644 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() The solution that seems to me to be easiest to handle and most straightforward is to make the cases where you want to keep two word names into one word names before doing the 'first name only' line. (Assuming there aren't a huge number of such cases.) Then you can change them back to two word names afterwards--or not if you want to save some typing. Code:
replace_metadata: ## Make these two word names one word before the ## 'first name only' line. ships_CHARS=>Lily Luna=>Lily_Luna ships_CHARS=>Albus Severus=>Albus_Severus ## strip each ships char down to first name only ships_CHARS=>^([^ ]+).*$=>\1 ## Change the two words names back into two words (if desired) ships_CHARS=>Lily_Luna=>Lily Luna ships_CHARS=>Albus_Severus=>Albus Severus |
|
![]() |
![]() |
![]() |
#1645 |
Member
![]() Posts: 19
Karma: 10
Join Date: Aug 2016
Device: iPad and Android smartphone
|
Yeah, that works well for me. Good thing, cuz fanfic authors and sites are really conservative, so lots of the fics I read are M.
|
![]() |
![]() |
![]() |
#1646 | |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Quote:
![]() Your solution works like a charm. And fortunately there are only three children/names I want to change. Thank you! |
|
![]() |
![]() |
![]() |
#1647 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 3804
Join Date: May 2016
Device: Kindle Oasis 2
|
Alright, this is an accumulation post, so there's several items I'm going to be bringing up here. I've been making notes when I noticed something and wanted to find out if it was something that could be fixed/modified.
1. Cover images dealing with RoyalRoadL.com. The earlier post that used cover_exclusion_regexp was great, I know how to block images. However, there's a problem with at least one story I've run into that I'm trying to figure out. The story, Everybody Loves Large Chests ID#8894 (The story is more comedy than anything, and about a shape-shifting treasure chest. It does have some NSFW scenes later on in the story though, so I figured best not to direct link it. 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. I cut/pasted the cover image into the story, but every time I update it reverts to that stupid empty grey image. I've looked through the basic log that calibre shows, and there's nothing in there. 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've looked a bit (including searching) for a way to block cover overwrites. I'd like to do it for the specific story, or figure out where the hell the 'new' (old) cover is coming from and block it too, but I'm not sure how to find that out.... and that brings me to the next item on my list, also to do with RoyalRoad. 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. it's like 21x21 pixels. I remove it, update and get it again. Blocking the cover change for this story specifically (as with the one above) is a possible option, or blocking the image altogether. I can't figure out where the icon is coming from. I turned my adblock software off and looked through the story for several chapters including the front page and can't find the damn icon anywhere so I can use an exclusion with it. Is there a way for me to look through a log somewhere and see where it's coming from? 3. RoyalRoad again. This involves the stars, It's not a huge deal but I figured I'd ask as I've got all sorts of other questions as well. I'm really big about having all the information and it's great that we get the stars. When I add them to my 'score' column, which was for a few different sites, 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, but I believe there's a reason I left it as is. I don't want to screw up another system/site that uses it, or add another column, so is there a way to put something in my personal.ini to fix it? 4. Unlikely you can help, but I figured I might as well ask. This happens on multiple sites, and I ran across it a few times lately and it made me wonder if I could fix it. Several sites have a looser formatting option (unlike some like ff.net that's very specific/tight) royalroad and lucafel are some of them. There's nothing wrong with it, but occasionally when downloading stories I get 3-4 empty lines between paragraphs for stories. I've gone through and edited several stories directly through HTML to remove this issue. Each site has some slightly different issues, but generally there's only a couple per site. My question is: Is there a way to 'edit' the raw HTML through the INI to remove/replace? Say: <br><br> and replace with <br> or something similar? Some sites have exact problems, and some have multiple ones, but with a few lines of replace code It would fix these up and make it a lot easier to read on my kindle without manually editing. When converting, sometimes calibre can fix this through the conversion, but it doesn't always work. 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. Because of the nature of the site, there wasn't a proper description available. I'm not sure what happened but I 'updated' a couple of the stories to include all the fanfiction data and promptly lost the description I'd put in. I only noticed this yesterday when I was converting a story. It was only a few that this happened with, and I was able to get the information back in. 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? |
![]() |
![]() |
![]() |
#1648 | |||||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
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:
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:
Code:
replace_metadata: stars=>^([0-9]\.[0-9]{0,2}).*$=>\1 Quote:
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:
Code:
[fictionhunt.com] include_in_description: |
|||||
![]() |
![]() |
![]() |
#1649 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2015
Device: None
|
can it auto update after it downloads the books
|
![]() |
![]() |
![]() |
#1650 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |