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 10-25-2014, 06:54 AM   #3421
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
See if the attached version works for you. I'm not sure if the age verification with the ID card was required before, but you might have to do that -- If you haven't verified your age on the site, downloading adult stories will only work between 23:00 and 04:00 from what I understood (Personally I was not about to give them my personal identification just for verifying my age and found a solution via Google.).

Last edited by cryzed; 12-19-2014 at 12:13 PM.
cryzed is offline  
Old 10-25-2014, 08:56 AM   #3422
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 cryzed View Post
See if the attached version works for you. I'm not sure if the age verification with the ID card was required before, but you might have to do that -- If you haven't verified your age on the site, downloading adult stories will only work between 23:00 and 04:00 from what I understood (Personally I was not about to give them my personal identification just for verifying my age and found a solution via Google.).
Thanks, that works for me.
ILB is offline  
Old 10-26-2014, 01:36 PM   #3423
JOJO1
Member
JOJO1 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2013
Device: kindle fire and other android
Quote:
Originally Posted by cryzed View Post
See if the attached version works for you. I'm not sure if the age verification with the ID card was required before, but you might have to do that -- If you haven't verified your age on the site, downloading adult stories will only work between 23:00 and 04:00 from what I understood (Personally I was not about to give them my personal identification just for verifying my age and found a solution via Google.).
It works
JOJO1 is offline  
Old 10-27-2014, 02:07 PM   #3424
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,015
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is a version with cryzed's changes and also adds changes for potterfics.com(Spanish) to login for higher rated stories.

Last edited by JimmXinu; 10-28-2014 at 05:34 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 10-28-2014, 12:06 AM   #3425
Depletion
Pelican
Depletion began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Sep 2013
Location: Southeast US
Device: Nexus 7 2013
Fimfiction just had another massive backend update and currently all stories are failing.

http://www.fimfiction.net/story/1951...the-folk-style
http://www.fimfiction.net/story/224796/barren


Jimm, I also searched a few pages back to see when fimfiction did their last update and noticed post 3386 still had a link to a test version, if you wanted to remove it.

Depletion is offline  
Old 10-28-2014, 12:33 AM   #3426
FaceDeer
Connoisseur
FaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enough
 
Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
Looks like the Fimfiction api URL no longer works, which FFDL uses for getting some of the metadata for a story. I'll ask Knighty if it's just changed location, should be a simple fix if that's all that happened.

If the API is gone entirely the metadata will have to be parsed out of the story's human-facing page instead, which is a slightly more complicated thing to do but not particularly unusual. Shouldn't be too hard to fix in that case either.

Last edited by FaceDeer; 10-28-2014 at 12:40 AM.
FaceDeer is offline  
Old 10-28-2014, 05:33 PM   #3427
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,015
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is a new test version with fixes by FaceDeer for the latest FimFiction.net changes.

Please try it out and let us know if you have any problems.

Last edited by JimmXinu; 10-30-2014 at 05:22 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 10-28-2014, 09:33 PM   #3428
FaceDeer
Connoisseur
FaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enough
 
Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
I added a bit of new metadata to the Fimfiction adapter while I was at it; comment count and cover art source URL (for those stories where a source for the art was provided). I love metadata. So meta.
FaceDeer is offline  
Old 10-30-2014, 12:03 PM   #3429
megme
Enthusiast
megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!
 
Posts: 30
Karma: 100000
Join Date: Dec 2013
Device: Samsung
Hi Jimm,
FYI
The writer's coffee shop library story urls have changed from http://www.thewriterscoffeeshop.com/...y.php?sid=#### to http://www.twcslibrary.net/viewstory.php?sid=####

The old url is still working but I don't know for how long.
megme is offline  
Old 10-30-2014, 02:38 PM   #3430
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,015
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached test version contains previous changes plus changes for transition from thewriterscoffeeshop.com to twcslibrary.net.

Last edited by JimmXinu; 11-01-2014 at 09:58 AM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 10-30-2014, 03:03 PM   #3431
BaconButty
Connoisseur
BaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enough
 
Posts: 69
Karma: 520
Join Date: Jun 2012
Location: France
Device: Kindle Paperwhite 5 & iPad Mini & Galaxy Tab10
Quote:
Originally Posted by JimmXinu View Post
Attached test version contains previous changes plus changes for transition from thewriterscoffeeshop.com to twcslibrary.net.
Thanks for the quick action on this. It works well.

A reminder: the personal.ini file will need updating to ensure a permanent login permission to the new website.
I updated mine simply by changing the old TWCS url to the new one.

Thanks again
BaconButty is offline  
Old 10-30-2014, 05:52 PM   #3432
megme
Enthusiast
megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!megme rocks like Gibraltar!
 
Posts: 30
Karma: 100000
Join Date: Dec 2013
Device: Samsung
Quote:
Originally Posted by JimmXinu View Post
Attached test version contains previous changes plus changes for transition from thewriterscoffeeshop.com to twcslibrary.net.
Thank you Jimm, it's perfect

Quote:
Originally Posted by BaconButty View Post
Thanks for the quick action on this. It works well.

A reminder: the personal.ini file will need updating to ensure a permanent login permission to the new website.
I updated mine simply by changing the old TWCS url to the new one.

Thanks again
Thanks for the reminder
megme is offline  
Old 10-30-2014, 08:20 PM   #3433
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
While the plugin correctly appends "http:" to the cover image source for FimFiction stories, it isn't doing so for the rest of the images in-line with the text anymore. This means that while the epub can be viewed without problems, converting it to any other format causes calibre to get stuck trying to find an invalid URL for every image (even though the images are cached in the epub).

Here's one story which has a significant number of in-story pictures that illustrates the problem:
http://www.fimfiction.net/story/1218...amlp-crossover

Also, I can only make edits once to the epub generated by the plugin for the story linked above before I can't access file0001.xhtml within the epub. After making edits once to the epub and saving, further attempts to open that particular xhtml results in calibre-parallel.exe (and therefore the book editor) crashing. The remaining contents of the epub (including the other xhtml files) can be opened in the book editor without issue. This problem is not fixed by restarting calibre and the only solution seems to be deleting and re-downloading the story using the plugin.

I haven't tested to see if other stories have this editing issue so I don't know if this is a problem with calibre or with the plugin. I am using calibre 2.7.0 [64bit] for Windows, if that helps.
watani is offline  
Old 10-31-2014, 02:16 AM   #3434
FaceDeer
Connoisseur
FaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enoughFaceDeer will become famous soon enough
 
Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
Hrm. I just dug up an illustrated Fimfiction story I downloaded in December of 2012, http://www.fimfiction.net/story/6007/, and the illustration in chapter 26 has the form

Code:
<img alt="" longdesc="http://imageshack.us/a/img109/224/0102d.png" src="../Images/ffdl-7.png" />
But I just had a look at the story you linked downloaded using the most recent working test version that does Fimfiction, and it had the form

Code:
<img alt="" class="user_image" longdesc="//fc04.deviantart.net/fs71/f/2014/294/4/4/sneak_attack_by_faith_wolff-d83prhl.png" src="../Images/ffdl-30.png" />
I'd be really quite surprised that the longdesc attribute has any actual effect on anything at all, though. According to the HTML5 specs it's meant to provide a link to a page containing a long description of the image, it shouldn't be relevant to actually displaying the image. The src attribute is for that. So while it does look like it broke at some point, I don't know why it would cause the editor to crash (I can imagine it confusing the converter, though).

I tried making an edit and saving the epub using Sigil, my usual epub editor, and a subsequent attempt to edit the file worked fine. No corruption. I then tried using Calibre's native epub editor and sure enough, the darned thing crashed the second time I opened the file I'd edited with it. It looks like there's some sort of bug with Calibre's native editor that's to blame for that. I reopened the "corrupted" epub in Sigil again and it worked fine, and the image tag was completely unchanged - whatever's causing the crash is somewhere else in this file. I edited and re-saved the "corrupted" chapter file with Sigil, and that fixed things - Calibre's editor was able to edit again. So as an interim measure I suggest downloading Sigil and using that, it seems to handle things correctly and fix whatever Calibre's editor is screwing up.

In short, it looks like this may be a bug with Calibre's epub editor, not FFDL's fault. Though you are correct that the longdesc is no longer in the correct form any more, that probably also needs fixing even though I doubt it's the root cause of this crash. I'll do some further comparisons and see if I can find exactly what Calibre's editor is doing to mangle these files.

Edit: Aha! I just looked in the release notes of version 2.8 of Calibre, which just came out this evening, and one of the bugfixes is:

Quote:
Edit Book: Fix links that are absolute paths causing crashes in windows
Try updating to 2.8 and see if that fixes your crashing problem. Perhaps the editor was changing some links from relative to absolute paths when it saved the file the first time. I'll try that out after I've done those comparisons.

Edit 2: unfortunately, updating to 2.8 didn't fix the crash for me. And I can't seem to reproduce Sigil "fixing" the epub so that Calibre's editor can successfully load it again, either. Sigh.

It appears that the epub's internal structure when FFDL downloads it is rather different from what it gets changed into when edited by Calibre. In particular, the content.opf and toc.ncx files get moved from the root of the epub down into the OEBPS directory, and the content.opf file gets extensively rewritten to include a bunch of Calibre-specific metadata. This is getting too complicated for me to troubleshoot now, I'm not super familiar with the inner workings of these files or how Calibre handles it. I still blame Calibre's editor for the crashes, though. I just did a test where I took a "clean" original download of the epub and used Sigil to fix all the longdesc attributes, and Calibre's editor still wound up crashing when I tried editing it. So maybe prepare a bug report about the editor's problem to Kovid himself, providing him with a copy of a freshly-downloaded epub so he can see what it's doing when edited by Calibre's editor for the first time, and in the meantime use Sigil for epub editing to avoid the crashes.

There's a Calibre plugin called "Open With" that might make Sigil easier to use, you can use it to open an ebook in any other program you want rather than just the default Calibre viewer or editor.

Last edited by FaceDeer; 10-31-2014 at 04:12 AM.
FaceDeer is offline  
Old 10-31-2014, 09:21 AM   #3435
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Thanks FaceDeer for the info! Yeah, I was kind of expecting that calibre was the source issue of the crashes, so I'll try to use Sigil for now for editing books.

Actually, the reason I brought up the incorrect image url issue is not because of the crashes, but because I noticed that when I tried to convert the downloaded epub to another format (azw3) it was taking longer than expected. I saw in the job details that this was because during the conversion process calibre kept on trying to pull images from the invalid url and only moved on after a lot of failed attempts. I think the broken url is making calibre think it has to pull the image from another source during conversion even though it's cached in the epub and the epub can be viewed perfectly fine with the images.

Since I use a Kindle, I can't use the epub that the plugin creates and thus would appreciate if the plugin were updated so that the image sources have the "http:" appended allowing me to properly convert between formats.

Sorry for being confusing and putting two separate issues I found together in one comment.
watani 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 04:18 PM.


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