mozilla-magnet / magnet-html-parser

1 stars 3 forks source link

Parse article body #15

Open wilsonpage opened 7 years ago

wilsonpage commented 7 years ago

We need to show some content in magnet-client when the user taps on a POI, right now the meta-description is pretty crappy content. Ideally we would show an extract/summary of the real article, or even have the ability to show the entire article.

https://github.com/mozilla/readability might come in handy.

wilsonpage commented 7 years ago

@samgiles @arcturus thoughts?

wilsonpage commented 7 years ago
samgiles commented 7 years ago

I think we should use try and use fathom if we try this.

wilsonpage commented 7 years ago

That will depend on us moving everything to JSDoc instead of Cheerio, unless we parse twice :/ Happy to make that change if it gives us better metadata. Number one priority is to not lose any control if we move to a framework.