View Single Post
Old 02-05-2014, 12:23 AM   #2403
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JimmXinu View Post
Unless it's an error that's common on the site, I wouldn't feel any obligation to work too hard correcting for one author's bad html.
I tend to agree. I haven't seen another error like it. I don't think it is the site code adding the </div> in the wrong place. It looks like the author has done a cut-and-paste from somewhere and included an extra line. Detecting that the chapter text is empty after stripping the site navigation stuff isn't hard. I think the best that would be to either write a message into the text that something went wrong or throw an exception. The first means that any good parts of the story are downloaded, the second means that nothing is downloaded but the user finds out immediately. I'm not sure which would be the preferred behaviour.

Quote:
Originally Posted by Robin42069 View Post
i guess since it looked like it worked i didnt look into it more thoroughly.thanks for the heads up. i'm sure i would had figured it out later and wondered what the hell was wrong with it. lol
Yes, when you got to the blank chapter!
davidfor is offline