Setup Schema.org application to host an extension -
i try host extension of schema.org schema.org application https://github.com/schemaorg/schemaorg. can't figure should placed rdfa file achieve this.
will cool have ability show extension terms separetely it's done bib extension, please see image
i found workaround solution place extension schema.org hosted extension. solve problem, have inconvience.
to extension has been read need add additional element sdoapp.py
enabled_extensions = [ 'auto', 'bib', '%your_ext_name%' ] all_layers = [ 'core', 'auto', 'bib', '%your_ext_name%']
after can place rdfa data/ext/%your_ext_name%/any_file_name.rdfa
rdfa should describe terms schema:ispartof property in way
<div typeof="rdfs:class" resource="http://schema.org/anentity"> <link property="http://schema.org/ispartof" href="http://%your_ext_name%.schema.org"/> </div>
the main disadvantage terms accessible via additional subdomain.
for example host extension under http://schema.example.com
your terms accessiable under
http://%your_ext_name%.schema.example.com/anentity
and it's not good
Comments
Post a Comment