fullmeta-dev / githoot-public

git.ht issues and public discussion
6 stars 0 forks source link

Hoot metadata #4

Open vkz opened 1 year ago

vkz commented 1 year ago

Explicitly supplied by the author

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@githoot" />
<meta name="twitter:title" content="Small Island Developing States Photo Submission" />
<meta name="twitter:description" content="View the album on Flickr." />
<meta name="twitter:image" content="https://user-images.githubusercontent.com/917220/232055066-13c30338-12fb-4c29-9e66-313907598e43.png" />

ditto OpenGraph with og: prefix.

but also keywords we can use to populate Atom's <category> for each entry:

<meta name="keywords" content="your, tags"/>
<meta name="category" content="your, tags"/>

Implicit - require extraction

Extract image, title, description, keywords and category (aka tags)