![]() |
#9376 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,064
Karma: 62040591
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#9377 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jun 2019
Device: Kobo
|
|
![]() |
![]() |
Advert | |
|
![]() |
#9378 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2023-03-18 - syosetu: make numeric metadata robust against wording changes - thanks praschke |
![]() |
![]() |
![]() |
#9379 |
Member
![]() Posts: 22
Karma: 10
Join Date: Jul 2023
Device: Calibre
|
![]()
Recently I started experimenting with manually defining a titlepage for works hosted on XenForo based forums and added the following to [base_xenforoforum]
Spoiler:
At the time [base_xenforoforum] contained the following: Spoiler:
After making changes to [base_xenforoforum] I tried updating a few works using Overwrite Always to test whether my titlepage was generated correctly, and I noticed some of them had titles where the tags in the title were not removed. Some of the ones I noticed this behaviour on are this work, this work, and also this work. I then tried adding the ini settings to [base_xenforo2forum] instead of [base_xenforoforum] which fixed the tags from title issue but I'd rather not have it in [base_xenforo2forum] as QQ is as of yet not on XF2. I'm currently running FanFicFare version 4.32.3 I'd appreciate any help in figuring out what's going wrong/what I'm doing wrong. Last edited by w4tchdoge; 03-19-2024 at 03:09 PM. |
![]() |
![]() |
![]() |
#9380 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
If you put it in any other section in the chain instead, it will work. Put all your titlepage settings under [base_xenforoforum:epub] and you'll be fine. |
||
![]() |
![]() |
Advert | |
|
![]() |
#9381 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Initial testing shows FFF's XF2 support works on it as-is, but adapter_forumquestionablequestingcom will require a code change to switch. |
|
![]() |
![]() |
![]() |
#9382 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Jul 2023
Device: Calibre
|
Quote:
![]() I will admit that I don't use QQ as much but it'll be nice to see the site updated to have (I assume) feature parity with SB and SV. |
|
![]() |
![]() |
![]() |
#9383 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Jun 2018
Device: none
|
Seems the slow_down_sleep_time in personal.ini stopped working as intended. I noticed the requests going through unexpectedly quick, to test this I set the sleep time even higher:
slow_down_sleep_time:99 Then I checked a bunch of fics from the same site for updates and had the following time periods (in s) between requests sent to flaresolverr: 24, 16, 25, 17, 28, 28, 27, 19 With 99 it should be between 50 and 150, so something is clearly wrong here. |
![]() |
![]() |
![]() |
#9384 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
A number of [<site>] sections have a slow_down_sleep_time setting in defaults.ini. If you put slow_down_sleep_time under [defaults] in personal.ini, those [<site>] sections in defaults.ini will take precedence over [defaults] in personal.ini. Set it in personal.ini under the specific [<site>] section or [overrides] instead. Alternatively, since the numbers you quote are larger than site's default, I would you have more than one slow_down_sleep_time setting, possibly in more than one copy of the same [<section>] that are conflicting. If you run in debug mode, each fetch will explicitly state it's sleep time like: Code:
FFF: DEBUG: 2024-03-19 17:19:15,288: decorators.py(123): random sleep(49.50-148.50):139.64 |
|
![]() |
![]() |
![]() |
#9385 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,064
Karma: 62040591
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question:
How would I take the contents of calibre_cust_seriesdesc (composite column containing HTML) and insert that on just the title page to look like part the description? Note that most of the time, the column will just be blank. Additional context: Since Calibre added metadata notes, I've been moving my series descriptions from the book comments to the series-specific notes. Before, I used replace_metadata to prepend the series description to the book comments but since #seriesdesc also displays that text in book details it'd be duplicated. EDIT: Code:
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,ao3chaps,numWords,publisher,calibre_cust_seriesdesc,description Last edited by ownedbycats; 03-19-2024 at 07:25 PM. |
![]() |
![]() |
![]() |
#9386 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Code:
add_to_titlepage_entries:,calibre_cust_seriesdesc |
|
![]() |
![]() |
![]() |
#9387 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,064
Karma: 62040591
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Here's what I tried. This is under the AO3 section.
Code:
## Titlepage including ao3chaps and series description titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,ao3chaps,numWords,publisher,calibre_cust_seriesdesc,description description_label: calibre_cust_seriesdesc_label: However, I've also got a <br /> and between seriesdesc and description. resulting in a weird-looking gap. I've attached the book I was testing with. Any ideas? |
![]() |
![]() |
![]() |
#9388 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,451
Karma: 4276871
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
EPUB Title Page Custom Output Wiki Page
The <br /> tag comes from default titlepage_entry which is effectively: Code:
titlepage_entry: <b>${label}:</b> ${value}<br /> Code:
## Note that this version will *not* remove <br /> tags when a metadata is empty. titlepage_entries: seriesHTML,<br />,category,<br />,genre,<br />,language,<br />,characters,<br />,ships,<br />,status,<br />,datePublished,<br />,dateUpdated,<br />,dateCreated,<br />,rating,<br />,warnings,<br />,numChapters,<br />,numWords,<br />,publisher,<br />,description ## Or maybe: title_label:<br />Title storyUrl_label:<br />Story URL ## ... ![]() Example: Code:
titlepage_entry: <div class='titlepage_entry' id='${id}'><span class='label'>${label}:</span> <span class='value'>${value}</span></div> # otherwise description uses titlepage_wide_entry wide_titlepage_entries: add_to_output_css: .titlepage_entry .label { font-weight: bold;} #description > .label { display: none; } |
![]() |
![]() |
![]() |
#9389 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 290364
Join Date: Jul 2021
Device: iPhone
|
With my current personal.ini I get these results. <attached> I manually put the series description into the epub's metadata then updated it again through FFF to add the series description to the title page, not sure if that's your process as well since I'm not familiar with this. I also put the composite column in titlepage_entries just to demonstrate what it'd look like if added there.
I have the series description and summary on my titlepage_end instead of titlepage_entries. Code:
titlepage_end: </dl> <div class="flex-parent display-on-cover"> <div class="flex-child-edge"></div> <div class="flex-child-text stats"><span>${rating}</span> ${icons} ${numWords} ◈ ${chapterslashtotal}</div> <div class="flex-child-edge"></div> </div> <div class="flex-parent display-on-reader"> <div class="flex-child-edge"></div> <div class="flex-child-text">${icons}</div> <div class="flex-child-edge"></div> </div> <div class="tag-summary-content">${calibre_cust_seriesdesc}${description}</div> </body> </html> Code:
.fff_titlepage .tag-summary-content p { margin-top: 0; } |
![]() |
![]() |
![]() |
#9390 |
Member
![]() Posts: 22
Karma: 10
Join Date: Jul 2023
Device: Calibre
|
![]()
I've started fiddling with cover generation settings since my current setup (image) means that the covers on stories hosted on XenForo forums get set as the Calibre cover when I'd rather use the Generate Covers plugin to make covers for them.
I tried changing the settings to this (image) and this got the results I wanted but also meant that the same would apply to works from Scribble Hub and Royal Road, and since
I reverted to my original settings (image) and tried adding the following to my ini. Spoiler:
But that didn't trigger the GC plugin on XenForo works that did have covers. I'm assuming this is because the ini setting does not override the Generate Calibre Covers setting in the main FanFicFare Plugin settings. Would it be possible to have the generate_cover_settings ini setting override the "Yes, unless FanFicFare found a cover image" Generate Calibre Covers setting? Or perhaps have a new ini setting where you can override the Generate Calibre Covers setting from the FanFicFare Plugin settings? To clarify, my desired outcome is to be able to:
I would greatly appreciate any help (in case there is an ini setting for this and I've missed it) or answers on whether this feature might be implemented (I recognize that this is sort of a very roundabout way of asking for a feature that—to my knowledge at least—doesn't exist) |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |