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 07-15-2024, 09:32 PM   #9736
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
Will FFF update the file itself or replace it?
example if the author deleted chapter 5, would it reflect that or will it only add the new chapters
ninjadudedxp is offline   Reply With Quote
Old 07-15-2024, 09:47 PM   #9737
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ninjadudedxp View Post
Will FFF update the file itself or replace it?
example if the author deleted chapter 5, would it reflect that or will it only add the new chapters
Depends on the update mode you use. See Update Modes wiki page, come back if that doesn't answer your question.
JimmXinu is offline   Reply With Quote
Old 07-15-2024, 09:52 PM   #9738
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,475
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If the author's deleting chapters, it's probably best to overwrite the thing - I've seen several fics end up going out-of-order when the author is simultaneously deleting and adding new chapters. I've also DNF'd fics when the author keeps doing it over and over.

Last edited by ownedbycats; 07-15-2024 at 09:55 PM.
ownedbycats is online now   Reply With Quote
Old 07-15-2024, 09:54 PM   #9739
TaviCalderon
Enthusiast
TaviCalderon began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
bless you, truly. i had no idea that where you put the lines mattered depending on which [__] it is stuck under, but in retrospect, duh. also good to know about the colorcoding! didn't realize magenta meant "maybe".

weirdly enough i did have all of the _labels under the [archiveofourown.org] section, but i did NOT have the titlepage_entries or extra_titlepage_entries or...basically anything else under [defaults]. i went back and copied the plugin-defaults.ini section into my personal.ini and edited titlepage_entries & extra_titlepage_entries up there as needed, kept all my _labels for things like ao3 categories where they were under the [archiveofourown.org] section, and what do you know a whole bunch of things work just fine now, including the label names i wanted.

i definitely messed some things up just by not having a bunch of the defaults up there, thinking ahh if i removed them i won't have to scroll down so far to get to the [archiveofourown.org] section...i promise i will stop deleting very important default things now!! thank you so much for your help lol


last question (for now): is there a way to override for title pages: "## All current formats already include title and author" ? i'm wondering if i can remove the author (and hyperlink for the author's ao3 page) from the top of every title page where it says "Work Title by Author Name". i can't seem to find a way to configure that, only a bunch of ways to edit metadata in bulk, which from what i understand only edits the metadata in calibre's columns, not the actual titlepage inside the book.
TaviCalderon is offline   Reply With Quote
Old 07-15-2024, 10:32 PM   #9740
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by TaviCalderon View Post
last question (for now): is there a way to override for title pages: "## All current formats already include title and author" ? i'm wondering if i can remove the author (and hyperlink for the author's ao3 page) from the top of every title page where it says "Work Title by Author Name". i can't seem to find a way to configure that, only a bunch of ways to edit metadata in bulk, which from what i understand only edits the metadata in calibre's columns, not the actual titlepage inside the book.
For that, you need to customize the HTML output, not just what entries appear. There's a CustomOutput wiki page. You want to look at the titlepage_start setting.
JimmXinu is offline   Reply With Quote
Old 07-15-2024, 11:09 PM   #9741
TaviCalderon
Enthusiast
TaviCalderon began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
thank you very much!! this page has everything i was looking for, you're the best!!

TaviCalderon is offline   Reply With Quote
Old 07-16-2024, 12:52 PM   #9742
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 77
Karma: 76
Join Date: Apr 2019
Device: none
ScribbleHub and Title Changes
-----

I've run into an annoyance with ScribbleHub recently. When an author changes the title of their story, it changes the URL for it as well. For example, here are three recent URLs for the same story, all of which still work:

https://www.scribblehub.com/series/8...potter-litrpg/
https://www.scribblehub.com/series/8...-arcane-thief/
https://www.scribblehub.com/series/8...-thief-litrpg/

If I find the book in Calibre and update it with FanFicFare, it works just fine. However, if I pull the URL from the recent updates list, I get a new book with every new title instead of updating the existing one. If I forget to delete the old one and they change the name back, it goes back to updating that old one.

I have verified that the last part of the URL is unnecessary and you can access the story with the shortened URL of:

https://www.scribblehub.com/series/862913/

It works with or without the trailing slash. So, I was wondering if you would be willing to change the ScribbleHub adapter to shorten the Story URL like the RoyalRoad adapter does?

- Andrew
applegaa is online now   Reply With Quote
Old 07-16-2024, 01:33 PM   #9743
TaviCalderon
Enthusiast
TaviCalderon began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
hi, back again already, sorry.

how would someone make the work summary italicized? i found where you advised someone in order to do that for the author notes you'd just add the below to the css output, which is awesome:

Spoiler:

Code:
add_to_output_css:
 div.fff_chapter_notes {
         font-style: italic;
    }


but when i try to change the name from fff_chapter_notes to fff_description, it doesn't work. im guessing i don't have the ID right for the summary/description section of the work, but i also can't find what else it would be called!
TaviCalderon is offline   Reply With Quote
Old 07-16-2024, 02:10 PM   #9744
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-07-16
- Allow scribblehub.com story URLs w/o title and search calibre w/o title

Quote:
Originally Posted by applegaa View Post
ScribbleHub and Title Changes
I feel like this has come up before. But it may have been a different site.

Let's try this: I've changed the adapter to accept URLs w/o title, but to still use it, and code to that Plugin that searches for existing books without the title.

I don't read this site, so I'm depending on you guys to tell me if it does something unintended.
JimmXinu is offline   Reply With Quote
Old 07-16-2024, 02:58 PM   #9745
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by TaviCalderon View Post
hi, back again already, sorry.

how would someone make the work summary italicized?
The default title page HTML isn't very easily customized like that.

But it's not terrible difficult to add custom HTML for that purpose.
The default is very basic:
Code:
## Default:
## ${id}, ${label}, ${value}
titlepage_entry:<b>${label}:</b> ${value}<br />
You can pretty easily add classes and IDs for CSS. But there is a twist: For Summary and a few others, you need to also clear wide_titlepage_entries, otherwise they'll use titlepage_wide_entry.

Here's one possibility:
Code:
[epub]
#include_tocpage:true
titlepage_entry:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />
wide_titlepage_entries:

add_to_output_css:
 #description_value {
    font-style:italic;
 }
Years ago, FFF made the title page using <table> tags and Summary(description) was a 'wide' entry that spanned two columns. FFF has special code for titlepage_use_table from before you could customize the HTML.

I'm looking at how that code could be 'fixed' to be more intuitive.
JimmXinu is offline   Reply With Quote
Old 07-16-2024, 03:15 PM   #9746
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-07-16
- Allow scribblehub.com story URLs w/o title and search calibre w/o title
- Use titlepage_entry for titlepage_wide_entry unless explicitly set.

Shouldn't need to clear wide_titlepage_entries now.
JimmXinu is offline   Reply With Quote
Old 07-16-2024, 11:12 PM   #9747
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
Ok i see add update chapters only, would this be a part of personal.ini somewhere? Im using the Automation which i think is only using FFF command line.
ninjadudedxp is offline   Reply With Quote
Old 07-16-2024, 11:28 PM   #9748
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ninjadudedxp View Post
Ok i see add update chapters only, would this be a part of personal.ini somewhere? Im using the Automation which i think is only using FFF command line.
This thread is specifically for the Calibre Plugin version of FFF, so I assume questions here are about the plugin.

The FFF CLI version is a bit different, the CLI options -u/--update-epub, -U/--update-epub-always and --force control updates. See the CLI -h/--help list.

I don't know anything about "the Automation", it's not something I use or support.
JimmXinu is offline   Reply With Quote
Old 07-17-2024, 08:32 PM   #9749
TaviCalderon
Enthusiast
TaviCalderon began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
hi,

i added the below to my personal.ini, but it didn't seem to change anything or make the summaries italicized. did i miss something? should i have plugged the word "description" into something on the titlepage_entry: line?

Spoiler:

Code:
titlepage_entry:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />

add_to_output_css:
 #description_value {
    font-style:italic;
 }


sorry, i know nothing about css or coding in general so i'm not sure where i went wrong. i added this under the [epub] section since that's the only format i have anything in.
TaviCalderon is offline   Reply With Quote
Old 07-17-2024, 09:57 PM   #9750
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,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by TaviCalderon View Post
i added the below to my personal.ini, but it didn't seem to change anything or make the summaries italicized. did i miss something? should i have plugged the word "description" into something on the titlepage_entry: line?
Did you install the latest test version?

If not, you also need wide_titlepage_entries: like I mentioned earlier.

Other than that, I don't see anything wrong.
Quote:
Originally Posted by TaviCalderon View Post
sorry, i know nothing about css or coding in general so i'm not sure where i went wrong. i added this under the [epub] section since that's the only format i have anything in.
If you want to customize your output to the level that you apparently do, I suggest learning at least a little HTML and CSS.
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 527 08-15-2025 02:36 PM
[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 03:11 AM.


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