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 01-14-2024, 06:23 PM   #9181
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-01-14
- Fix estimatedWords site metadata for SB/SV - thanks mx-sylveon!
JimmXinu is offline   Reply With Quote
Old 01-15-2024, 02:53 AM   #9182
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 77
Karma: 76
Join Date: Apr 2019
Device: none
How hard would it be to allow image pages from Literotica? They just have a "/i/" in place of the "/s/" in the URL. Otherwise, they seem to be identical in page design.

I ask because I have a couple of fantasy stories where the author has included a world map that I would like to include in an anthology with the story.

- Andrew
applegaa is offline   Reply With Quote
Old 01-15-2024, 02:27 PM   #9183
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-01-15
- Allow image/comic (/i/) and poems (/p/) on literotica

Quote:
Originally Posted by applegaa View Post
How hard would it be to allow image pages from Literotica? They just have a "/i/" in place of the "/s/" in the URL. Otherwise, they seem to be identical in page design.
It's not quite that simple, but it also doesn't seem to be much more complex.

Literotica site is kind of a pain to support and I don't read it, so I don't have many examples to test with. No promises this change will stay if it breaks normal stories.
JimmXinu is offline   Reply With Quote
Old 01-17-2024, 02:04 AM   #9184
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 77
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2024-01-15
- Allow image/comic (/i/) and poems (/p/) on literotica
Thanks!

So far it's performing perfectly, although I haven't tried any poems.

- Andrew
applegaa is offline   Reply With Quote
Old 01-17-2024, 07:14 PM   #9185
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
If no series is provided by the adapter (either because the site has no series, or because it's empty), will the Calibre metadata series be overwritten by a blank?
ownedbycats is offline   Reply With Quote
Old 01-17-2024, 07:35 PM   #9186
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
No. You can manually add a series and it will be retained.
JimmXinu is offline   Reply With Quote
Old 01-17-2024, 07:37 PM   #9187
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-01-17
- Fix for site change, adapter_deviantartcom. #1030
JimmXinu is offline   Reply With Quote
Old 01-19-2024, 01:45 PM   #9188
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FYI, I got (another) notice from Google today that Google Workspace accounts (eg, accounts with your own domain vs gmail.com addresses) won't allow IMAP without OAUTH2 later this year.

I've researched it (again), and what I said in Jun 2022 still applies:
Quote:
Originally Posted by JimmXinu View Post
Google seems to be on a path towards requiring more security for GMail, with an apparent end point of requiring all apps accessing it:
  1. To be 'verified', a process apparently very heavily tilted towards web services, not things like FFF, see link;
  2. Use their RESTful APIs (instead of standard email IMAP4), preferably with their python libraries--which are some 30Mbytes vs FFF's current 1.8Mbytes; and
  3. Authenticate through OAuth2, which requires a manual user interaction with Google in a browser, whether that's an instance started in FFF, or the user opening a URL in separate browser, and copying codes back and forth. No idea how often.
Gmail appears to be trying to pull into a more walled-garden kind of place in the name of security.

Which is kind of good--Email is really old and it's original security was non-existent. OTOH, it's also hilarious--you've already given all your data to Google, the largest data mining/advertising company to have ever existed.

I added Email fetching because it uses standard interfaces and was relatively easy. I have always included the warning:
It's safest if you create a separate email account that you use only for your story update notices. FanFicFare and calibre cannot guarantee that malicious code cannot get your email password once you've entered it.
Use this feature at your own risk.


For the time being, I think my official answer for GMail is going to be the "Sign in with App Passwords" feature. Bonus: It works with accounts set to two factor authentication.

If they do take away App Passwords too, GMail will probably become unsupported in FanFicFare and the answer will be 'use a different email provider for your separate fanfic notices account'.
I've changed my own notifications account (a Google Workspace account) to be 2FA and use an App Password for FFF IMAP access. So that still works as of now.
JimmXinu is offline   Reply With Quote
Old 01-20-2024, 07:49 AM   #9189
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Changing CSS name

I am taking a shot in the dark on this one.

When adding new fics, is there a way to give the stylesheet a particular name? I name them per year (example, now I rename it to 2024style.css) this way I know later if the fic has the latest stylings or not. I have my stylesheet done up in my .ini, but it would be perfect if, after adding a new fanfic, it could have the up-to-date name already.

No problems at all if it can't be done. I make lots of changes all the time, so I might even have to name them year and month at this rate LOL!
MerlinMama is offline   Reply With Quote
Old 01-20-2024, 12:03 PM   #9190
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by MerlinMama View Post
When adding new fics, is there a way to give the stylesheet a particular name?
FFF hard codes stylesheet.css. I'd suggest putting the date in a comment in your CSS.

You might also look at the _filelist feature for frequent CSS changes.
JimmXinu is offline   Reply With Quote
Old 01-20-2024, 11:00 PM   #9191
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
Is it possible to dynamically change a value in output_css depending on the value of an entry? For example, I want to change the background-color according to the rating of a work.

I thought it would work if I add an extra entry ao3_bg, include the rating values to it, then change its value to certain hex color codes without the hash character then do
Code:
replace_metadata:
 ao3_bg=>General=>527200
 ao3_bg=>Teen And Up=>A69905
 ao3_bg=>Mature=>AD5600
 ao3_bg=>Explicit=>980101
 ao3_bg=>Not Rated=>1B1B1B

background_color: ao3_bg
add_to_output_css:
 body.fff_titlepage {
  background-color: #%(background_color)s;
 }
but of course that didn't work due to... parsing? Wrong syntax? Just not possible?
culytera is offline   Reply With Quote
Old 01-21-2024, 02:08 AM   #9192
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The %(var)s substitution is a built-in feature of the INI file parser. It doesn't know anything about FFF metadata entries. (Honestly, I'd rather it didn't--we have to escape % to %% far more often than it's useful.)

I was all set to tell you it's not possible, when I realized, holy crap, it is! An ugly way I'm mildly ashamed of, but a way.

Way back when, I stuck output_css into the story metadata as a convenient (if cheesy) way to pass it to the writer code. And it's been that way ever since.

Which means output_css can be edited by replace_metadata.

Here's the basic version that works for me. Needed to add "Audiences" to use == matching.
Code:
[archiveofourown.org]

## fff_titlepage_color_replace can be something else, but it should 
## be unique within output_css and  ideally not conflict with regex
## The final FFFFFF line is just to make it a real color if nothing else matches.  

add_to_replace_metadata:
 output_css=>fff_titlepage_color_replace=>527200&&rating==General Audiences
 output_css=>fff_titlepage_color_replace=>A69905&&rating==Teen And Up Audiences
 output_css=>fff_titlepage_color_replace=>AD5600&&rating==Mature
 output_css=>fff_titlepage_color_replace=>980101&&rating==Explicit
 output_css=>fff_titlepage_color_replace=>1B1B1B&&rating==Not Rated
 output_css=>fff_titlepage_color_replace=>FFFFFF

add_to_output_css:
 body.fff_titlepage { background-color: #fff_titlepage_color_replace; }
JimmXinu is offline   Reply With Quote
Old 01-21-2024, 09:13 PM   #9193
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
Could FanFicFare handle a story with more than 9999 chapters? Purely theoretical, I kind of doubt one even exists.
ownedbycats is offline   Reply With Quote
Old 01-21-2024, 10:55 PM   #9194
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,204
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I don't know of any specific reason why FFF wouldn't.

But my experience with e-ink readers like Kindle & Nook is that they start to struggle when books get up to several hundred chapters and/or several hundred thousand words. Several meaning 7-9 or more in this case.

So I'd expect to need to split up a story of that size. YMMV.
JimmXinu is offline   Reply With Quote
Old 01-22-2024, 01:28 AM   #9195
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
I've been trying to get a couple of stories to update metadata correctly with storiesonline and I can't seem to get it to put a score in my custom column. It's worked before, not sure when it quit. I did have a problem a few months back and lost all my personal.ini settings. It may have happened then, but I could swear I have the right settings in there now.

I made a new library, and specifically copied over just my storiesonline settings (along with default) to see if something else is causing it. Still nothing. So after trying about a dozen different things I figured I'd ask here because I'm probably missing something obvious.

Personal.ini:
Spoiler:
Code:
[storiesonline.net]
username:XXXXXXXX
password:XXXXXXXX
add_to_replace_metadata:
 site=>storiesonline.net=>SOL
 rating=>^Stroke Story$=>NC17
 rating=>^Much Sex$=>R
 rating=>^Some Sex$=>PG15
 rating=>^Minimal Sex$=>PG13&&extratags=>NonErotica
 rating=>^No Sex$=>PG
# rating=>^Stroke Story$&&extratags=>Erotica
# rating=>^Much Sex$&&extratags=>Erotica
# rating=>^Some Sex$&&extratags=>Erotica
# rating=>^No Sex$=>No Sex&&extratags=>NonErotica
#extra_subject_tags:sitetags
include_subject_tags: extratags, sitetags, genre, category, characters, ships, status
add_to_custom_columns_settings:
# "Ero"=>#collections,n
 "SoL2"=>#collections,n
 "Webfic, #FFF"=>#library,a
 score=>#score,r
 storyId=>#id,r
titlepage_entries: seriesHTML,storyId,status,datePublished,dateUpdated,dateCreated,score,rating,warnings,characters,ships,category,sitetags,numChapters,numWords,site,description,
add_to_extra_valid_entries:,tagrating
include_in_tagrating:rating
exclude_metadata_pre:
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
extratags:#FFF, Webfiction,

[defaults]
user_agent:Mozilla/5.0
website_encodings: auto, utf8, Windows-1252
extratags:#FFF, Fanfiction
collect_series: true
add_genre_when_multi_category: Crossover
default_value_status:Unknown
include_subject_tags:extratags, genre, category, characters, ships, rating
replace_metadata:
 rating=>^Adult Only$=>NC17
 rating=>^Mature$=>R
 rating=>^Teen$=>PG13
 rating=>^Older Kids$=>PG
 rating=>^Kids$=>G
## (^|/) beginning of line or a '/'
## (name) to have a \2 to save typing
## [^/]* anything except another /
## (/|$) '/' or end of line
custom_columns_settings:
 datePublished=>#datepublished
 dateUpdated=>#dateupdated
 dateCreated=>#datecreated
 numChapters=>#chapters
 numWords=>#words,r
 warnings=>#warnings,r
 status=>#status,r
 category=>#category,n
 characters=>#characters,r
 genre=>#genre,n
 ships=>#ships,r
 rating=>#rating,r
 follows=>#follows,r
 "#FFF"=>#library,n
 favs=>#favorites,r
 reviews=>#reviews,r
#titlepage_entries: seriesHTML,category,status,datePublished,dateUpdated,dateCreated,numChapters,numWords,stars,site,warnings,characters,ships,genre,description
Atherton25 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 09:43 PM.


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