metadata library
License
cutsea110/metadata
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project can generate Text.HTML5.MetaData library. The library is all representations mapped from Schema.org's metadata. outdated: => check first by wget http://schema.rdfs.org/all.json see https://github.com/mhausenblas/schema-org-rdf/tree/master/scrapers But, I do git clone https://github.com/link-fish/schema-org-rdf, because this works rather than original. $ cd schema-org-rdf/scrapers $ python scrape_all.py output.ttl output.json classes.csv properties.csv $ cp output.json ../../all.json gen-metadata.hs is Main program and the execution generate metadata library(without cabal). $ cabal sandbox init $ cabal install --only-dependencies $ cabal configure --user $ cabal build $ cp dist/build/gen-metadata/gen-metadata . $ ./gen-metadata and then, build metadata $ cd gen $ cabal sandbox init --sandbox=../.cabal-sandbox $ cabal configure --user $ cabal build