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 03-09-2023, 02:47 PM   #8191
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
kolbinski,

If the order is changing between updates, it's either because the site is changing it or because the author(s) are. Looks like the site does alternate it in this case.

author/authorId/authorUrl are the only metadata that FFF is hard coded to keep in the same order as the server lists them instead of automatically sorting the list. That's to make sure the author name, ID and URL lists line up in the same order, which is necessary for the authorHTML metadata to work correctly.

In theory, it should be possible to use replace_metadata to force the order of each list for a particular story.

But there are some odd interactions with \, and the authorHTML generation code that would need to be fixed first. And it would have to be manually set in personal.ini for each story with that issue.

That fix touches some very old code; I want to run it for myself a few days before giving it to anyone else.

This might be a good enough reason to add special code to allow for author sorting while also keeping author/Id/Url matched up. And if so, what about the make_linkhtml_entries metadata entries? I need to think about it for a bit.

UPDATE:
You could, in the meantime, use replace_metadata to make that story only have one author:
Code:
[https://www.quotev.com/story/15144388]
add_to_replace_metadata:
 author=>^.*$=>PikachuSkitty
 authorId=>^.*$=>SnowNadder
 authorUrl=>^.*$=>https://www.quotev.com/SnowNadder

Last edited by JimmXinu; 03-09-2023 at 02:57 PM.
JimmXinu is offline   Reply With Quote
Old 03-10-2023, 08:38 AM   #8192
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,980
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
@JimmXinu - for some reason, the anchor for the new FAQ entry doesn't jump down:

https://github.com/JimmXinu/FanFicFa...in-personalini

Other ones work so I think, ironically, it doesn't like the %
ownedbycats is offline   Reply With Quote
Advert
Old 03-10-2023, 08:55 AM   #8193
kolbinski
Member
kolbinski began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2022
Device: kindle paperwhite
Thank you for the help that fixed it.
kolbinski is offline   Reply With Quote
Old 03-10-2023, 10:15 AM   #8194
BlueLion1
Member
BlueLion1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2023
Device: Tolino vision color
Are there any news concerning the possibility to download fanfics from fanfiction.net using fanficfare utility?
BlueLion1 is offline   Reply With Quote
Old 03-10-2023, 11:04 AM   #8195
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 BlueLion1 View Post
Are there any news concerning the possibility to download fanfics from fanfiction.net using fanficfare utility?
It doesn't work directly.

You have to use one of the proxy tools or the browser cache feature to download fanfiction.net using FFF.
JimmXinu is offline   Reply With Quote
Advert
Old 03-10-2023, 02:55 PM   #8196
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
New Test Version Posted

2023-03-07
- Remove doubled doreplacements/removeallentities from author(etc)HTML processing.

This change is for this:
Quote:
Originally Posted by JimmXinu View Post
But there are some odd interactions with \, and the authorHTML generation code that would need to be fixed first. And it would have to be manually set in personal.ini for each story with that issue.

That fix touches some very old code; I want to run it for myself a few days before giving it to anyone else.
I think these changes are okay. Watch for anything odd with replace_metadata lines on author and any make_linkhtml_entries entries.

It will now work to do this to explicitly set more than one author in a set order:
Code:
[https://www.quotev.com/story/15144388]
add_to_replace_metadata:
 author=>^.*$=>PikachuSkitty\,Quang
 authorId=>^.*$=>SnowNadder\,Quang26943
 authorUrl=>^.*$=>https://www.quotev.com/SnowNadder\,https://www.quotev.com/Quang26943
But there will be INFO level messages about "Skipping replace_metadata line 'author=>^.*$=>PikachuSkitty\,Quang' on author to prevent infinite recursion." You can ignore them.

Quote:
Originally Posted by JimmXinu View Post
This might be a good enough reason to add special code to allow for author sorting while also keeping author/Id/Url matched up. And if so, what about the make_linkhtml_entries metadata entries? I need to think about it for a bit.
Still a significant pain in the neck. Too much pain for something that's so rare.
JimmXinu is offline   Reply With Quote
Old 03-12-2023, 08:43 PM   #8197
MGSaintz
Member
MGSaintz began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 2
Can't make use of the FFF's Browser Cache for fanfiction.net, keep getting "HTTP Error in FFF 'Page not found or expired in Browser Cache (see FFF setting browser_cache_age_limit)'(428)". Was able to use it a few days ago without issues, checked the cache path, set cache_age to -1 and even tried another browser and still won't work.
MGSaintz is offline   Reply With Quote
Old 03-12-2023, 08:53 PM   #8198
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,980
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I have that happen from time to time. Clearing the browser cache and then re-opening the pages helps.
ownedbycats is offline   Reply With Quote
Old 03-12-2023, 09:01 PM   #8199
MGSaintz
Member
MGSaintz began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 2
Clearing cache doesn't work and with a fresh browser it still won't work, tried removing the plugin from calibre and reinstalling it, no joy.
MGSaintz is offline   Reply With Quote
Old 03-12-2023, 09:11 PM   #8200
Atherton25
Zealot
Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.
 
Posts: 124
Karma: 3804
Join Date: May 2016
Device: Kindle Oasis 2
That happened to me yesterday. Was clearing cache and restarting chrome... couldn't get it to work. Was going to troubleshoot it today, as I had other things to do at the time. Tried it just now (same fic and others) today and it works fine. I have no idea why. Anytime I have issues (hardly ever) I manually clear cache reboot and try it again at least once, generally more than once.
Atherton25 is offline   Reply With Quote
Old 03-13-2023, 06:18 PM   #8201
MGSaintz
Member
MGSaintz began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 2
Yeah, clearing cache, rebooting, etc; browser cache still won't work gonna let this sit for a bit and hopefully what weird thing that broke it will clear itself out after a while. Or if a better solution can pop up.
MGSaintz is offline   Reply With Quote
Old 03-13-2023, 06:52 PM   #8202
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
My only idea is if you whether you are using chapter URLs with the story title--Browser Cache requires it now.

If you want to save a zip file of the cache dir while it's not working (and you have opened all the pages appropriately) and post it (or a link or PM a link), I will take a look at it.
JimmXinu is offline   Reply With Quote
Old 03-13-2023, 07:16 PM   #8203
MGSaintz
Member
MGSaintz began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 2
Sent a private message with a google drive link of the cache files.
MGSaintz is offline   Reply With Quote
Old 03-13-2023, 09:11 PM   #8204
don111
Junior Member
don111 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: kindle paperwhite
Exclamation Not a valid URL

Have installed the latest version plugin, but still can not download wattpad stories after entering the URL of the story. How to fix it??
don111 is offline   Reply With Quote
Old 03-13-2023, 09:18 PM   #8205
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
I've reviewed the cache and the story chapter pages just aren't in it.

As far as I can tell, FFF is reading the cache correctly. I can't tell you why the chapter pages aren't there.

What is there is also quite odd--there are a bunch of calls ostensibly from pages sourced from fanfiction.net to https://127.0.0.1:54553. I'm baffled what that would mean, but it suggests a proxy or possibly something nefarious...

I don't think there's anything sensitive in the list of cached pages, but I'm curious if anyone else recognizes anything in the list:

Spoiler:
Code:
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=dhBZgn4TpckcNVvw
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=1B91kQSqQr-QN02w
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=9X5BMTNsm0M_KFw7
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://ff77.b-cdn.net/static/fcons/arrow-switch.png
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/static/styles/xss26.css?v=1.0.0
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/image/7037402/75/
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/static/images/d_60_90.jpg
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=z6qXq09mmJ7Z19sj
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=kzCWlMs9dnuxbBf-
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=MQ2TokF99Tt8Qb-D
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://ff77.b-cdn.net/static/scripts/jquery.jstore_01_09_2012.js
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts=1678737600
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=6B0DwUBKvv1kBPvr
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/static/icons3/ff-icon-192.png
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=EylefLOMui37fh6d
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=hrRpX1oPX8E-Iw8L
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://content-autofill.googleapis.com/v1/pages/ChRDaHJvbWUvMTExLjAuNTU2My42NRIlCWvZUDSwwz2BEgUNtYRWBRIFDbWEVgUSBQ2UVPrPEgUNvIXXUg==?alt=proto
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/cdn-cgi/challenge-platform/h/b/scripts/pica.js
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=5t6ONzhKbTOrKhlk
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=K3sVVXUQtD85DNqp
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=8c7zK0kJZqoHsCaf
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/static/scripts/combo5.js?v=1.0.0
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://127.0.0.1:54553/stylesheet?id=1lODbgWVJgFOBinV
Key: 1/0/_dk_https://fanfiction.net https://fanfiction.net https://www.fanfiction.net/cors/fontello-f1bf7dee/font/fontello.woff?57225533
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 07:59 PM.


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