Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2013, 06:55 PM   #1516
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Looks like ffnet is throwing errors. I got this in the browser:

Quote:
FanFiction.Net Error Type 1

An error has occurred while processing your request.

Please email this error message in full to support@fanfiction.com.

All errors are logged for administrative and security purposes.1f068849028c428ccf8ef2f254473088
199.189.231.219:35
/s/5742587/9/ 2013-07-01 15:50:50
I'll add code to FFDL to more accurately report this error in the next version, but nothing I can do is going to fix it.
JimmXinu is offline   Reply With Quote
Old 07-01-2013, 09:01 PM   #1517
Snowman
Connoisseur
Snowman doesn't litterSnowman doesn't litter
 
Posts: 97
Karma: 196
Join Date: Aug 2008
Location: London UK
Device: iPhone 5, Kindle K3
Quote:
Originally Posted by JimmXinu View Post
Looks like ffnet is throwing errors. ...
Yes, it now looks like ffn have an issue - I tried re-downloading 'just desserts' just now (a couple of hours later), and it was fine, as was 'April-10'.

As a suggestion, would it be possible to save what ffdl captured up to the point of failure? A warning would still be required to retry later, though.

Thanks again for a brilliant plugin. My old solution of deffnetizer for ffn completes, and scrapbook for incompletes and other sites, had become seriously unwieldy even before my story totals reached 4 figures!

van
Snowman is offline   Reply With Quote
Old 07-01-2013, 10:16 PM   #1518
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by Snowman View Post
As a suggestion, would it be possible to save what ffdl captured up to the point of failure? A warning would still be required to retry later, though.
I've considered it before, but it's just not something that happens often enough to be worth the effort.

I'll think about it a bit again in case a new brilliant idea comes up, but no promises.
JimmXinu is offline   Reply With Quote
Old 07-03-2013, 10:56 AM   #1519
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Here's a test version with:
  • Better error handling when fanfiction.net has errors.
  • A new 'force_login' parameter for phoenixsong.net.

A user reported that phoenixsong.net can have an 'R' rated chapter (requiring login) in the middle of a 'Teen' rated story. FFDL can't detect that login is required in that case. 'force_login: true' will require the phoenixsong.net adapter always login.

Code:
[www.phoenixsong.net]
force_login:true
username:YourUser
password:yourpassword
UPDATE Jul 15, 2013 - Remove obsolete beta versions

Last edited by JimmXinu; 07-15-2013 at 02:45 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote
Old 07-07-2013, 02:04 AM   #1520
njd09
Junior Member
njd09 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: Kindle Fire
Hey, thanks again for the help before, just wanted to bring up a new issue I've been having lately. Whenever I try to update any of my fimfiction.net stories, I get an error, which I've screencapped:



Tried reinstalling the latest version of the plugin to no avail. Any idea what the problem could be?
njd09 is offline   Reply With Quote
Old 07-07-2013, 11:02 AM   #1521
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by njd09 View Post
Hey, thanks again for the help before, just wanted to bring up a new issue I've been having lately. Whenever I try to update any of my fimfiction.net stories, I get an error, which I've screencapped:
I picked a fimfic story at random from the front page and it worked fine for me. You didn't report any specific story URLs, so I can't try the same stories as you.

That error suggests to me that your firewall software on your computer is blocking the plugin, or some other networking issue on your computer.

If you google for that error: "an attempt was made to access a socket in a way forbidden by its access permissions", there are many reports of it being encountered by many different programs. Here's one such with recommended solutions.
JimmXinu is offline   Reply With Quote
Old 07-07-2013, 12:10 PM   #1522
njd09
Junior Member
njd09 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: Kindle Fire
Thanks for the reply; I'm still not entirely sure what happened, but I went to turn off my firewall and noticed it wasn't open, so I opened it and then tried again, and now it works perfectly. Weird. Oh, and I did include a URL in the screenshot, which I can now confirm is working normally. Thanks again for your help.
njd09 is offline   Reply With Quote
Old 07-08-2013, 05:00 PM   #1523
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
This is a test version with some changes to the GUI to (hopefully) better organize the Basic FFDL config tab and hide the download options on Add/Update until you choose to view them.

I'm interested in opinions about whether you think these changes are an improvement or not. Thanks.

UPDATE Jul 9 2013 - Added site: scarhead.net

UPDATE Jul 15, 2013 - Remove obsolete beta versions

Last edited by JimmXinu; 07-15-2013 at 02:45 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote
Old 07-09-2013, 12:13 PM   #1524
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Previous posting updated, new site scarhead.net added, courtesy of Ida.
JimmXinu is offline   Reply With Quote
Old 07-09-2013, 04:26 PM   #1525
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: 227
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab
I don't have a preference, but the new layout leaves more room in the window. It's good.
Firedancer885 is offline   Reply With Quote
Old 07-09-2013, 08:40 PM   #1526
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Version 1.7.30 - 09 Jul 2013
  • New Site: scarhead.net - Thanks Ida!
  • Improved error handling when ffnet is having problems.
  • Phoenixsong can have individual chapters req login. Add force_login parameter.
  • GUI improvements to Basic config and Add/Update dialogs.

FFDL now supports over 90 different sites.
JimmXinu is offline   Reply With Quote
Old 07-13-2013, 03:13 PM   #1527
Czarcasm
Junior Member
Czarcasm began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: Nook
Just wondering if there is a way to not have the front page be the whole category, language, genre, summary, etc etc thing, because I'd just prefer the usual cover then story format that I usually get.

I think I fixed it a bit, but it keeps breaking the cover. Even though the metadata page says it has a generated cover, when I open it, it has a blurry first page for the cover.

Last edited by Czarcasm; 07-13-2013 at 03:30 PM.
Czarcasm is offline   Reply With Quote
Old 07-13-2013, 05:19 PM   #1528
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by Czarcasm View Post
Just wondering if there is a way to not have the front page be the whole category, language, genre, summary, etc etc thing, because I'd just prefer the usual cover then story format that I usually get.

I think I fixed it a bit, but it keeps breaking the cover. Even though the metadata page says it has a generated cover, when I open it, it has a blurry first page for the cover.
Changing the cover image in the metadata doesn't update the epub (or other format) file itself.

If the epub already has one, calibre will inject the cover image from the metadata when you send it to a device or do a save to disk.

To update the cover in the epub on disk, you can use calibre's Polish Book feature, the Modify ePub plugin, or do a conversion. Modify ePub can also remove cover images entirely.
JimmXinu is offline   Reply With Quote
Old 07-14-2013, 03:23 PM   #1529
Jade Aislin
Groupie
Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.
 
Posts: 150
Karma: 3100
Join Date: Sep 2011
Device: Acer Iconia 500w Tablet, PRS-T1
I'm back from vacation and am trying to organize my personal ini once again.

I want all the names in my ships to be in alphabetical order (a/b/c). However, the authors often label the ships out of order (b/a). Most of the code in my ship section is trying to fix this.

I'm not sure if this is possible, but it occured to me that I might be able to write a general code that would do the work for me. Is it possible to have the personal ini separate the different characters in the ships based on the '/' mark and then reorganize them into aphlabetical order (ie: the ship starts as b/a/c, it's separated to b a c, then it's reorganized to a/b/c)? Or should I just keep writing the individual codes?
Jade Aislin is offline   Reply With Quote
Old 07-15-2013, 02:43 PM   #1530
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.
 
Posts: 1,718
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by Jade Aislin View Post
I want all the names in my ships to be in alphabetical order (a/b/c). However, the authors often label the ships out of order (b/a). Most of the code in my ship section is trying to fix this.
There's no way I can think of to do that with the regex replacement feature. But since I've been playing with some additional metadata config options anyway, I'll try adding this.

Attached is a version with new options:
  • sort_ships option: Reorder ships so b/a and c/b/a become a/b and a/b/c. Only separates on '/', so use replace_metadata to change separator first if needed. Something like: ships=>[ ]*(/|&|&)[ ]*=>/ You can use ships_LIST to change the / back to something else if you want.
  • join_string_<entry> option: FFDL list entries are comma separated by default. You can use this to change that. For example, if you want authors separated with ' & ' instead, use join_string_calibre_author:\s&\s. (\s == space)
  • keep_in_order_<entry> options: FFDL sorts list entries by default (except for author/authorUrl/authorId). But if you want to use an extra entry derived from author, it ends up sorted. For example, if you added calibre_author: keep_in_order_calibre_author:true
  • replace_metadata <entry>_LIST options: FFDL replace_metadata lines operate on individual list items for list entries. But now if you want to do a replacement on the joined string for the whole list, you can by using <entry>_LIST. Example, if you added calibre_author: calibre_author_LIST=>^(.{,100}).*$=>\1
Code:
# add a new entry that is a copy of author.
add_to_extra_valid_entries:,calibre_author
include_in_calibre_author:author

# Keep calibre_author in original order
keep_in_order_calibre_author:true

# separate calibre_author by ' & ' instead of ', '
join_string_calibre_author:\s&\s

# Limit calibre_author list to 100 characters and trim any 
# trailing spaces.
add_to_replace_metadata:
 calibre_author_LIST=>^(.{,100}).*$=>\1
 calibre_author_LIST=>^(.*?) +$=>\1
 ships=>[ ]*(/|&amp;|&)[ ]*=>/
# Change ships with ' & ' and ' / ' to '/' separated.

# sort the ships.
sort_ships:true
(If you're curious, I was trying to get FFDL CLI output files to match the calibre file name output I use for my devices.)

UPDATE Jul 18, 2013 - Remove obsolete beta versions

Last edited by JimmXinu; 07-18-2013 at 12:53 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 232 10-09-2014 12:38 AM
[GUI Plugin] Count Pages kiwidude Plugins 666 10-08-2014 01:48 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 508 09-02-2014 07:00 PM
[GUI Plugin] Resize Cover kiwidude Plugins 34 07-13-2014 07:15 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:28 PM.


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