View Single Post
Old 07-25-2013, 09:47 PM   #1559
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,017
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by SallyK View Post
I'm having problems with a couple of stories from Stories of Arda (http://www.storiesofarda.com), both by the same author.

http://www.storiesofarda.com/chapter...w.asp?SID=4018 comes up with the error message - 'NoneType' object has no attribute 'find'
Interesting. Chapter 8--and only chapter 8--of that story throws out an "are you an adult?" question. We didn't know that site ever required that. I can make the adapter work with that when is_adult is set, but because it's on chapters, it can't stop and prompt the user.

However, for that particular story, that only gets us as far as the next issue:

Quote:
Originally Posted by SallyK View Post
whereas http://www.storiesofarda.com/chapter...w.asp?SID=5046 seems to add okay, and you get the book structure with the chapter headings, but no actual text of the story.
Both this and the story above have extra <body> tags inside the story HTML that's confusing the parser. That's a problem with the HTML as uploaded by the author. But it's one I've seen before on other sites, and I've applied the same fix.

However, I need you to test several stories by other authors on storiesofarda.com to make sure it didn't break any of them. (I don't read storiesofarda.com.)

Attached is a test version with fixes.

UPDATE Jul 28, 2013 - Remove obsolete beta versions

Last edited by JimmXinu; 07-28-2013 at 09:42 PM.
JimmXinu is offline