Apple new feature for Safari seems neat, like it a lot, but not too sure how Google and all the other content provider opinion on it. Like I said I like it, an to any other user who notice this feature, they’ll like the feature a lot.
Since today is Monday, need to get the brain working before doing any real job. So I fired up Safari and download a page which is “Reader”able. I happen to be reading the result for yesterday F1 result, the address is http://www.formula1.com/news/headlines/2010/6/10910.html.
So I download a copy of the webpage in HTML, [Safari can't do this so I use IE]. Save to desktop and opened the file locally through Safari, file load perfectly but for some reason the reader button doesn’t lit up. Can’t be the content, it’s the same as the one on formula1.com. Must be something about how it being served. So copied the file to my local webserver, and open the page with safari from there.
To my surprise it worked. Reader button lights up. Went straight to the content and looked for the pattern. My first assumption is Safari detect long continuous <p> or <div> node. F1 seems to be writing it’s content separated with double <br> node. Try changing the <br> node to <div> reader still work. Tried changing the whole container style so that display:none. So nothing is rendered in the webpage, and at the same time the Reader button doesn’t lit up, good stuff apple.
So display:none will not work. Then I tried adding an extra paragraph to the page, and set the style font-size:1px; color:red. In the page is renders correctly, the new paragraph looks small. Reader still lits up, now comes the best part, in reader the new paragarph is rendered at the same size as all of the other content.
Since display:none doesn’t work and using an extra paragraph will mess the positioning of the content. I tried my luck by setting the extra paragraph style to “position:absolute; width:1px; height:1px; top:0px; left:0px; font-size:1px. And fill the pragraph with some subliminal messages. Below is the result.
- The extra paragraph shold be by the red line, since it’s absolute it’s elsewhere
- You did not see these
WordPress I seems to be missing my carret after posting the picture.
I’m sure apple be patching this up asĀ it very simple. Me I don’t hate Apple, just bought an Ipad and an Ipod. Damn good devices, can’t wat for my IPad safari to come with reader. But to the content provider out there, this can be short measure to annoy those pesky user who uses the reader function hence overlooking all the nice add you have on your pages.
If annoy is not working for you,one can always just sniff the browser and block them completely. Apple user like what 5%. And 90% of these people will get 80% their stuff from Apple.com. So what is the point in trying to sell stuff to them.
I’m not sure if anyone even read these stuff I wrote. Still that is an hour of productivity well spent. Anyway back to work, currently looking into SAP PM table structure.

