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-21-2023, 10:21 PM   #8236
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-03-21
- adapter_wattpadcom: Fix accidentally hardcoding a story in.
- adapter_ficbooknet: Fix for site change.

Quote:
Originally Posted by JimmXinu View Post
It looks like ficbook.net is serving it's pages with cache life set to 0 now, so the browser doesn't cache them.

Which means you can't use FFF's Browser Cache feature with it.

You might try one of the Proxy servers instead. FlareSolverr just had a new version come out...
I tried the new FlareSolverr v3.1.0--it has a windows executable version again with needing Docker--and there was also a site change for ficbook.net.
JimmXinu is offline   Reply With Quote
Old 03-22-2023, 02:38 PM   #8237
HobeJung
Junior Member
HobeJung began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2023
Device: Amazon
Unhappy Plug FanFicFare

After updating the plug "FanFicFare" I can no longer download books. I put the link but the book does not download.
HobeJung is offline   Reply With Quote
Advert
Old 03-22-2023, 03:13 PM   #8238
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by HobeJung View Post
After updating the plug "FanFicFare" I can no longer download books. I put the link but the book does not download.
Moderator Notice
I've moved your post to the appropriate thread. Please use the existing threads for plugins. -- Jimm

There's an issue with the Wattpad site--a recent site change that prevents chapter URLs from working while story URLs containing /story/ still do.

There's a fix already up in the test version.

Otherwise, I will need at least a story URL that doesn't work for you before I can help.
JimmXinu is offline   Reply With Quote
Old 03-24-2023, 12:14 PM   #8239
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,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is possible to collect an AO3 series description without an anthology?

Last edited by ownedbycats; 03-24-2023 at 12:17 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 12:31 PM   #8240
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
No, that's not part of the story metadata--it's only on the series page.
JimmXinu is offline   Reply With Quote
Advert
Old 03-24-2023, 12:42 PM   #8241
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,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I think I can pull it off with a replace_metadata using a seriesUrl conditional.

How would I regex to prepend an arbitrary HTML string to the actual description?

Alternately, if I create a custom entry, could I somehow set that to an arbitrary value based on a conditional? It would let me put it on the tittle page.

Last edited by ownedbycats; 03-24-2023 at 12:48 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 12:53 PM   #8242
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Make a custom column, manually put the value in it, use the "Pass Calibre Columns into FFF" feature to feed it back into FFF.
JimmXinu is offline   Reply With Quote
Old 03-24-2023, 01:11 PM   #8243
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,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That works. I think a Series Description column would work for non-fanfic too.

Update: I added calibre_cust_seriesdescription to the AO3 titlepage_entries: (only site that has descriptions) and now the description is on the titlepage.

Last edited by ownedbycats; 03-24-2023 at 03:41 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 04:17 PM   #8244
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,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
New question. Is there a way to remove the extra linebreak here:

Click image for larger version

Name:	2023-03-24 17_16_02-Deadfall [EPUB] — E-book viewer.png
Views:	409
Size:	58.8 KB
ID:	200594

since there's a <p>, the <br /> isn't really necessary.

Code:
<b>Series Description:</b> <div>
<p align="justify" style="font-style: italic">blah blah blah</p></div><br />

<b>Summary:</b> <div class="userstuff">
              <p align="justify">blah blah blah</p>
            </div><br />
Code:
[archiveofourown.org]

titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,ao3chaps,numWords,publisher,calibre_cust_seriesdescription,description

Last edited by ownedbycats; 03-24-2023 at 04:27 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 04:44 PM   #8245
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
If you want to take responsibility for adding line break formatting to all entries, you could change titlepage_entry.

From the Custom Output wiki page:
Code:
## ${id}, ${label}, ${value}
titlepage_entry:<b>${label}:</b> ${value}<br />
It might work to change the br to have a class containing the id and then apply a CSS to that class to not have regular line break behavior:

Code:
## ${id}, ${label}, ${value}
titlepage_entry:<b>${label}:</b> ${value}<br class="te_${id}" />

add_to_output_css:
 br.te_seriesHTML { display: none; }
I haven't tested that beyond Calibre Edit book. It may not be that simple.
JimmXinu is offline   Reply With Quote
Old 03-25-2023, 12:06 AM   #8246
jan2544213
Junior Member
jan2544213 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: none
The new version works perfectly. Thank you so much!
jan2544213 is offline   Reply With Quote
Old 03-28-2023, 07:47 PM   #8247
junni
Member
junni began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
Hi Jimmy i had a novel in novelfullplus (i made the adapter based on yours) which i was updating, but the site went down. So in another site which has basically the same structure (novelnext.com), when i try updating the novel, it redownloads everything again, just to update the newest chapters. Is there a way for it to only download the newest chapters? I think i might need to change something inside the book maybe?
i'm happy to provide more info if you need.


Another question, when i'm downloading a long novel, some websites might give a 520 error during download. is there a way to resume the downloads instead of trying to redownload everything again?

Last edited by junni; 03-28-2023 at 07:49 PM.
junni is offline   Reply With Quote
Old 03-28-2023, 08:50 PM   #8248
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FFF stores the chapter URL in a <meta> tag in the header of each chapter file. When it doesn't match, FFF assumes it needs to be replaced.

You could try removing the <meta name="chapterurl" ... > tags from the epub before updating with the new site--if you are very confident that the chapters line up the same.

But it would be a lot safer to download from the new site as a different book. You could use a storyUrl personal.ini section to set first_chapter:X for the new URL to force FFF to always act as if you'd entered the URL with [X-] after it.

first_chapter is an undocumented feature, but we're already talking about unsupported sites, so why not.

Setting continue_on_chapter_error:true records failed chapters while continuing on. Error chapters will be replaced, if possible, on Update. Note that FFF will continue to try every chapter--so if starts failing at chapter 5 of 500, you may be waiting through failed 495 chapter attempts.

Setting a slow_down_sleep_time of a few seconds for the site may well help.

I've explained before how you can break up the download of long stories using the chapter range feature on the story URL.

(And please don't call me Jimmy.)
JimmXinu is offline   Reply With Quote
Old 03-28-2023, 09:50 PM   #8249
junni
Member
junni began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
Quote:
Originally Posted by JimmXinu View Post
FFF stores the chapter URL in a <meta> tag in the header of each chapter file. When it doesn't match, FFF assumes it needs to be replaced.

You could try removing the <meta name="chapterurl" ... > tags from the epub before updating with the new site--if you are very confident that the chapters line up the same.

But it would be a lot safer to download from the new site as a different book. You could use a storyUrl personal.ini section to set first_chapter:X for the new URL to force FFF to always act as if you'd entered the URL with [X-] after it.

first_chapter is an undocumented feature, but we're already talking about unsupported sites, so why not.

Setting continue_on_chapter_error:true records failed chapters while continuing on. Error chapters will be replaced, if possible, on Update. Note that FFF will continue to try every chapter--so if starts failing at chapter 5 of 500, you may be waiting through failed 495 chapter attempts.

Setting a slow_down_sleep_time of a few seconds for the site may well help.

I've explained before how you can break up the download of long stories using the chapter range feature on the story URL.

(And please don't call me Jimmy.)
Jimm, sorry, i don't know why, but i always read your name as Jimmy. Won't happen again.

About the solutions you mentioned, changing the the meta tag or removing, doesn't seem feasible, since it's a 2000+ chapter story. For the first chapter and chapter range solution, i would have to be constantly editing it, and it's troublesome since i have a lot of novels in this situation. (but it was good to know these options)

continue_on_chapter_error:true seems great, but for this situation would be cool if we could set some kind of buffer time before continuing.

"slow_down_sleep_time" seems the way to go. i currently have on 3, which i assume is 3 seconds. Maybe i should set it on 5.
junni is offline   Reply With Quote
Old 03-28-2023, 09:56 PM   #8250
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,976
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I think it's just "Jim" and the extra m is for his last name. (I'm not sure about the Xinu part.)
ownedbycats 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 08:01 AM.


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