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 Today, 06:05 AM   #11101
MorbPtact
Junior Member
MorbPtact began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2024
Device: kindle
I don't know if this has been brought up before (searching didn't find it), but is there a way to update the ToC (which I assume is generated by calibre) with the date each chapter was downloaded?

I assume that you would do this by either having an "update date" column, whose information would be copied into the ToC for each chapter as it is updated (though this would only work if the ToC is just updated each time, not regenerated from scratch), or by having FFF add the current date to the chapter title.

Is there such a possibility? It would be nice to be able to easily go straight to the most recently downloaded chapters, for example (I read off of a kindle, and it doesn't keep my progress when FFF updates the book from calibre).

Thank you!
MorbPtact is online now   Reply With Quote
Old Today, 10:05 AM   #11102
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,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by MorbPtact View Post
I don't know if this has been brought up before (searching didn't find it), but is there a way to update the ToC (which I assume is generated by calibre) with the date each chapter was downloaded?
When each chapter was downloaded? No.

But there are two features you might benefit from.

First is my solution to your problem: mark_new_chapters
Code:
## If true, when updating an epub that already has old chapters, new
## chapters will be marked in the TOC and chapter header by using
## chapter_title_new_pattern and chapter_title_addnew_pattern to set
## the chapter title.
## If set to latestonly, only new chapters downloaded this time will
## be marked (new) and existing chapters will have any (new) marks
## removed.
##
## mark_new_chapters can be true, false or latestonly
mark_new_chapters:false
Second, some sites give a posted date with each chapter, including AO3:
Code:
## AO3 chapters have 'date' available for each chapter.
## These can be used with custom output (see
## https://github.com/JimmXinu/FanFicFare/wiki/CustomOutput ) or with
## chapter_title_*_pattern settings.
## Examples for html & epub:
#[html]
#tocpage_entry:
# <a href="#section${index04}">${chapter}</a> ${date}<br />
#[epub]
#tocpage_entry:
# <a href="file${index04}.xhtml">${chapter}</a> ${date}<br /><br />

## The 'date' value for chapters mentioned above can be formated with
## datechapter_format.  Otherwise it will default to
## datePublished_format
#datechapter_format:%%Y-%%m-%%d
FYI, XenForo sites (SB/SV/QQ/etc) have datethreadmark instead of datechapter because it's the date the threadmark was made, not the date the chapter was posted.
JimmXinu is online now   Reply With Quote
Advert
Old Today, 03:18 PM   #11103
Lemur4000
Junior Member
Lemur4000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2024
Device: Kindle
Is there a way for me to add a tag for books that do not have a cover already?
Lemur4000 is offline   Reply With Quote
Old Today, 03:33 PM   #11104
MorbPtact
Junior Member
MorbPtact began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2024
Device: kindle
First is my solution to your problem: mark_new_chapters
Code:
## If true, when updating an epub that already has old chapters, new
## chapters will be marked in the TOC and chapter header by using
## chapter_title_new_pattern and chapter_title_addnew_pattern to set
## the chapter title.
## If set to latestonly, only new chapters downloaded this time will
## be marked (new) and existing chapters will have any (new) marks
## removed.
##
## mark_new_chapters can be true, false or latestonly
mark_new_chapters:false
This is exactly what I am looking for, thank you!
MorbPtact is online now   Reply With Quote
Old Today, 05:12 PM   #11105
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,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Lemur4000 View Post
Is there a way for me to add a tag for books that do not have a cover already?
Code:
## You can check for an existing cover image in the metadata
## cover_image.  cover_image can be:
## specific -- The site has an image that is specifically this story's cover
## first -- The first image in the story or story desc is used as cover
## default -- A default_cover_image was used
## force -- A force_cover_image was used
## old -- There was already a cover image in the epub.
Something like this maybe:
Code:
add_to_replace_metadata:
 cover_image=>^(.+)$=>Cover:\1
add_to_include_subject_tags:,cover_image
JimmXinu is online now   Reply With Quote
Advert
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 05:29 PM.


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