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 07-19-2020, 01:30 PM   #4336
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,018
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: I enabled include_tocpage: true.

I tried running update-always on several fics from different sites (update metadata/update cover/background metadata), but the TOC page didn't appear. Then I tried running overwrite-always, and the TOC page didn't appear. (I didn't try downloading a new fic though.)

Is there anything else I need to do to make it work?

personal.ini, in case it's some error in it:
Spoiler:
Code:
## This is an example of what your personal configuration might look
## like.  Uncomment options by removing the '#' in front of them.

[defaults]

custom_columns_settings: 
 "N"=>#read
 oneshot=>#fanficstatus

## Some sites also require the user to confirm they are adult for
## adult content.  Uncomment by removing '#' in front of is_adult.
is_adult:true

## If set, an image (regardless of source) will only be used as a
## cover image if it is >= both the dimensions listed here.  When not
## set, any size image will be used.  Note that some sites, like ffnet
## use relatively small images(180,240).
cover_min_size: 100,100

## include a TOC page before the story text
include_tocpage: true

replace_metadata: 
## Prettyizes fanfiction publishers.
 site=>www.fanfiction.net=>FanFiction.net
 site=>archiveofourown.org=>Archive of Our Own
## AO3 orphan_account
 author=>^orphan_account$=>Unknown
 author=>\(orphan_account\)=>
## Category standardization and deduplication
## Todo: Figure out how to exclude "Mass Effect" only on AO3 (FFNet doesn't split Trilogy from Andromeda)
 category=>\([0-9]+\)|\(Video Game\)|\(Video Games\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
 category=>(^Mass.Effect$|Mass Effect - All Media Types|Mass Effect - Various Authors)=>Mass Effect Trilogy
 category=>(^(?=.*Elder Scrolls)(?!.*The Elder Scrolls).*|Elder Scrolls V: Skyrim)=>The Elder Scrolls
 category=>(Pocket Monsters \|\ Pokemon)=>Pokémon
 category=>Sims=>The Sims
 category=>(^(?=.*Dragon Age)(?!.*Dragon Age: Origins).*)=>Dragon Age: Origins
## Sets one-chapter fics to oneshot
 oneshot=>Completed=>Oneshot&&numChapters=>^1$
## Sorts anything other than a few selected categories into "Fanfiction.Other"
 tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|Crossover)).*$=>Other
## Adds Fanfiction. to the beginning of tagcategory
 tagscategory=>^(.*)$=>Fanfiction.\1
## Some more tagcategory standardization
 tagscategory=>(Portal|Half-Life)=>Half-Life & Portal
 tagscategory=>(Mass Effect: Andromeda|Mass Effect Trilogy)=>Mass Effect

add_to_replace_metadata:
## Changes breaks to paragraphs in comments for better formatting
 description=><br/>=></p><p>

include_metadata_post:
## Removes other tags if Crossover is a category
 tagscategory==Fanfiction.Crossover&&category==Crossover

## Adds "Crossover" if more than one category after category replaces/includes/excludes.
add_category_when_multi_category: Crossover

# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,oneshot,tagscategory,

# oneshot is a copy of status because status itself isn't a list.
include_in_oneshot:status

# tagscategory is a copy category for Fanfiction.category in tags
include_in_tagscategory:category

include_subject_tags: tagscategory

generate_cover_settings:
 ${site}=>^FanFiction.net$=>FFNet
 ${site}=>^Archive of Our Own$=> AO3

[archiveofourown.org]
## AO3 anti-hammer
slow_down_sleep_time:2
## Some attributes cause problems for EBook readers.  By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags.  (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
add_to_keep_html_attrs:,title,align

[https://archiveofourown.org/works/21814324]
## Todo: Figure out how to make the publisher/tagcategory regexes work, add_to?
never_make_cover:true
## This fic has non-breaking spaces in description, this removes them
add_to_replace_metadata_filelist:file:///D:/Documents/Miscellany/ReplaceNBSP.txt

Last edited by ownedbycats; 07-19-2020 at 01:34 PM.
ownedbycats is offline   Reply With Quote
Old 07-19-2020, 01:49 PM   #4337
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question: I enabled include_tocpage: true.

I tried running update-always on several fics from different sites (update metadata/update cover/background metadata), but the TOC page didn't appear. Then I tried running overwrite-always, and the TOC page didn't appear. (I didn't try downloading a new fic though.)

Is there anything else I need to do to make it work?
defaults.ini has [epub] include_tocpage: false (because epub has a metadata TOC).

Put your include_tocpage: true under [epub] to override it.
JimmXinu is offline   Reply With Quote
Advert
Old 07-19-2020, 01:56 PM   #4338
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,018
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I got it working now. Also it's nice that it doesn't appear on one-chapter fics. Thank you.
ownedbycats is offline   Reply With Quote
Old 07-19-2020, 02:44 PM   #4339
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,018
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
A new question. I'm a little stumped on a regex here:

Code:
 category=>\([0-9]+\)|\(Video Game\)|\(Video Games\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
 category=>(^Mass.Effect$|Mass Effect - All Media Types|Mass Effect - Various Authors|)=>Mass Effect Trilogy
I have a fic categoried as "Mass Effect (Comics)" The first line should strip out the (Comics). Then "^Mass.Effect$" should replace with Mass Effect Trilogy. Instead, I end up with "Crossover, Mass Effect, Mass Effect Trilogy."

I thought it might've been a whitespace messing it up, so I tried this line:

Code:
 category=>(^Mass.Effect$||^Mass Effect\s$|Mass Effect - All Media Types|Mass Effect - Various Authors)=>Mass Effect Trilogy
Which lead, to, uh: "Crossover, Mass Effect Trilogy, Mass Effect TrilogyMMass Effect TrilogyaMass Effect TrilogysMass Effect TrilogysMass Effect Trilogy Mass Effect TrilogyEMass Effect TrilogyfMass Effect TrilogyfMass Effect TrilogyeMass Effect TrilogycMass Effect TrilogytMass Effect Trilogy Mass Effect TrilogyTMass Effect TrilogyrMass Effect TrilogyiMass Effect TrilogylMass Effect TrilogyoMass Effect TrilogygMass Effect TrilogyyMass Effect Trilogy"

Any idea what to do?
ownedbycats is offline   Reply With Quote
Old 07-19-2020, 03:00 PM   #4340
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Any idea what to do?
Other than stop being so fussy about metadata?

I suspect that your double pipe '||' is an empty pattern that's matching the space between letters. Which I didn't even know was a thing, so good job.

If you look closely, you'll see 'Mass Effect Trilogy' spelled out between 'Mass Effect Trilogy'. You have created meta-metadata:

Mass Effect TrilogyMMass Effect TrilogyaMass Effect TrilogysMass Effect TrilogysMass...
JimmXinu is offline   Reply With Quote
Advert
Old 07-19-2020, 03:07 PM   #4341
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,018
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I see the double-pipe now. I removed it and it worked properly.

I've mostly got the metadata set up the way I like now but occasionally I run into new categories.

Thank you.
ownedbycats is offline   Reply With Quote
Old 07-19-2020, 04:25 PM   #4342
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
get story url from mail - url double with AO3

Is it just me or to you also get two URLs from each mail from AO3?

for example:
With fanfiction.net I have 3 unread mails and get 3 story URLS.
With AO3 I have 2 unread mails and get 4 story URLs.

(Maybe because in the AO3 mail there is the story URL and also the URL for the new chapter?)

Every url from AO3 is double and for these I get the message "skipped - same story already included."

Does FFF call up every url or only those with status "add" or "update"?
I don´t want to generate unnecessary traffic to the sites.
ILB is offline   Reply With Quote
Old 07-19-2020, 05:21 PM   #4343
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ILB View Post
Is it just me or to you also get two URLs from each mail from AO3?
I only have one AO3 notice email that hasn't been deleted yet and it doesn't do that. I do recall that it is a thing that happens, or used to happen, though. It might be author subscription vs work subscription. I'd need to see the emails to know for sure.

But URLs marked "Skipped - Same story already included" have been recognized as duplicates and do not generate network traffic.
JimmXinu is offline   Reply With Quote
Old 07-19-2020, 05:39 PM   #4344
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,018
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
It might be author subscription vs work subscription. I'd need to see the emails to know for sure.
I have some AO3 subscription emails saved for my own written fics.

The "[author] posted [fic]" ones have just the work link. The "[author] posted Chapter X of [fic]" have links to both the whole work and the new chapter.
ownedbycats is offline   Reply With Quote
Old 07-19-2020, 08:00 PM   #4345
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I only got 1 from an "[author] posted Chapter X of [fic]" notice.

I probably wasn't clear that I don't consider this enough of an issue to do anything about. Due to previous requests by other users, FFF keeps the longer story URLs to show you if don't 'download from email immediately'. I don't remember why they wanted them.
JimmXinu is offline   Reply With Quote
Old 07-20-2020, 12:06 AM   #4346
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2020-07-18
- Fixes for scribblehub.com metadata - datePublished, numWords, averageWords, views - Thanks, mavi0!
Thanks @JimmXinu and @Mavi0!! Never knew of this site.. The changelog made me check it out. Interesting!! :-)
bigwoof is offline   Reply With Quote
Old 07-20-2020, 02:27 AM   #4347
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Quote:
Originally Posted by JimmXinu View Post
I only have one AO3 notice email that hasn't been deleted yet and it doesn't do that. I do recall that it is a thing that happens, or used to happen, though. It might be author subscription vs work subscription. I'd need to see the emails to know for sure.

But URLs marked "Skipped - Same story already included" have been recognized as duplicates and do not generate network traffic.
If it doesn´t generate traffic it´s no problem for me. I just thought I asked to be sure.
ILB is offline   Reply With Quote
Old 07-20-2020, 12:39 PM   #4348
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

- Fix for adapter_quotevcom site changes.
- Fix adapter_harrypotterfanfictioncom desc parse for site change.
- Changes for Python3 deprecation warnings (mostly) from eschwartz
- Normalize literotica.com URLs to www.literotica.com

Last edited by JimmXinu; 07-20-2020 at 03:51 PM. Reason: Updated for more changes a few hours later.
JimmXinu is offline   Reply With Quote
Old 07-21-2020, 04:48 PM   #4349
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
https://www.scribblehub.com/series/2...d-by-my-women/

The others now have a publish date, but this one doesn't.
AndersW is offline   Reply With Quote
Old 07-22-2020, 10:13 AM   #4350
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,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-07-20
- Fix for scribblehub.com metadata - datePublished
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 10:53 AM.


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