13 karma · joined Jul 9, 2016 (10y ago) · 2 submissions
comment 10y ago · link · parent
https://github.com/mozilla/page-metadata-parser
This repo is exactly what you describe, meant to be a collection of 'recipes' or 'rules' for extracting various forms of metadata from pages. It's very early in its infancy but we are nearing deploying a first version of this to users via Test Pilot:
https://testpilot.firefox.com/
I would love feedback or contributions!
comment 10y ago · link · parent
We want to use Fathom as the engine for applying a series of rules to look for various forms of metadata in pages and collect them in a consistent fashion. This can be used for storing/querying rich data about pages, presenting nice previews of pages to users, and other applications.
My hope is that this repository acts as a collection point for people to continue to contribute rules for various forms of metadata, from basic page representation, to more domain specific things like product data, media data, location data, etc.
The project can be found here:
https://github.com/mozilla/page-metadata-parser
This library is designed to be used either as a node package within a server side node ecosystem, or client side through npm and webpack/browserify/etc, it's currently tested against node and Firefox.
Soon I hope to wrap it in a RESTful API with a Docker container, which will be found here (still needs docs/tests):
https://github.com/mozilla/page-metadata-service
I recently found a very similar project called `Manifestation` which does almost the exact same thing, so I hope to collaborate with Patrick and integrate the projects if possible.