View Single Post
Old 01-03-2013, 10:20 PM   #1126
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,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by FaceDeer View Post
Looks like the workaround for FiMFiction's "hidden chapter" problem doesn't quite work under some circumstances. I tested it with http://www.fimfiction.net/api/story.php?story=13070...
Hmmm. I'm not seeing that now. It looks like the last chapter is the non-viewable one now. So it looks like the workaround is working to me.

Quote:
Originally Posted by FaceDeer View Post
Oh, I found another oddball problem while using FFDL on FiMFiction. http://www.fimfiction.net/story/49084/ gives the error "Invalid IPv6 URL". I've never seen that error before and there don't appear to be any weird URLs in the data the API gives. The story has only one image in it, in the first chapter, and I don't see anything weird about its URL either.
That's caused by a malformed url bbcode in the story desc getting partially converted to to an HTML link and then causing a problem with the calibre 'sanitize_comments_html' routine that FFDL calls.
Code:
Now with cover art from [url=http://insanityrainbow.deviantart.com[/url]
You can work around this by using replace_metadata to remove the offending part like this:

Code:
replace_metadata:
 description=>\[/url=>
JimmXinu is offline