KawaiiBASIC / classilla

Automatically exported from code.google.com/p/classilla
0 stars 0 forks source link

Implement Readability "C-D-Article" #127

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I can't believe I never found Readability before. It is *perfect* for 
Classilla, and Classilla 9.2 is able to execute it flawlessly. This is a great 
stopgap pending new layout, but Safari 5 has it also, which means we're cutting 
edge or something.

The bookmarklet works NOW and ALREADY. This is to implement it as part of the 
browser chrome built-in. We can do this under the Apache License. This is such 
a stupidly good idea.

Bookmarklet:
javascript:(function()%7BreadStyle='style-newspaper';readSize='size-medium';read
Margin='margin-wide';_readability_script=document.createElement('SCRIPT');_reada
bility_script.type='text/javascript';_readability_script.src='http://lab.arc90.c
om/experiments/readability/js/readability.js?x='+(Math.random());document.getEle
mentsByTagName('head')%5B0%5D.appendChild(_readability_script);_readability_css=
document.createElement('LINK');_readability_css.rel='stylesheet';_readability_cs
s.href='http://lab.arc90.com/experiments/readability/css/readability.css';_reada
bility_css.type='text/css';_readability_css.media='all';document.getElementsByTa
gName('head')%5B0%5D.appendChild(_readability_css);_readability_print_css=docume
nt.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_pr
int_css.href='http://lab.arc90.com/experiments/readability/css/readability-print
.css';_readability_print_css.media='print';_readability_print_css.type='text/css
';document.getElementsByTagName('head')%5B0%5D.appendChild(_readability_print_cs
s);%7D)();

Actual source:
http://lab.arc90.com/experiments/readability/js/readability.js

Home page:
http://lab.arc90.com/experiments/readability/

We should also come up with our own UI images.

Original issue reported on code.google.com by classi...@floodgap.com on 11 Jun 2010 at 1:48

GoogleCodeExporter commented 9 years ago
whoops

Original comment by classi...@floodgap.com on 11 Jun 2010 at 1:48

GoogleCodeExporter commented 9 years ago
Riccardo Mori mentions some instability with Readability on NYT. I could 
certainly make it crash if I went for the bookmarklet before the page was done 
loading.

Original comment by classi...@floodgap.com on 17 Jun 2010 at 1:21

GoogleCodeExporter commented 9 years ago
Pretty much everything crashes on NYT. I can't wallpaper over them. Dropping 
from 9.2.1 until the new layout changes are made.

Original comment by classi...@floodgap.com on 24 Jun 2010 at 3:37

GoogleCodeExporter commented 9 years ago
We have the old Readability code still that works with Classilla. Perhaps we 
should simply try to fix the crashes.

Original comment by classi...@floodgap.com on 10 Oct 2011 at 9:21

GoogleCodeExporter commented 9 years ago
Review this for 9.3.0.

Original comment by classi...@floodgap.com on 24 Oct 2011 at 7:33

GoogleCodeExporter commented 9 years ago
Actually issue 174 is a better way to do this in the short term.

Original comment by classi...@floodgap.com on 26 Oct 2011 at 8:54