wallabag / wallabagger

Chrome / Firefox / Opera plugin for wallabag v2.
http://wallabag.github.io/wallabagger/
MIT License
364 stars 47 forks source link

use page tags as tags suggestion #180

Open bmillemathias-1a opened 4 years ago

bmillemathias-1a commented 4 years ago

Often pages have some tags related to their content, that would be usefull to expose those tags in the UI as "suggested tags" and clicking on one would add it to the tags list,

ghost commented 4 years ago

This would be feasilbe for sites using standardised ways of defining article tags. The only other option would be to use heuristics to guess at what might be tags in the markup of a page and I suspect that way leads to insanity.

The Open Graph Protocol has the article:tag object that seems to be in popular usage.

Sites include <meta> tags like the below which should be easy enough for Wallbagger to read and offer as suggestions.

<meta property="article:tag" content="General election" />
<meta property="article:tag" content="identification" />
<meta property="article:tag" content="personation" />
<meta property="article:tag" content="photographic ID" />
Rurik19 commented 4 years ago

It is also possible to get info from og:img, og:tite, and og:url meta tags