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 04-06-2023, 04:17 PM   #8311
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Feel free. You seem to have a more time to mess around with this stuff.
JimmXinu is offline   Reply With Quote
Old 04-06-2023, 04:41 PM   #8312
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I wrote this up and added it.

Code:
## Websites known not to work 
If If there is a `no-cache` entry in the cache-control, caching is disabled for that website. This can be checked in the HTTP headers, either through the Inspect Element > Network tool in the browser in Firefox or Chromium-based browsers or by using a third-party tool such as [this one provided by DNSChecker](https://dnschecker.org/server-headers-check.php). 

Here are websites known to not work with the browser cache:
- archiveofourown.org
- ficbook.net (as of March 2023)
I also added a link to the first paragraph, but didn't remove the ficbook comment from that.

Last edited by ownedbycats; 04-06-2023 at 04:47 PM. Reason: fixed typos
ownedbycats is offline   Reply With Quote
Advert
Old 04-06-2023, 09:49 PM   #8313
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
For future reference: does include_metadata run before exclude? (assuming both are both _pre or _post)
ownedbycats is offline   Reply With Quote
Old 04-07-2023, 09:22 AM   #8314
sios00
Enthusiast
sios00 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
Anyone have any suggestions on workflows for using Fanficfare and Kobo?

I use Fanficfare to download fics from AO3. Then, I transfer them to my Kobo Libra 2 using the built in Calibre Send to Device button. I have Kobo Touch Extended Driver so it sends the fic as a kepub to my Kobo. I also have Kobo Utilities and do use the Custom Columns for current reading location column, percent read column, rating column, and last read column.

However, when the fic gets updated by the author, I use Fanficfare to overwrite my original Calibre epub. But when I send it to Kobo using the Send to Device button, the kepub in the Kobo doesn't get replaced or updated.

Is there any better way to do this? Especially when I'm not 100% finished with the fanfic kepub in my Kobo, and would prefer to have something store my current location and then update it in the Kobo when the fic gets updated and sent to the Kobo again. The problem with Kobo Utilities "percent read column" for this is that the percentage read column will obviously be wrong when the fanfic gets updated and then downloaded by Fanficfare.

Thanks in advance!
sios00 is offline   Reply With Quote
Old 04-07-2023, 10:10 AM   #8315
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
For future reference: does include_metadata run before exclude? (assuming both are both _pre or _post)
It's not prominent, but that one is documented:
Quote:
Note that include is applied first, then exclude.
Code:
## in stories from site buffynfaith.net, only include ships with Buffy
## in them, even if spelled with a lower case 'b'.
[buffynfaith.net]
include_metadata_pre:
 ships=~[Bb]uffy

## But exclude any Buffy/Dawn.
exclude_metadata_pre:
 ships=~[Bb]uffy/Dawn
Quote:
Originally Posted by sios00 View Post
Anyone have any suggestions on workflows for using Fanficfare and Kobo?
Not from me, sorry. I very briefly had a Kobo several years ago that I returned for that very reason.

Kobo users?
JimmXinu is offline   Reply With Quote
Advert
Old 04-07-2023, 10:58 AM   #8316
Lys
Groupie
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 727278
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by sios00 View Post
Anyone have any suggestions on workflows for using Fanficfare and Kobo?

I use Fanficfare to download fics from AO3. Then, I transfer them to my Kobo Libra 2 using the built in Calibre Send to Device button. I have Kobo Touch Extended Driver so it sends the fic as a kepub to my Kobo. I also have Kobo Utilities and do use the Custom Columns for current reading location column, percent read column, rating column, and last read column.

However, when the fic gets updated by the author, I use Fanficfare to overwrite my original Calibre epub. But when I send it to Kobo using the Send to Device button, the kepub in the Kobo doesn't get replaced or updated.

Is there any better way to do this? Especially when I'm not 100% finished with the fanfic kepub in my Kobo, and would prefer to have something store my current location and then update it in the Kobo when the fic gets updated and sent to the Kobo again. The problem with Kobo Utilities "percent read column" for this is that the percentage read column will obviously be wrong when the fanfic gets updated and then downloaded by Fanficfare.

Thanks in advance!
Not a much-tested method, because I tried it like just once eons ago, but you can try and see if it works:

- Send the updated fic to your Kobo (make sure you have the "Do not treat replacements as new books" checkbox flagged in the driver)
- Select in the library view the updated fic(s) and run the "Update ToC for selected books" option (Kobo Utilities)

In this way, you should be able to navigate properly your updated fic(s).
I'm not sure if the replaced book picks up your previous location, though.
Lys is offline   Reply With Quote
Old 04-07-2023, 12:18 PM   #8317
kolbinski
Member
kolbinski began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2022
Device: kindle paperwhite
Where is the ini file located for the ini file for pip fanficfare so can edit it on pc?
kolbinski is offline   Reply With Quote
Old 04-07-2023, 01:04 PM   #8318
sios00
Enthusiast
sios00 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
Quote:
Originally Posted by Lys View Post
Not a much-tested method, because I tried it like just once eons ago, but you can try and see if it works:

- Send the updated fic to your Kobo (make sure you have the "Do not treat replacements as new books" checkbox flagged in the driver)
- Select in the library view the updated fic(s) and run the "Update ToC for selected books" option (Kobo Utilities)

In this way, you should be able to navigate properly your updated fic(s).
I'm not sure if the replaced book picks up your previous location, though.
Thank you so much! This was exactly what I wanted.
In the Kobo home page, the percentage read will be the old one, but once the book is clicked and opened, the percentage will update to that of the new book. The current reading location is retained.
sios00 is offline   Reply With Quote
Old 04-07-2023, 02:35 PM   #8319
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by sios00 View Post
Anyone have any suggestions on workflows for using Fanficfare and Kobo?

I use Fanficfare to download fics from AO3. Then, I transfer them to my Kobo Libra 2 using the built in Calibre Send to Device button. I have Kobo Touch Extended Driver so it sends the fic as a kepub to my Kobo. I also have Kobo Utilities and do use the Custom Columns for current reading location column, percent read column, rating column, and last read column.

However, when the fic gets updated by the author, I use Fanficfare to overwrite my original Calibre epub. But when I send it to Kobo using the Send to Device button, the kepub in the Kobo doesn't get replaced or updated.

In the Driver Settings (both Touch and TouchExtended):

Click image for larger version

Name:	2023-04-07 15_34_16-Customize KoboTouchExtended.png
Views:	132
Size:	22.4 KB
ID:	200847

Then get the Kobo Utilities plugin (may davidfor rest ) and use the "Update ToC for selected book" on it.

EDIT: I missed the other posts. oops.

Last edited by ownedbycats; 04-07-2023 at 02:41 PM.
ownedbycats is offline   Reply With Quote
Old 04-07-2023, 03:13 PM   #8320
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kolbinski View Post
Where is the ini file located for the ini file for pip fanficfare so can edit it on pc?
Code:
fanficfare -h
Usage: fanficfare [options] [STORYURL]...

Options:
  -h, --help            show this help message and exit
  -f FORMAT, --format=FORMAT
                        Write story as FORMAT, epub(default), mobi, txt or
                        html.
  -c CONFIG, --config=CONFIG
                        Read config from specified file(s) in addition to
                        (ordered lowest to highest priority):
                        ~/.fanficfare/defaults.ini,
                        $XDG_CONFIG_HOME/fanficfare/defaults.ini,
                        ./defaults.ini, ~/.fanficfare/personal.ini,
                        $XDG_CONFIG_HOME/fanficfare/personal.ini, and
                        ./personal.ini.  -c/--config files take highest
                        priority
...
JimmXinu is offline   Reply With Quote
Old 04-07-2023, 03:49 PM   #8321
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Any objections if I add this to the "why isn't my regex working" section on ReplaceMetadata? (Or another section if you think it would fit better there.)

Code:
Regular expressions are case-sensitive. There are two ways around this. One is to put an [Aa] wherever you may expect varying capitalization:

```replace_metadata:
## Matches 'mass effect big bang' and 'Mass Effect Big Bang'
 collections=>[Mm]ass [Ee]ffect [Bb]ig [Bb]ang=>Mass Effect Big Bang
```
The other is to add `(?i)` to the beginning of your match. This is a regex flag that ignores casing.

```replace_metadata:
## Matches 'mass effect big bang' and 'Mass Effect Big Bang' but also 'MASS EFFECT BIG BANG'
 collections=>(?i)Mass Effect Big Bang=>Mass Effect Big Bang
```
EDIT:
Quote:
Originally Posted by JimmXinu View Post
Feel free. You seem to have a more time to mess around with this stuff.
I blame this on it being April. The first signs of warm weather always tends to give me a touch of mania.

Last edited by ownedbycats; 04-07-2023 at 04:01 PM.
ownedbycats is offline   Reply With Quote
Old 04-07-2023, 05:03 PM   #8322
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Any objections if I add this to the "why isn't my regex working" section on ReplaceMetadata? (Or another section if you think it would fit better there.)
Sure, but I'd give it it's own heading about capitalization. The 'Why isn't working' section has gotten kind of long.
JimmXinu is offline   Reply With Quote
Old 04-07-2023, 05:27 PM   #8323
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
https://github.com/JimmXinu/FanFicFa...capitalization

I also added a mention of the entries being case-sensitive as I've had failures of conditionals checking somethingURL instead of Url. (Hopefully this is accurate all of the time; if not I will fix it.)

Last edited by ownedbycats; 04-07-2023 at 07:10 PM.
ownedbycats is offline   Reply With Quote
Old 04-08-2023, 05:58 AM   #8324
LWTBP
Member
LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.LWTBP ought to be getting tired of karma fortunes by now.
 
LWTBP's Avatar
 
Posts: 16
Karma: 222088
Join Date: Aug 2011
Device: Kindle Paperwhite
Just wanted give you a BIG THANKS for the work you've put into this. I just discovered this after such a long time inefficiently sending multipage fiction from web pages to my Kindle!

Best wishes, JimmXinu!
LWTBP is offline   Reply With Quote
Old 04-08-2023, 12:26 PM   #8325
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: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When using cache on ffnet, is there anything else I should pre-cache to avoid failures and/or the pages opening in browser?

1. First chapter of fanfic
2. New chapter(s) of fanfic
3. Author page (is this necessary if there's no author image AND no cover image?)
4. Cover image, if available.
ownedbycats 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 04:36 PM.


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