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-24-2023, 01:14 PM   #8236
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: 11,510
Karma: 81408765
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 01:17 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 01:31 PM   #8237
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: 7,254
Karma: 5007213
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
Old 03-24-2023, 01:42 PM   #8238
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: 11,510
Karma: 81408765
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 01:48 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 01:53 PM   #8239
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: 7,254
Karma: 5007213
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, 02:11 PM   #8240
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: 11,510
Karma: 81408765
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 04:41 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 05:17 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: 11,510
Karma: 81408765
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:	417
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 05:27 PM.
ownedbycats is offline   Reply With Quote
Old 03-24-2023, 05:44 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: 7,254
Karma: 5007213
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, 01:06 AM   #8243
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, 08:47 PM   #8244
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 08:49 PM.
junni is offline   Reply With Quote
Old 03-28-2023, 09:50 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: 7,254
Karma: 5007213
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, 10:50 PM   #8246
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, 10:56 PM   #8247
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: 11,510
Karma: 81408765
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
Old 03-28-2023, 11:14 PM   #8248
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,857
Karma: 176799834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Unix backwards? A user/lover of the Xinu is not Unix operating system?
DNSB is offline   Reply With Quote
Old 03-28-2023, 11:36 PM   #8249
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: 7,254
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
My real name is not particularly secret, just very common.

Some 25 years ago, I adopted xinu in various forms for when I need something somewhat more unique. At the time, I had a friend who had had XINU as his license plate, and had a whole story about a coworker of his not getting it until seeing it in the rear view mirror.
JimmXinu is offline   Reply With Quote
Old 03-28-2023, 11:51 PM   #8250
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,857
Karma: 176799834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JimmXinu View Post
My real name is not particularly secret, just very common.

Some 25 years ago, I adopted xinu in various forms for when I need something somewhat more unique. At the time, I had a friend who had had XINU as his license plate, and had a whole story about a coworker of his not getting it until seeing it in the rear view mirror.
Makes sense. BTW, I was browsing the FanFicFare FAQs and unless you deliberately select the Restructure Epub to Sigil Norm tool in Sigil, you can edit FanFicFare generated anthologies without causing issues.
DNSB 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 529 Today 11:32 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 04:10 PM.


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