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-01-2023, 09:22 PM   #8266
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is generally not recommended as the newest version has all the current site adapters, hopefully Jim can help tomorrow.
ownedbycats is offline   Reply With Quote
Old 04-01-2023, 11:08 PM   #8267
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.22.1 - 2023-04-01
- Fix for custom columns [storyUrl] sections. And still work for Anthologies.


Hey, remember that time I changed it so custom_columns_settings could be set on a per-story basis?

Anthologies are why it didn't work that way before.

I'm more than a little surprised that none of us using the test versions bumped into this in the last 2 weeks.
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 02:41 AM   #8268
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question:

short version: How to avoid overwriting the author/series Calibre link when updating a story?

Long version:

I have one author who primarily posted on FanFiction.net before moving to AO3. The bulk of their stories are still on ffnet, so I'd like to keep that URL in the links table. However, updating their AO3 stories (which are still semi-active) updates the link in the table.

I thought of requesting a 'new only' option for the author/series URL but with the structure of AO3's author links and the tendency of some AO3 authors to change usernames on a whim this would break something later. (Unsure whether adding this would be of other general use.)

Then I thought of using a replace_metadata on AuthorURL but that would also replace the link on the titlepage of the AO3 stories. Plus I'm not sure if it'd insert back into the table.

The third option I thought of is replace_metadata the url and use ini tweaks to keep the original link on the titlepage but it seems a bit of a hassle unless I find other edge cases (subtitles at least is a bit more applicable for other fics).

Do you have any other suggestions? Depending on complexity I might just leave it.

Last edited by ownedbycats; 04-02-2023 at 03:36 AM.
ownedbycats is offline   Reply With Quote
Old 04-02-2023, 07:22 AM   #8269
VitalisTh
Reader
VitalisTh began at the beginning.
 
VitalisTh's Avatar
 
Posts: 4
Karma: 10
Join Date: Feb 2019
Device: Kobo Aura One
Scribblehub adapter seems to be broken, as I get this error message:

HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/3...line/'(403)
VitalisTh is offline   Reply With Quote
Old 04-02-2023, 10:36 AM   #8270
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question:

short version: How to avoid overwriting the author/series Calibre link when updating a story?
Uncheck the 'Set X Calibre Link' option and manage it yourself.

Quote:
Originally Posted by VitalisTh View Post
Scribblehub adapter seems to be broken, as I get this error message:

HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/3...line/'(403)
Scribblehub is also using CloudFlare quite aggressively these days. Last I checked, it worked to use the Proxy Feature with FlareSolverr.
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 04:15 PM   #8271
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I came across a weird corner case and am trying to figure out what happened.

Short version: The HTML longtext column had a secondary series with a glitchy name, missing index, and the same seriesURL as the primary. This disappeared upon updating from website.

Long version:

I ran an Update Metadata from Column on an AO3 fic. The series changed to one with a kind of glitchy looking name that looked like a regex gone wrong.

In the long metadata column the glitchy name was listed as a secondary series. However, the seriesURL was the same as the first series and the index was missing (there was a stray '[' at the end).

The glitch series wasn't present on the site and Update Metadata removed it from the longtext column.

Any thought of what might have happened here? My best guess is that something went wrong (a transient site glitch?) when scraping the metadata the first time.

Last edited by ownedbycats; 04-02-2023 at 07:19 PM.
ownedbycats is offline   Reply With Quote
Old 04-02-2023, 06:24 PM   #8272
marshie250
Enthusiast
marshie250 began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jun 2019
Device: Kobo
Quote:
Originally Posted by JimmXinu View Post
New Version Released

Version 4.22.1 - 2023-04-01
- Fix for custom columns [storyUrl] sections. And still work for Anthologies.
Hmm. Still not working for me when updating anthologies--I tried varying a few settings and setting everything back to defaults, but the only thing that made the difference was unchecking the Allow custom_columns_settings to override.
marshie250 is offline   Reply With Quote
Old 04-02-2023, 06:52 PM   #8273
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
@JimmXinu -- As I'm probably the only person who uses it, I think I have idea for an alternative method that doesn't use custom_columns_settings.

EDIT: Alternative method didn't work (field failed to populate) Is it because I didn't define any default value for 'subtitle'?

Code:
[defaults]
custom_columns_settings: 
## Subtitle
 subtitle=>#subtitle

# Custom metadata entries
add_to_extra_valid_entries:,fulltitle,subtitle

[https://archiveofourown.org/works/43792521]
add_to_replace_metadata:
 title=>^.*=>The Zhorusian Saga
 subtitle=>^.*=>Rise of The Terra-Rannochian Commonwealth

Last edited by ownedbycats; 04-02-2023 at 07:12 PM.
ownedbycats is offline   Reply With Quote
Old 04-02-2023, 07:34 PM   #8274
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by marshie250 View Post
Hmm. Still not working for me when updating anthologies--I tried varying a few settings and setting everything back to defaults, but the only thing that made the difference was unchecking the Allow custom_columns_settings to override.
Reinstall the plugin again. You almost certainly didn't get v4.22.1.

Quote:
Originally Posted by ownedbycats View Post
@JimmXinu -- As I'm probably the only person who uses it, I think I have idea for an alternative method that doesn't use custom_columns_settings.
It's fixed at this point. But yes, something like that would be another way to accomplish it.
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 07:35 PM   #8275
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Short version: The HTML longtext column had a secondary series with a glitchy name, missing index, and the same seriesURL as the primary. This disappeared upon updating from website.
Without a repeatable example it's difficult to say anything about it.
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 07:38 PM   #8276
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Do you have any idea why the alternative method (defining a 'subtitle' entry and then doing replace_metadata) would fail? The only thing I can think of is that I didn't define any default entry for subtitle so the replacement failed.
ownedbycats is offline   Reply With Quote
Old 04-02-2023, 07:49 PM   #8277
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
You don't show anything populating subtitle. Empty entries aren't processed.
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 07:52 PM   #8278
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'll try setting default to a space -- I only want subtitle on selected stories, and Calibre would remove it from the field.

EDIT: How do I set the default value of an entry to a literal? I think include_in only works for copying other entries.

ANOTHER EDIT: I think subtitle:" " under [defaults] should work

EDIT: It didn't work

Last edited by ownedbycats; 04-02-2023 at 08:06 PM.
ownedbycats is offline   Reply With Quote
Old 04-02-2023, 08:07 PM   #8279
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,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
I'll try setting default to a space -- I only want subtitle on selected stories, and Calibre would remove it from the field.

EDIT: How do I set the default value of an entry to a literal? I think include_in only works for copying other entries.
There's no provision for setting an added metadata entry to a static value. Set it to an existing entry that always has a value.

Why are you pursuing this when I already gave you the first solution you asked for 2 weeks ago for custom_columns_settings?
JimmXinu is offline   Reply With Quote
Old 04-02-2023, 08:09 PM   #8280
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,428
Karma: 80995913
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Mostly to see if I could get it to work. I'll put back the cutom column settings.
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 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 12:59 PM.


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