mayoff / arc90labs-readability

Automatically exported from code.google.com/p/arc90labs-readability
0 stars 0 forks source link

Can't fix a mailing list article #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Browse to
http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg02919.html
2. Use the readability bookmarklet

What is the expected output? What do you see instead?
I expect to see a readable version of the mailing list post. I actually get
an error message from readability.

What version of the product are you using? On what operating system?
Here is the bookmarke

javascript:(function(){readStyle='style-newspaper';readSize='size-large';readMar
gin='margin-wide';_readability_script=document.createElement('SCRIPT');_readabil
ity_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/
experiments/readability/js/readability.js?x='+(Math.random());document.getElemen
tsByTagName('head')[0].appendChild(_readability_script);_readability_css=documen
t.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href=
'http://lab.arc90.com/experiments/readability/css/readability.css';_readability_
css.type='text/css';_readability_css.media='screen';document.getElementsByTagNam
e('head')[0].appendChild(_readability_css);_readability_print_css=document.creat
eElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.
href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_r
eadability_print_css.media='print';_readability_print_css.type='text/css';docume
nt.getElementsByTagName('head')[0].appendChild(_readability_print_css);})();

Please provide any additional information below.

Original issue reported on code.google.com by ncj...@gmail.com on 19 Nov 2009 at 9:37

GoogleCodeExporter commented 9 years ago
Sadly Readability won't work with pre-formatted content. Readability doesn't 
work on that page because the 
message content is defined in a <pre> tag and thus we have no way to replace it 
with the proper formatting. I've 
tried this before but to many times it incorrectly assumes the formatting 
needed.

Original comment by JJfut...@gmail.com on 19 Nov 2009 at 9:40

GoogleCodeExporter commented 9 years ago
Thanks. I guess I'll live with the pre-poorly-formatted page!

Original comment by ncj...@gmail.com on 19 Nov 2009 at 10:23