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

http://soil.by/screen/upload/screen_006.jpg

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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -