5 ms·
How does instapaper strip down articles?
How does instapaper and apple reader strip down articles? I mean any other tool I use like it produces no where near as beautiful results as instapaper.
- JoachimSchipper 15y agoLook at Readability.
- mrkmcknz 15y agoI still wonder how they are actually stripping the documents so differently. Instapaper, readability and apple reader often look so different and on occasions one or the other will omit vital media. However, apple seems to omit media more then others.
- msmithstubbs 15y agoI believe Instapaper uses a custom parsing engine for stripping content from pages. There's a page here which lists the site specific rules Instapaper uses for extracting content: http://www.instapaper.com/bodytext http://www.instapaper.com/bodytext I think this is why you see such good results from Instapaper.
- cskau 15y agoInstapaper used to use some wrapper code around Readability and do all the work in the client browser. However, I'm a bit surprised to see that Marco has moved away from this approach. If you look at the code loaded with the bookmarklet[1], you can see it seems to simply compress the page (with Base64) and send it to the server, where it must be processed now. Likely this is done to shift the workload off the user, and make it simpler to maintain and modify. [1] http://www.instapaper.com/j/VOvVpvxqOIFR http://www.instapaper.com/j/VOvVpvxqOIFR
- geoffw8 15y agoThere are open source java based tools that let you do this. Can't think of any, but this isn't new...
- tectonic 15y agoTake a look at ruby-readability: https://github.com/iterationlabs/ruby-readability https://github.com/iterationlabs/ruby-readability
- mrkmcknz 15y agoThat's perfect thanks!
- deleted 15y ago[deleted]