mozilla / page-metadata-service

DEPRECATED - A RESTful service that returns the metadata about a given URL.
Mozilla Public License 2.0
19 stars 8 forks source link

add support for microformats2 #123

Closed tantek closed 2 years ago

tantek commented 7 years ago

Just saw the lightning talk at #MozAloha - very cool!

microformats2 (http://microformats.org/wiki/microformats2) is a standard way web authors express common items on websites such as people, events, products, blog posts, etc. (along with classic microformats, across millions of sites, WordPress default themes for 10+ years etc.)

It would be great for page-metadata-service to support retrieving information like name, description, icon/photo etc. from microformats. There's been some previous work done on parsing out specifically "link preview" type information which appears to be the primary page-metadata-service use-case:

http://microformats.org/wiki/link-preview-brainstorming#parsing

Happy to help clarify / simplify to get something simple working and iterate!

tantek commented 7 years ago

cc: @mixedpuppy who may have some suggestions for how to do this in Firefox in particular