User tests: Successful: Unsuccessful:
Script to update the microdata types.json library #1967
Test: run in your command line php cli/microdataCreator.php
Joomla Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32005&start=0
To create the https://github.com/joomla/joomla-cms/blob/master/libraries/joomla/microdata/types.json file this script makes more than 500 http requests, which I don't think is the best practice :)
I've asked in the Schema.org mailing list and there there is no official .json file provided but is on its way. However there is an official canonical machine representation of schema.org is in RDFa http://schema.org/docs/schema_org_rdfa.html which can be used to parse and generate the .json file.
Also there is unofficial http://schema.rdfs.org/all.json file that is generated daily by http://schema.rdfs.org , but I need to parse it anyway since it contains schema comments which results in a heavier file and less performance.
@Bakual @betweenbrain Since new Types and Properties are added and removed on http://schema.org weekly, it is possible to run the script on each Build (Jenkins?) to update the types.json file, so there is no need to make new PRs to update that file?
I'm closing this PR since it makes no sense, a new PR should be made.
Thanks everyone for testing!
Can you update please? now that the library is merged this is in conflict.