flâneur — a map of the web's best reading

Rolling the Boulder Uphill: How Matter Approaches Parsing

hq.getmatter.com · 1,534 words · saved by 1 readers

One of a reading app’s most important jobs is converting unruly web pages and email newsletters into “reader view” — a beautiful, distraction-free interface optimized for reading. At Matter, the benefits of “reader view” are not merely cosmetic. They include critical functionality like offline support, dark themes, accessibility, text-to-speech, progress tracking, and annotation. As such, it’s important that we parse pages accurately. (For those new to the term, “parsing” is the process by which we extract the important elements of content – title, author, date, body text, images, captions – and jettison the distractions and boilerplate, like ads, menus, promotions, and email forms.) Parsing is a trickier problem than it might first appear. The challenge comes from the near-infinite surface area of the web. In such an unconstrained environment, it’s tricky to “read” a web page like a human would. To separate real content from boilerplate, we use a variety of layered heuristics and tech

Rolling the Boulder Uphill: How Matter Approaches Parsing Rolling the Boulder Uphill: Rolling the Boulder Uphill: How Matter Approaches Parsing One of a reading app’s most important jobs is converting unruly web pages and email newsletters into “reader view” — a beautiful, distraction-free interface optimized for reading. At Matter, the benefits of “reader view” are not merely cosmetic. They include critical functionality like offline support, dark themes, accessibility, text-to-speech, progress tracking, and annotation. As such, it’s important that we parse pages accurately. (For those new to

Explore this link on the map →

related reading