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-06-2024, 12:23 PM   #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: 7,205
Karma: 5006097
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 online now   Reply With Quote
Old 02-08-2024, 02:46 AM   #9272
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,438
Karma: 81367635
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, 11:00 AM   #9273
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,205
Karma: 5006097
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 online now   Reply With Quote
Old 02-13-2024, 07:54 PM   #9274
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, 08:16 PM   #9275
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,205
Karma: 5006097
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 online now   Reply With Quote
Advert
Old 02-14-2024, 12:08 AM   #9276
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: 50
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-14-2024 at 12:17 AM.
Mandabar is offline   Reply With Quote
Old 02-14-2024, 01:05 AM   #9277
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,205
Karma: 5006097
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 online now   Reply With Quote
Old 02-14-2024, 01:35 AM   #9278
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: 50
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, 05:52 AM   #9279
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, 08:11 AM   #9280
veviara
Junior Member
veviara began at the beginning.
 
Posts: 9
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, 12:33 PM   #9281
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,205
Karma: 5006097
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 online now   Reply With Quote
Old 02-15-2024, 12:36 PM   #9282
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,205
Karma: 5006097
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 online now   Reply With Quote
Old 02-16-2024, 04:09 AM   #9283
veviara
Junior Member
veviara began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2021
Device: Kobo Libra 2
Thank you! That was exactly what I was looking for!

I'm unfamiliar with test versions of plugins and sadly do not have the time to look into it until sunday, but the workaround works like a charm.

Not many people using the log feature would explain why I had such a hard time googling the answers to my questions! I think it's a really nice detail, and I'm very excited to see the logs on my fics evolve.
veviara is offline   Reply With Quote
Old 02-16-2024, 04:56 AM   #9284
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: 136
Karma: 295674
Join Date: Jul 2021
Device: iPhone
You just need to get it from the second post of the thread. Download the zip file -> open Calibre -> go to Preferences -> under Advanced go to Plugins -> choose Load plugin from file -> look for the zip file you downloaded and select it.
culytera is offline   Reply With Quote
Old 02-18-2024, 02:16 PM   #9285
Wolgan
Enthusiast
Wolgan began at the beginning.
 
Wolgan's Avatar
 
Posts: 31
Karma: 18
Join Date: Jun 2017
Device: Kindle Fire
Literotica Tag Gathering issue (or user error)?

When I use use_meta_keywords: true under [literotica.com] combined with either include_subject_tags: eroticatags or extra_subject_tags: eroticatags to download multi-chapter stories from literotica it only applies the tags from the first chapter to Tags.

All the chapter tags are listed in the Saved Metadata column though, so when I use "Update Calibre Metadata from Saved Metadata Column", it applies all the tags from all chapters to Tags correctly.

I have an admittedly overly complicated personal.ini, so to validate, I created a new test library and stripped my personal.ini down to just the following (copied from plugin settings verbatim). It made no difference and the behavior was unchanged.

Code:
[defaults]
is_adult:true

[literotica.com]
include_subject_tags: eroticatags
use_meta_keywords: true
Is this a bug, or am I misunderstanding the expected behavior of include_subject_tags or use_meta_keywords? If it's a bug, I'll get a bug report written up.

edit to add: To test I grabbed a new story I'd never downloaded before that had different tags in each chapter, REMOVED, but this behavior applies to any multi-chapter story on literotica.
Moderator Notice

MR doesn't like NSFW URLs. You can PM them to me when needed. Story URL removed.

Last edited by JimmXinu; 02-18-2024 at 03:53 PM. Reason: Remove NSFW URL
Wolgan 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 11:34 AM.


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