? Error

User tests: Successful: Unsuccessful:

avatar PAlexcom
PAlexcom
14 Sep 2013

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

avatar PAlexcom PAlexcom - open - 14 Sep 2013
avatar elinw
elinw - comment - 23 Sep 2013

Can you update please? now that the library is merged this is in conflict.

avatar PAlexcom
PAlexcom - comment - 23 Sep 2013

@elinw Ok, I think I've solved the issue?

avatar PAlexcom
PAlexcom - comment - 11 Jun 2014

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?

avatar PAlexcom
PAlexcom - comment - 11 Jun 2014

I'm closing this PR since it makes no sense, a new PR should be made.
Thanks everyone for testing!

avatar PAlexcom PAlexcom - close - 11 Jun 2014

Add a Comment

Login with GitHub to post a comment