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 05-23-2015, 01:58 AM   #196
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
I had a thought the other day and thought I would share it..

mostly because it's probably impossible, but I can't get it out of my head.

It seems foolish to have to update the entire plugin every tyme a website changes its format a little.

so my thought was... can a plug in have plug ins?

what if you load the plugin, then tell the plugin which "website" modules to load.

When a website gets updated, you would just have to download a new website module or plugin.

can it be done? how would it effect the master plugin, would it speed it up or slow it down?

anyways... just my 2 cents, sharing the thoughts that rattle around in my brain
fathertyme is offline   Reply With Quote
Old 05-23-2015, 04:52 AM   #197
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Hello

I'm sorry to bother with this same old thing again...

Some time ago I had asked for help with the cover images from fanfiction.net. Jimm had helped me and back then I had added
Code:
## Remove author image exclusion
cover_exclusion_regexp:
into my personal.ini to get the author-icon to be used as a cover.

Now I have the Calibre Cover tab to 'yes' both at Update Calibre Cover and Generate Calibre Cover. This gives the standard cover, but no picture.

So I switched it to 'Update Calibre Cover - Yes, if EPUB has cover image' and 'Generate Calibre Cover - Yes, unless FanFicFare found a cover image' which did not seem to produce any cover at all.

An example story is https://www.fanfiction.net/s/11255235/1/A-Duo-to-a-Trio

Stories with a real cover image do work, like this one: https://www.fanfiction.net/s/9407343/1/

Could you once again help me with this?
firefoxxy is offline   Reply With Quote
Old 05-23-2015, 11:10 AM   #198
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 firefoxxy View Post
...fanfiction.net...
... get the author-icon to be used as a cover.
...
There's special code in the ffnet adapter now that's separate from cover_exclusion_regexp. You can use:
Code:
[www.fanfiction.net]
## April 2015, ffnet changed their story and user pictures urls to be
## the same.  Now the only way to know if the story image is really
## the author image is to go get the author image and check.
skip_author_cover:false
JimmXinu is offline   Reply With Quote
Old 05-23-2015, 01:08 PM   #199
DandalfTheWhite
Enthusiast
DandalfTheWhite began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2011
Device: Kindle Paperwhite 4
I love this plugin, it's pretty amazing. Over the years I've collected quite a few fics because of it, so thanks for all the hard work on it.

I am in the process right now, of going through my old downloaded fics looking for sequels and merging them with the epub merge plugin. I played around with some of the options there and there is one that says: "Include Books' comments." After I checked this, when I manually combine two fics the comments are set up like:

Quote:
Anthology Containing:

Title
Summary of the fic

Title
Summary of the fic
This is pretty neat, because it used to just list all the book titles, and not have summaries.

Is there a way to make this happen when importing a new Anthology with FanFicFare? I can't seem to figure it out, but it would be a really cool addition to the plugin, I think.

Thanks!
DandalfTheWhite is offline   Reply With Quote
Old 05-23-2015, 01:44 PM   #200
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Thank you Jimm!
It worked wonderfully.
firefoxxy is offline   Reply With Quote
Old 05-24-2015, 01:37 PM   #201
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 DandalfTheWhite View Post
...
Is there a way to make this happen when importing a new Anthology with FanFicFare? I can't seem to figure it out, but it would be a really cool addition to the plugin, I think.
There isn't such an option in FanFicFare.

The assumption is that you'll be copying the series description from the site into the series anthology comments. FanFicFare only sets the calibre comments field on new series anthologies for that reason--it never updates the comments on an existing anthology. (The mechanism that FanFicFare uses to get series story URLs is the same for all sites, which is why it doesn't read the series description for itself--it's different on each site.)

Downloading each story in a series separately and then merging with EpubMerge is nearly identical to making the anthology in FanFicFare. Along with Unmerge, it just adds a couple steps to updates, too, if you really prefer the comments that way.
JimmXinu is offline   Reply With Quote
Old 05-24-2015, 01:39 PM   #202
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 fathertyme View Post
...
what if you load the plugin, then tell the plugin which "website" modules to load.

When a website gets updated, you would just have to download a new website module or plugin.
...
In theory, it's possible. But I don't see it ever being worth the effort and overhead.
JimmXinu is offline   Reply With Quote
Old 05-24-2015, 02:22 PM   #203
DandalfTheWhite
Enthusiast
DandalfTheWhite began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2011
Device: Kindle Paperwhite 4
Quote:
Originally Posted by JimmXinu View Post
There isn't such an option in FanFicFare.

The assumption is that you'll be copying the series description from the site into the series anthology comments. FanFicFare only sets the calibre comments field on new series anthologies for that reason--it never updates the comments on an existing anthology. (The mechanism that FanFicFare uses to get series story URLs is the same for all sites, which is why it doesn't read the series description for itself--it's different on each site.)

Downloading each story in a series separately and then merging with EpubMerge is nearly identical to making the anthology in FanFicFare. Along with Unmerge, it just adds a couple steps to updates, too, if you really prefer the comments that way.
Thanks for the reply. Your explanation makes perfect sense and I have been adding in the series info manually to new anthologies but I thought I'd ask because hey automation. I only even noticed as I was going through fics I binge downloaded a few years ago and combining them if they are in series. (Instead of re-downloading them.)

Thanks again for the great plugin!
DandalfTheWhite is offline   Reply With Quote
Old 05-25-2015, 10:46 AM   #204
KayLee
Zealot
KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.
 
KayLee's Avatar
 
Posts: 108
Karma: 518106
Join Date: May 2013
Device: Nook ST & iPad Air2
I haven't updated anything since Calibre 2.20 what was the reason for replacing FFDL with this? Why not just update FFDL? Also how would I go about running an older version of FFDL without it replacing FFF?
KayLee is offline   Reply With Quote
Old 05-25-2015, 11:07 AM   #205
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 KayLee View Post
I haven't updated anything since Calibre 2.20 what was the reason for replacing FFDL with this? Why not just update FFDL? Also how would I go about running an older version of FFDL without it replacing FFF?
FAQ: Why rename the project? What was wrong with FanFictionDownLoader(FFDL)?

If you want to continue to use the old version, go ahead, but it's now unsupported. Calibre has built-in features to help you migrate--I don't know what you'd need to do to defeat those and keep both.
JimmXinu is offline   Reply With Quote
Old 05-25-2015, 03:27 PM   #206
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Hi JimmXinu

Is there a way to remove the freeformtags from AO3 from the original tags column. I've already made a custom column where they end up, but I would love the opportunity to not have them in my tags column as well.
Tanjamuse is offline   Reply With Quote
Old 05-25-2015, 04:54 PM   #207
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 Tanjamuse View Post
Is there a way to remove the freeformtags from AO3 from the original tags column. I've already made a custom column where they end up, but I would love the opportunity to not have them in my tags column as well.
In past, the AO3 adapter was hard coded to include freeformtags in genre and therefore the only way to not have them in the calibre tags was to add your own include_subject_tags param that didn't include genre.

I've posted a test version that instead uses include_in_* lines in defaults.ini to define genre and category in AO3. That way you can change them to not include freeformtags.
Code:
[archiveofourown.org]
## AO3 doesn't have anything it calls 'genre'.  The adapter used to be
## hardcoded to include the site specific metadata freeformtags &
## ao3categories in the standard metadata field genre.  By making it
## configurable, users can change it.
include_in_genre: freeformtags, ao3categories

## AO3 uses the word 'category' differently than most sites.  The
## adapter used to be hardcoded to include the site specific metadata
## fandom in the standard metadata field category.  By making it
## configurable, users can change it.
include_in_category:fandoms
I don't remember off hand why they were hard coded instead of doing it this way from the start--this seems better.
JimmXinu is offline   Reply With Quote
Old 05-25-2015, 05:12 PM   #208
Montana Harper
book geek (she/her)
Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.
 
Montana Harper's Avatar
 
Posts: 115
Karma: 2029154
Join Date: Sep 2013
Location: Pacific Northwest
Device: iPhone 16 Pro Max, Kindle Paperwhite (10th gen)
I'm getting an error when I try to save personal.ini:

Quote:
254: do_update_hook not valid in section [archiveofourown.org] -- only valid in [fimfiction.net] sections.
Since you've said in this thread that FFF does use do_update_hook for AO3, I'm guessing this is a bug.
Montana Harper is offline   Reply With Quote
Old 05-25-2015, 09:01 PM   #209
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 Montana Harper View Post
I'm getting an error when I try to save personal.ini:

Since you've said in this thread that FFF does use do_update_hook for AO3, I'm guessing this is a bug.
Yep. Thanks for catching that. New test version posted.
JimmXinu is offline   Reply With Quote
Old 05-26-2015, 12:09 AM   #210
MikeVx
Junior Member
MikeVx began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2015
Device: Ectaco JetBook Lite
Problem with Fanfiction.net

Time to add another aggravation to your working pile.

I have been having a problem with FFN for several months, this issue spans the name change on what is now FanFicFare.

I am attempting to download things from FFN, I will paste in an example, but FFN is essentially broken for me as all download attempts return some variant of the error below.

An example link:
https://www.fanfiction.net/s/1036468...Golden-Nuggets

Result, an error log entry of:

Status
Title
Author
Comment
URL
Error
Harry's Golden Nuggets
Snaggledog
'utf8' codec can't decode byte 0xe9 in position 24886: invalid continuation byte
https://www.fanfiction.net/s/10364683/1/

(Apologies for the ugly copy/paste.)

Removing the s from the url does not change the result. I had considered that encryption might be an issue, but it seems not.

This is specific to FFN, AO3 works well. The real aggravation is that FFN used to work just fine, but then something broke. I expect the fault to be at FFNs end, given that the reason I upgraded to FFF is that the old plug-in stopped working. I finally got annoyed enough to track down this forum to ask if this is fixable or not.

Is this enough information to help you?

I will dig up more if you tell me what you need.

Thanks.
MikeVx 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 05:58 PM.


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