Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2021, 10:29 PM   #5671
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
JimmXinu once explained the cover generation system to me. I don't remember much other than it's confusing and sometimes has unexpected results.

Last edited by ownedbycats; 03-16-2021 at 05:04 AM.
ownedbycats is offline   Reply With Quote
Old 03-16-2021, 04:46 AM   #5672
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: About 3/4 down on this chapter (ctrl+f for "it had been on his mind") is some side-by-side text and I'm not sure how to make FFF do that in the ePub.

I tried this but it didn't work:

Code:
add_to_keep_html_attrs:,title,align,blockquote,div
Any other ideas?

Last edited by ownedbycats; 03-16-2021 at 05:04 AM.
ownedbycats is offline   Reply With Quote
Advert
Old 03-16-2021, 11:28 AM   #5673
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by watani View Post
Does make me wonder what the purpose of the "Generate Cover Only for New Books" option is under the Calibre Cover tab of FFF's preferences. I've had that checked, but it still doesn't prevent the covers from being overwritten when updating.
The cover code is overly complicated, I admit. I probably should have said no to more people when they were requesting different cover options.

It's even more complicated by the differences between personal.ini settings (which are shared with the CLI version) and plugin GUI settings.

"Generate Cover" refers specifically to using the Generate Cover plugin or Calibre's Generate cover function.

It sounds like you are getting a cover from the book that you don't want. To not use the cover for only specific books, but continue to use and update covers from other stories, you have to use personal.ini settings like ownedbycats suggested.

Quote:
Originally Posted by ownedbycats View Post
Question: About 3/4 down on this chapter (ctrl+f for "it had been on his mind") is some side-by-side text and I'm not sure how to make FFF do that in the ePub.

I tried this but it didn't work:

Code:
add_to_keep_html_attrs:,title,align,blockquote,div
Any other ideas?
Looks to me like you need some additional CSS, too. At least:
Code:
.column {
    float: left;
    width: 50%;
}
...and possibly more; I didn't test it.
JimmXinu is offline   Reply With Quote
Old 03-16-2021, 03:41 PM   #5674
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Quote:
Originally Posted by JimmXinu View Post
It sounds like you are getting a cover from the book that you don't want. To not use the cover for only specific books, but continue to use and update covers from other stories, you have to use personal.ini settings like ownedbycats suggested.
So after testing the suggestion by ownedbycats earlier today, FFF is still updating the covers even after I explicitly put an entry under personal.ini to prevent the story's cover from updating.

Here's the entry I put in personal.ini (colored purple):

Code:
[https://www.royalroad.com/fiction/37438]
never_make_cover:true
Edit:
Apparently the first time you update a story after setting the entry under personal.ini, the story cover still updates from the website. Subsequent updates don't pull from the website anymore, which is a bit strange in terms of behavior.

Last edited by watani; 03-16-2021 at 04:12 PM.
watani is offline   Reply With Quote
Old 03-16-2021, 03:42 PM   #5675
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Tag for new stories

Hey Guys,

A long time ago when I first started using Calibre and FFF and had no clue there was such a thing as the personal.ini I adjusted all tags by hand and a few basic setting as "new only" to prevent them from changing back upon updating.

In order for me to filter the new stories, I did some setting to add the tag "new" to all new stories. Since then I've learned a few new trick, mostly thanks to this forum.

My library has grown immensely over time and the "new" tag has kinda gotten lost in between all the others. So I want to adjust it to something that shows up at the top. But for the life of me I can't remember nor find how I did this.


Can someone point me in the right direction.
(btw, its not in my .ini file)
ackomb is offline   Reply With Quote
Advert
Old 03-16-2021, 03:52 PM   #5676
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Look in the "Standard Columns" and "Custom Columns" tabs of the configuration. There's options to assign metadata entries to columns and a new-only checkbox for each.
ownedbycats is offline   Reply With Quote
Old 03-16-2021, 04:26 PM   #5677
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by ownedbycats View Post
Look in the "Standard Columns" and "Custom Columns" tabs of the configuration. There's options to assign metadata entries to columns and a new-only checkbox for each.
I checked this first, but it only checks or unchecks what I want to set for a new story (all but 'ids' are unchecked by the way), but it doesn't allow me to literally add the tag "new" and thus change this.
ackomb is offline   Reply With Quote
Old 03-16-2021, 04:31 PM   #5678
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by watani View Post
So after testing the suggestion by ownedbycats earlier today, FFF is still updating the covers even after I explicitly put an entry under personal.ini to prevent the story's cover from updating.

Here's the entry I put in personal.ini (colored purple):

Code:
[https://www.royalroad.com/fiction/37438]
never_make_cover:true
Edit:
Apparently the first time you update a story after setting the entry under personal.ini, the story cover still updates from the website. Subsequent updates don't pull from the website anymore, which is a bit strange in terms of behavior.
Did you also remove the cover from calibre and the epub?

FFF attempts to keep and re-use the cover that's already there, for people who have replaced the cover.

I'm not seeing it do anything I didn't expect when I download that story and set the INI lines shown. Update without removing the cover keeps the cover, removing the cover (I used Modify Epub) and updating doesn't get the cover.

Quote:
Originally Posted by ackomb View Post
My library has grown immensely over time and the "new" tag has kinda gotten lost in between all the others. So I want to adjust it to something that shows up at the top. But for the life of me I can't remember nor find how I did this.
I don't know what you mean by "shows up at the top".

You can always search for tags:new and even apply a virtual library using that search.

If you want a column, create a custom column. Make it a 'built from other columns' that looks for tags:new if you like, or not as you like.
JimmXinu is offline   Reply With Quote
Old 03-16-2021, 04:41 PM   #5679
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I misunderstood ackomb's question. Try looking in Calibre Preferences > Adding Books > Adding Actions > Tags to apply when adding a book. I have mine set to @cleanup.
ownedbycats is offline   Reply With Quote
Old 03-16-2021, 05:36 PM   #5680
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there see any obvious reason why this would fail to justify the text for Fanfiction.net fics? It works for others.

Code:
add_to_replace_metadata:
## Changes breaks to paragraphs in comments for better formatting
 description=><br/>=></p><p>
 description=><p>=><p align="justify">
I looked at the metadata column for ffnet and ao3 fics at the html source of them. Both of them looked like this:

Code:
<p id="description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
I tried putting in an add_replace for <p id="description"> with a <p align="justify"> but that did not change it.

Last edited by ownedbycats; 03-16-2021 at 05:52 PM.
ownedbycats is offline   Reply With Quote
Old 03-16-2021, 06:21 PM   #5681
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
description from ffnet doesn't have any HTML in it--just plain text--nor line breaks. replace_metadata is applied at that point, so there's no HTML to try and replace.

When FFF gives the description to Calibre for book comments, Calibre wraps it in <div><p> ... </p></div>.

You could use replace_metadata to add your own wrapping HTML tags; I believe what tags are already there may affect what Calibre adds.
JimmXinu is offline   Reply With Quote
Old 03-17-2021, 11:19 AM   #5682
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
Anyone else having a problem downloading stories from SB and SV? For 3 separate stories I'm getting the following errors.


HTTPSConnectionPool(host='forums.spacebattles.com' , port=443): Max retries exceeded with url: /threads/claim-the-spoils-victor-taylor.708364/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConne ction object at 0x000002A8A3F0D220>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

HTTPSConnectionPool(host='forums.sufficientvelocit y.com', port=443): Max retries exceeded with url: /threads/wiki-warrior.64766/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConne ction object at 0x000002A8A3FC3C70>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

HTTPSConnectionPool(host='forums.sufficientvelocit y.com', port=443): Max retries exceeded with url: /threads/junk-emporium-my-hero-academia-the-celestial-forge.82039/reader/page-7?threadmark_category=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConne ction object at 0x0000024429AE6D30>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))


I'm fairly sure they're the same error just with the different URL's for the stories in them... I don't know enough to even bother reading the whole thing, but they looked close to the same anyway.
JDesat is offline   Reply With Quote
Old 03-17-2021, 11:24 AM   #5683
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JDesat View Post
Anyone else having a problem downloading stories from SB and SV? For 3 separate stories I'm getting the following errors.
...
I'm fairly sure they're the same error just with the different URL's for the stories in them... I don't know enough to even bother reading the whole thing, but they looked close to the same anyway.
That's a network error. Odds are either there's a problem in network between you and SB/SV, or, if you have been doing a lot of downloading or running simultaneous downloads, you are being blocked or throttled.

Either way, there isn't really anything we can do about it in software.
JimmXinu is offline   Reply With Quote
Old 03-17-2021, 01:30 PM   #5684
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
It's odd that it's only happening to SB and SV since I could download from FFN, AO3, QQ and RoyalRoad. I guess I'll just try later. Thanks for answering anyway!

Edit: I can also visit the sites in a browser fine, it's just the FFF download that isn't working.

Last edited by JDesat; 03-17-2021 at 01:33 PM.
JDesat is offline   Reply With Quote
Old 03-17-2021, 01:44 PM   #5685
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Both of those increase the probability you are being blocked.

Changing user_agent to a browser value might help.

You could try setting use_cloudscraper:true under [base_xenforo2forum]. It's only used by default with ffnet, but shouldn't cause any problems and might help with other sites under Cloudflare.

(Don't bother doing both--use_cloudscraper:true overrides user_agent.)
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:39 AM.


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