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 02-05-2024, 10:44 AM   #9271
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by culytera View Post
I assume there's no way to only affect chapters in an epub's TOC metadata using chapter_title_x_patterns while having a different pattern for the chapter pages (via chapter_start) and/or the TOC page (if you have include_tocpage set to true).
You can set add_chapter_numbers:toconly or customize chapter beginning HTML to use ${origchapter} instead of ${chapter} but that's about it.
JimmXinu is offline   Reply With Quote
Old 02-05-2024, 11:53 AM   #9272
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-02-05
- adapter_literotica: Allow for empty div.aa_ht tags, remove extra None from text
- adapter_wwwutopiastoriescom: Remove author page get, add extracategories instead. Site static now.

Note that utopiastories is a static site now and has several story and author pages missing--including many if not most of the 17 total stories marked 'fanfiction'.
JimmXinu is offline   Reply With Quote
Advert
Old 02-06-2024, 05:18 AM   #9273
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by JimmXinu View Post
You can set add_chapter_numbers:toconly or customize chapter beginning HTML to use ${origchapter} instead of ${chapter} but that's about it.
Good enough for me so far. I'll know eventually if these settings still work well when a fic updates. I don't have the separate TOC page enabled so the "title ()" doesn't matter to me.

Code:
add_chapter_numbers:toconly
mark_new_chapters:latestonly
chapter_title_def_pattern:${title}
chapter_title_add_pattern:${title} (${date})
chapter_title_new_pattern:${title} (${date}) | NEW
chapter_title_addnew_pattern:${title} (${date}) | NEW
Attached Thumbnails
Click image for larger version

Name:	Clipboard_02-06-2024_01.jpg
Views:	106
Size:	355.0 KB
ID:	206232  
culytera is offline   Reply With Quote
Old 02-06-2024, 11:23 AM   #9274
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-02-06
- Add include_images:coveronly option for #1037
JimmXinu is offline   Reply With Quote
Old 02-08-2024, 01:46 AM   #9275
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,033
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It's not a huge issue, but I've come across it four or five times in the last month or so:

I receive an email about a new chapter on ffnet. After clearing browser cache, I open it. Almost invariably I get the cloudflare "checking your browser..." message and then it opens.

Afterwards, though, open_pages_in_browser:true then opens the new chapter (occasionally several times) as though it hadn't cached.

The download is successful, so this is just an annoyance really. Any idea why it might be happening?
ownedbycats is online now   Reply With Quote
Advert
Old 02-08-2024, 10:00 AM   #9276
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
When CF intervenes the URL used is changed, there's a parameter added. That's why I tell people to click to chapter 2 then '< Prev' button.

I don't have an explanation for why open_pages_in_browser opens it more than once, but I do see that sometimes, too.
JimmXinu is offline   Reply With Quote
Old 02-13-2024, 06:54 PM   #9277
TheOne320
Junior Member
TheOne320 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2023
Location: Berlin
Device: Kindle Voyage
Is there any way to get rid of the "this story is stolen" "Amazon blabla" warnings that get added to every RoyalRoad story when downloading them with FanFicFare?
TheOne320 is offline   Reply With Quote
Old 02-13-2024, 07:16 PM   #9278
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The last released version of FFF had code to address that.

If it's not working, that means they changed it again. See Issue #1028 for prior discussion.
JimmXinu is offline   Reply With Quote
Old 02-13-2024, 11:08 PM   #9279
Mandabar
Fanfiction Devourer
Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
Quote:
Originally Posted by JimmXinu View Post
Oh wow, I didn't even notice this was a thing. I hadn't read any of my RR books in a while.

Damn.. that means everything I updated in my monthly/bi-monthly update in Jan for RR was tainted. Ugh. Seems my files on the 8th are fine, the ones on the 21st or afterward are not.

I'm going to have to find a way to edit hundreds of files automagically for this. Urgh. Wonder if Windows Grep will work on EPUB.

Last edited by Mandabar; 02-13-2024 at 11:17 PM.
Mandabar is offline   Reply With Quote
Old 02-14-2024, 12:05 AM   #9280
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Using Action Chains and Edit Chains together can run edits on multiple epubs at a time.
JimmXinu is offline   Reply With Quote
Old 02-14-2024, 12:35 AM   #9281
Mandabar
Fanfiction Devourer
Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
Quote:
Originally Posted by JimmXinu View Post
Using Action Chains and Edit Chains together can run edits on multiple epubs at a time.
Oh thanks Jimm! That's going to help a ton! Windows Grep wasn't working out for me at first try, and that was going to be a per-phrase thing.

Now to figure out these new plugins. Hmm.
Going to have to figure out a regular expression to use... and to figure out how to do regular expressions in general. Every time I use them I have to relearn it enough to apply it LOL.
Mandabar is offline   Reply With Quote
Old 02-14-2024, 04:52 AM   #9282
TheOne320
Junior Member
TheOne320 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2023
Location: Berlin
Device: Kindle Voyage
Quote:
Originally Posted by JimmXinu View Post
The last released version of FFF had code to address that.

If it's not working, that means they changed it again. See Issue #1028 for prior discussion.
Thanks, I think you are right. Stuff I downloaded yesterday does not include any of those messages but stuff that I downloaded on 2 February has those messages. That means I will just have to overwrite my files that have this problem.
TheOne320 is offline   Reply With Quote
Old 02-15-2024, 07:11 AM   #9283
veviara
Junior Member
veviara began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2021
Device: Kobo Libra 2
I'm trying to customise my logpage and I've run into a problem:
I've edited logpage_entry such that there's a line break after each entry:

Code:
logpage_entry:<b>${label}:</b> <span id="${id}">${value}</span><br />
But now all entries are included every time regardless of whether they have changed or not.
Removing the above line solves that problem (on the second run).
Curiously enough though: Re-inserting the line apparently does not cause the problem to re-appear! Instead it now works exactly as I intended it to from the beginning. (though I'm strongly suspecting that won't be the case the second any of the values other than 'createDate' actually change).

Upon closer inspection of the produced files I'm thinking that it probably has something to do with the fact that there are no line breaks in the html file when I use my custom entry. So now my questions are:
1) Am I right?
2) How should I do this?

(I tried just appending various versions of '\n', '{\n}', and {\\n} with absolutely no results to show for it. I mean I didn't think it'd make much of a difference, but one can always hope right!).

Extra info: I've been testing this by editing my personal.ini and running fff with the setting 'update epub always'.
veviara is offline   Reply With Quote
Old 02-15-2024, 11:33 AM   #9284
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by veviara View Post
I'm trying to customise my logpage and I've run into a problem:
I've edited logpage_entry such that there's a line break after each entry:

Code:
logpage_entry:<b>${label}:</b> <span id="${id}">${value}</span><br />
But now all entries are included every time regardless of whether they have changed or not.

...

Upon closer inspection of the produced files I'm thinking that it probably has something to do with the fact that there are no line breaks in the html file when I use my custom entry. So now my questions are:
You are correct.

Rather than parse the HTML entirely, FFF is doing very basic string searches for '<span id="%s">'%entry and '</span>\n'

I'll put out a test version shortly that removes the unnecessary \n.

FYI, To get more spacing in the HTML you can do this:
Code:
logpage_entry:
 <b>${label}:</b> <span id="${id}">${value}</span>
 <br/>
Note the leading spaces. This version will work correctly with the existing released code.

I think this may be the first time I've heard of anyone--other than me--using the log file feature.
JimmXinu is offline   Reply With Quote
Old 02-15-2024, 11:36 AM   #9285
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-02-05
- Don't do random lang anymore in test1--changes series sort in Calibre.
- Don't need \n after </span> looking for log entries.
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 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 09:58 PM.


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