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 10-29-2025, 02:51 PM   #11416
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,127
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-10-29
- Preserve original titles for Reader Post blocks from fiction.live #1269, thanks MacaroonRemarkable!
- adapter_ficbooknet: Collect additional metadata #1270, thanks dbhmw!
JimmXinu is offline   Reply With Quote
Old Yesterday, 10:37 PM   #11417
ThreeLizards
Enthusiast
ThreeLizards began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
Hi, this is probably an easy answer...I'm just a little brain dead after a long day. How do I get published date to be the updated date? Please and thank you!
ThreeLizards is offline   Reply With Quote
Advert
Old Yesterday, 11:24 PM   #11418
slimcat
Junior Member
slimcat began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2025
Device: none
I recently realized how much you can do to customize FFF title pages and I’ve set that up in my personal.ini. Now I’m trying to update my existing fics so the title pages match my new format and I don’t have to edit them manually. These fics have injected covers that I want to keep. I’m using “Update Epub Always” and it’s all working as expected except I can’t figure out how to keep my cover within the epub itself.

I’ve read through the Cover page instructions on the wiki and tested out a bunch of different configurations in the cover settings (and added use_old_cover:true both in the defaults and epub sections of my personal.ini), but no matter what I’ve tried, updating wipes out the cover page xhtml file and cover image completely. I still have my cover in Calibre, so I can inject it again, but I’d like to skip that extra step if possible. From the documentation, it sounds like there’s a way to preserve the cover page in the epub itself when updating, so either I’m doing something wrong or I’m misunderstanding and you can’t preserve injected covers.
slimcat is offline   Reply With Quote
Old Today, 09:17 AM   #11419
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,127
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by ThreeLizards View Post
Hi, this is probably an easy answer...I'm just a little brain dead after a long day. How do I get published date to be the updated date? Please and thank you!
Short answer: The accepted solution is to create and populate a custom column for dateUpdated.

FFF records three dates for most stories: datePublished, dateUpdated, (both from the story metadata on site) and dateCreated (when FFF ran to create the download. These are labeled Published, Updated, and Packaged respectively.

Calibre's standard metadata has two settable date fields:
- Date (internally 'timestamp'), FFF sets it to dateCreated on any update.
- Published (internally 'pubdate'), FFF sets it to datePublished on any update.

There is not a simple way to get FFF to populate Calibre's Published field with FFF's dateUpdated.
Quote:
Originally Posted by slimcat View Post
I recently realized how much you can do to customize FFF title pages and I’ve set that up in my personal.ini. Now I’m trying to update my existing fics so the title pages match my new format and I don’t have to edit them manually. These fics have injected covers that I want to keep. I’m using “Update Epub Always” and it’s all working as expected except I can’t figure out how to keep my cover within the epub itself.
Code:
[defaults]
## If set, on EPUB update, the existing EPUB cover will be used,
## taking precedence over specific, first image, and
## default_cover_image, but not force_cover_image
use_old_cover:true
I would also suggest you setup an FFF Saved Metadata Column. It won't help with updating title pages inside books, but will with updating customized Calibre metadata.
JimmXinu is offline   Reply With Quote
Old Today, 09:54 AM   #11420
wildfire070
Connoisseur
wildfire070 is on a distinguished road
 
Posts: 60
Karma: 72
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma, Tab Mini // Supernote
I don't normally download from wattpad, but I've got a few authors who only post to that site. When I download from there, it gives me a "Reads" entry on the titlepage even though I do NOT have this in the wattpad section of my personal.ini
Code:
extra_titlepage_entries: reads
Is there a way to exclude this from showing in my titlepage?

This is all I have in my standard titlepage entries:
Code:
titlepage_entries:<div class="inline">,seriesHTML,rating,datePublished,dateUpdated,numChapters,numWords,genre,</div>
wildfire070 is offline   Reply With Quote
Advert
Old Today, 10:32 AM   #11421
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,127
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by wildfire070 View Post
I don't normally download from wattpad, but I've got a few authors who only post to that site. When I download from there, it gives me a "Reads" entry on the titlepage even though I do NOT have this in the wattpad section of my personal.ini
Code:
extra_titlepage_entries: reads
Is there a way to exclude this from showing in my titlepage?

This is all I have in my standard titlepage entries:
Code:
titlepage_entries:<div class="inline">,seriesHTML,rating,datePublished,dateUpdated,numChapters,numWords,genre,</div>
Some devs, when adding site specific metadata, also add it to the title page by default.

In this case, you should be able to clear it in personal.ini with:
Code:
[wattpad.com]
extra_titlepage_entries:
JimmXinu is offline   Reply With Quote
Old Today, 06:17 PM   #11422
slimcat
Junior Member
slimcat began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2025
Device: none
Quote:
Originally Posted by JimmXinu View Post
Multi-reply

Code:
[defaults]
## If set, on EPUB update, the existing EPUB cover will be used,
## taking precedence over specific, first image, and
## default_cover_image, but not force_cover_image
use_old_cover:true
I must be missing something here or misunderstanding how this is supposed to work, because I already have use_old_cover:true in my defaults.
I've also tried adding it to the epub section since the default.ini talks about it there, but my injected cover pages & images are still getting deleted from inside the epub on update.

I’ve set up a new library to test, simplified the epub customizations in my personal.ini in the test library, and tried every plugin cover setting configuration I can think of, but I still can’t find a way to keep the existing covers within the epub itself.

To be clear, I'm having no problem keeping my Calibre covers, just the injected ones.

Code:
## Mel's personal configuration (test library).
## Uncomment options by removing the '#' in front of them.

[defaults]

is_adult:true
collect_series: true
use_old_cover:true

## My customized titlepage_entries and the label used for them:
## <entryname>_label:<label>
characters_label:Additional Characters
description_label:Description
dateRange_label:Published

datePublished_format:%%B %%d, %%Y
dateUpdated_format:%%B %%d, %%Y
add_to_extra_valid_entries:,dateRange
include_in_dateRange:datePublished,dateUpdated
keep_in_order_dateRange:true

add_to_replace_metadata:
# same year      1          2            3        4          5
 dateRange_LIST=>([^\s]+)\s+(\d{1,2}),\s+(\d{4}), ([^\s]+)\s+(\d{1,2}),\s+\3=>\1 \2–\4 \5, \3
# same month     1          2              3            4
 dateRange_LIST=>([^\s]+)\s+(\d{1,2})[-–]\1\s+(\d{1,2}),\s+(\d{4})=>\1 \2–\3, \4
# different years
 dateRange_LIST=>([^\s]+)\s+(\d{1,2}),\s+(\d{4}), ([^\s]+)\s+(\d{1,2}),\s+(\d{4})=>\1 \2, \3 – \4 \5, \6

[epub]

## (Note that Anthology epubs will still be epub 2.0 only until
## EpubMerge learns to write epub 3.0.)
epub_version:3.0

use_old_cover:true

## If set to 'smart', logpage will only be included if the story is
## status:In-Progress or already had a logpage.
include_logpage: smart
logpage_entries: dateCreated,datePublished,dateUpdated,numWords,words_added,chapterslashtotal,status

## metadata ${title}, etc.  Make sure to keep at least one space
## at the start of each line and to escape % to %%.
titlepage_start:<?xml version='1.0' encoding='utf-8'?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en" lang="en">
 <head>
    <meta charset="utf-8"/>
 <title>${title} by ${author}</title>
 <link href="stylesheet.css" type="text/css" rel="stylesheet"/>
 </head>
 <body class="summary">
 <h2>Summary</h2>
 <div class="metadata">

## ${id}, ${label}, ${value}
titlepage_entry:
 <p><b>${label}:</b> ${value}</p>

## metadata
titlepage_end:
 </div>
 <h3>Description:</h3>
 ${description}
 </body>
 </html>

[epub]

[archiveofourown.org]

use_basic_cache:true
##use_archiveofourown_gay:true
username:XXXXXXXX
password:XXXXXXXX

## Summary page metadata and order
titlepage_entries:title,author,seriesHTML,fandoms,storyUrlHTML,dateRange,status,rating,warnings,numWords,chapterslashtotal,ships,characters,freeformtags

include_subject_tags:fandoms,ships,status

add_to_extra_valid_entries:,storyUrlHTML
include_in_storyUrlHTML:storyUrl

## Add extra metadata fields:
add_to_replace_metadata:
 seriesHTML=><a[^>]*>([^<]+?)\s*\[(\d+)\]\s*</a>=>Part \2 of <a href="%%series00Url%%">\1</a>
 storyUrlHTML=>^https?://(archiveofourown\.org/works/\d+)$=><a href="https://\1">\1</a>
 characters=>\s*\([^)]*\)(?=\s*(?:,|$))=>
 chapterslashtotal=>^\s*(\d+)\s*/\s*\1\s*$=>\1
 description=>^<div class="userstuff">\s*=> 
 description=>\s*</div>\s*$=>
 
keep_in_order_fandoms:true
keep_in_order_ships:true
keep_in_order_characters:true
keep_in_order_freeformtags:true

fandoms_label:Category
chapterslashtotal_label:Chapters
freeformtags_label:Tags
storyUrlHTML_label:Source

exclude_metadata_pre:
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
 status==Completed

strip_chapter_numbers:true
## Remove the site's leading number ("1.", "2 -", "10:") **only if**
## the remainder is exactly "Chapter <num>", "Prologue", or "Epilogue".
## Keep the number when there's a real title.
chapter_title_strip_pattern:(?i)^[0-9]+[\.: -]+\s*(?=chapter\s*\d+\s*$|prologue\s*$|epilogue\s*$)

## Uncomment out for Anthologies where works operate like chapters and
## don't need their own individual summary page:
## include_titlepage:false

exclude_notes:authorheadnotes,chaptersummary,chapterheadnotes,chapterfootnotes,authorfootnotes
## inspiredlinks

[overrides]
## default varies by site.
Here are some of the settings I’ve tried that retain the Calibre cover but delete the cover page file and image from within the epub:
Spoiler:

1)
- Update Calibre Cover (from EPUB): Yes, if EPUB has a cover image
- Set Calibre Cover Only for New Books: On
- Generate Calibre Cover: No

2)
- Update Calibre Cover (from EPUB): No
- Generate Calibre Cover: No

3)
- Update Calibre Cover (from EPUB): Yes, if EPUB has a cover image
- Set Calibre Cover Only for New Books: On
- Generate Calibre Cover: Yes, unless FanFicFare found a cover image
- Generate Covers Only for New Books: On
- Inject/update the generated cover inside EPUB: On

4)*
- Update Calibre Cover (from EPUB): No
- Generate Calibre Cover: Yes, unless FanFicFare found a cover image
- Generate Covers Only for New Books: Off
- Inject/update the generated cover inside EPUB: On

5)*
- Update Calibre Cover (from EPUB): Yes, if EPUB has a cover image
- Set Calibre Cover Only for New Books: On
- Generate Calibre Cover: Yes, unless FanFicFare found a cover image
- Generate Covers Only for New Books: Off
- Inject/update the generated cover inside EPUB: On

*If "Update Calibre metadata" is checked during Update Always, settings 4 & 5 generate a new cover, update the Calibre cover, and inject the cover in the epub. Even if Update Calibre Cover is set to No. (see screenshots)



I feel like I must be missing something obvious here. Like I said before, I can always inject the Calibre covers into the epubs again, but I'd prefer to skip that step if it's possible, especially because of all the ORIGINAL_EPUB backups this creates.
Attached Thumbnails
Click image for larger version

Name:	1 Calibre cover plugin settings.png
Views:	3
Size:	396.7 KB
ID:	218957   Click image for larger version

Name:	2 epub before update.jpg
Views:	2
Size:	251.1 KB
ID:	218958   Click image for larger version

Name:	3 update settings v1.jpg
Views:	2
Size:	266.2 KB
ID:	218959   Click image for larger version

Name:	4 update result v1.jpg
Views:	3
Size:	422.0 KB
ID:	218960   Click image for larger version

Name:	5 update result v2.jpg
Views:	3
Size:	241.1 KB
ID:	218961  
slimcat 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 01:36 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 07:37 PM.


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