Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 12-30-2014, 02:27 PM   #3616
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Alright, thanks for the info. I look forward to the update which includes the new parser.
watani is offline  
Old 12-30-2014, 02:51 PM   #3617
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Test Version

In honor of it being three years since the first upload of the FFDL plugin, I'm posting a test version with some significant new features:
  • Find in personal.ini/defaults.ini
  • Color coding in personal.ini/defaults.ini -- automatic color code highlighting
  • Error checking when saving personal.ini -- it's not complete yet, but will catch bad section names and bad regular expressions
  • Using BS4/html5lib more internally even for older adapters
(That last change is bit scary just because it effects all stories from all sites.)

Some other changes also included:
  • Add universe & crossoverfandom site-specific to ksarchive, clean up ini files
  • FaceDeer's BS4 changes for FimF

Color Code Key:
  • Red: Errors -- a bad section header will cause all settings under it to also be red
  • Bold Dark Blue: recognized section headers
  • Blue: recognized keywords
  • Dark Green: true/false and recognized metadata entry names
  • Dark Magenta: unrecognized, but not necessarily bad keywords--could be site specific or customized entry names.
  • Dark Yellow: Comments -- note comments must start with '#' in the first column
  • Dark Cyan: teststory sections
Attached Thumbnails
Click image for larger version

Name:	colorcodepersonalini.PNG
Views:	268
Size:	37.2 KB
ID:	133149  

Last edited by JimmXinu; 01-02-2015 at 07:55 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 12-30-2014, 02:54 PM   #3618
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
That looks great !
cryzed is offline  
Old 01-01-2015, 08:41 AM   #3619
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Happy New Year to you all, especially to the FDL-team.

And thank you for your wonderful work and for the tireless help you provide!
firefoxxy is offline  
Old 01-02-2015, 07:55 PM   #3620
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
(Thanks, firefoxxy. )

Attached is another test version, this time with ini error messages you can click on.

Last edited by JimmXinu; 01-03-2015 at 05:57 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 01-03-2015, 05:56 PM   #3621
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Another test version now with another fix for the BS4/html5lib changes.

Last edited by JimmXinu; 01-03-2015 at 11:58 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 01-03-2015, 07:58 PM   #3622
mehetabelo
e-Bibliophile
mehetabelo began at the beginning.
 
mehetabelo's Avatar
 
Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
I want to thank everyone that helped me a couple of weeks ago. I've been very happy with my modifications, and was able to make several more after reading through the entire thread.

That led me to two additional questions.

The first, I don't think is possible, based on one of the posts I read, but I want to verify.

Some of the sites (in this case storiesonline) do not have a word-count associated with the story, and I'm trying to get the word count placed in the title page entry by inserting information from a custom column into the entry. Generally even having the last updated information (generally 4-6k words different depending on author) is ok with me, so I don't mind if it's pulling older WC's, as long as it can pull them. The post I read mentioned that using a custom column in the calibre title page was not possible… I wanted to verify this is as I read it.

I have found a sort of workaround but inserting the metadata at the beginning, and making sure that information (wordcount) is displayed there, but this leaves me with two metadata pages/title pages. I can accept that, if it's the only choice, but I'd like to verify it. I did consider not using the title-page at all, (not sure if I can turn it off) but I like the look of it, and the way it keeps the author/title as links. Whereas calibre doesn't… though I think it may be able to with enough customization.

The second question came up while I was thinking about the above question, and trying to find an answer. I understand that the plugin can call the Count Pages plugin, but most sites don't need it. Is there a way to specify which sites call this, or does it have to be an all or nothing? I did look through the ini file extensively to see if there was any sort of option for this (and the custom column addition) but if there was anything, I either could not understand it at all, or missed it completely.

Thanks again for the help everyone! And Happy New Years!
mehetabelo is offline  
Old 01-03-2015, 11:57 PM   #3623
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is (yet another) test version with a new option on the FFDL Count Pages config tab to only call Word Count if the FFDL metadata is missing it. This is in response to mehetabelo's 2nd request--it seems a better solution to me than specifying by site.

So the Count Pages plugin can potentially be called twice--once with a list of books that need Word Count and again with the full list of downloaded/updated books to update Page Count, etc. If you only use Word Count (or only Page Count, or leaving the Missing option off), it will still only be called once.

As for mehetabelo's 1st request--injecting Word Count into the FFDL Title Page when the site doesn't provide it--that's considerably trickier. I don't see a way to do it that I like.

For one thing, the Count Pages plugin isn't run until after FFDL has finished. Outdated info is worse than missing info, IMO. Series can already be injected if it's set in calibre (but not available in FFDL metadata) because that scratched a personal itch I had about ffnet not having a series mechanism--and series doesn't change with every update.

If Word Count is that big a deal to you, in addition to the solution you already have, you could also consider the solution I use, which is a calibre Metadata Plugboard setting to put the tags and word count in as part of the title when books are transferred to my Nook and Kindle.

title:
Code:
{#title_prefix:|| }{series:|| }{series_index:0>2s|[|] - }{title}{#wordcount:| (|)}{tags:| [|]}{#extranotes:| [|]}
Generate Cover with word count in it is only an option if you run it yourself--FFDL calls GC before it calls Count Pages.

Last edited by JimmXinu; 01-04-2015 at 12:22 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 01-04-2015, 12:15 PM   #3624
Firedancer885
Occassional Beta Tester
Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.
 
Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
Hi Jimm,

is there a way to use slow_down_sleep_time to slow down AO3 downloads? I'm asking because of the downloader part of this: http://archiveofourown.org/admin_posts/2183
Firedancer885 is offline  
Old 01-04-2015, 12:21 PM   #3625
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Fix for 'Only if Word Count is Missing'.

Last edited by JimmXinu; 01-04-2015 at 06:36 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 01-04-2015, 12:26 PM   #3626
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Firedancer885 View Post
is there a way to use slow_down_sleep_time to slow down AO3 downloads? I'm asking because of the downloader part of this: http://archiveofourown.org/admin_posts/2183
You may use slow_down_sleep_time with any site by putting it in personal.ini in that site's section. Or for all sites by putting it in defaults.

If you determine a good sleep time for AO3, post it and I'll make it part of the built-in default settings.
JimmXinu is offline  
Old 01-04-2015, 02:56 PM   #3627
mehetabelo
e-Bibliophile
mehetabelo began at the beginning.
 
mehetabelo's Avatar
 
Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
Uhm. Thanks for updating the plugin. ... I updated it, and it didn't work on storiesonline. I tried new stories (No existing WC), updated stories with and without WC, and stories that I was just 'updating' to make sure.

Next, I restarted Calibre twice before trying anything further, to verify that everything had been working correctly. I did make sure the checkbox was checked, tried variations of it (like checking then turn the first box off... which obviously didn't work, as it disabled the new checkbox and it was unchecked the next time I went back in).

I went through my ini file and deleted the word call feature under storiesonline, because I'd left it there in case they ever added that feature. Then, to make sure it wasn't something in my ini file, I completely disabled everything under the storiesonline options, with the exception of logon information.

And... nothing, never once did it call WC. I did check, and it still calls it if every time I keep only call WC checked (including on other sites like ff.net). I did this just to verify nothing got somehow crossed in the program modification. I'm not sure what else I can do. I thought I was doing everything right. Perhaps not.
mehetabelo is offline  
Old 01-04-2015, 06:35 PM   #3628
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,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by mehetabelo View Post
Uhm. Thanks for updating the plugin. ... I updated it, and it didn't work on storiesonline. I tried new stories (No existing WC), updated stories with and without WC, and stories that I was just 'updating' to make sure.
...
I think this version covers all the WC/WCMissing cases correctly, give it a try.

Last edited by JimmXinu; 01-06-2015 at 06:45 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline  
Old 01-04-2015, 08:41 PM   #3629
mehetabelo
e-Bibliophile
mehetabelo began at the beginning.
 
mehetabelo's Avatar
 
Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
Works exactly as it's supposed to now with storiesonline, though I don't know of any other sites that don't provide word counts, so I can't speak to that. I may try the idea of using wordcount in the title, see if I can get used to it. Thanks again.
mehetabelo is offline  
Old 01-06-2015, 02:02 AM   #3630
coolshades
Junior Member
coolshades began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2009
Device: none
i have not got the FFDL to work on my Windows PC. when i enter the link (from one of the supported sites) in the application and press check, or check and download, nothing happens at all.

i want a Mobi output.

any help appreciated
coolshades is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1846 08-02-2025 10:44 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:30 PM.


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