New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the new extensions model #429
Comments
It would be nice to simply use GitHub (and Git clients) Search to easily find same or similar named properties, types, etc. across core and extensions (to help with aligning extensions and core, etc). Q: I think putting extensions themselves in a separate parent folder in the repository (instead of under /data ) might help even more with filtering mechanisms (path) in GitHub extensions and Git clients that many of us use ? Although symbolic links and aliases can help on the client side, second thought. |
Also Richard Wallis noted we had reverted to poor utf8 behaviour w/ schema loading, need to find/fix that report. |
In pursuit of the above, I've been wiring in the JINJA2 template engine (#459). The homepage is now composed via script-capable templates from templates/*tpl. The variables exposed to the templates are currently too chaotic and shouldn't be considered a stable API. We can rationalize those naming choices once the thing is in a functioning state. |
First pass ready for evaluation and comment. 'bib' extension proposal implemented to to view. Enhancement to rdfa filesNew element required for classes and properties to associate them with an extension: <div typeof="rdfs:Class" resource="http://schema.org/Chapter">
<link property="http://schema.org/isPartOf" href="http://bib.schema.org" />
<span class="h" property="rdfs:label">bib:Chapter</span>
<span property="rdfs:comment">One of the sections into which a book is divided. A chapter usually has a section number or a name.</span>
<span> Subclass of:<a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">schema:CreativeWork</a>
</span>
</div> Note: The 'http://schema.org/isPartOf' definition is only required for new [across all extensions & core] terms. The default is to be partOf http://schema.org hence it is not required in core rdfa files. It is also not required when adding extension specific details to an already defined term - eg. Adding to the range of a property: <div typeof="rdf:Property" resource="http://schema.org/pageEnd">
<span class="h" property="rdfs:label">schema:pageEnd</span>
<span>Domain:<a property="http://schema.org/domainIncludes" href="http://schema.org/Chapter">bib:Chapter</a></span>
</div> Display / Navigation of terms in hosted extensionsHome page
Identifying terms from an extensionSee example: http://bib.sdo-ganymede.appspot.com/Audiobook
<code property="rdfs:label"><a class="ext-bib" href="/readBy">readBy</a>*</code> See example: http://bib.sdo-ganymede.appspot.com/Book where Identifying potential properties from extensions when displaying in coreSee example: http://sdo-ganymede.appspot.com/Book
Navigation to extension definition
ToDo
|
…org (#727) Cleaned up navigation after v2.1. Made navigation through menus and docs consistent as to when to remain in an extension or to force to basic schema.org. Included making schemas.html into a template. Also maintains the http/https state through a user session. Corrected thread based caching of global variables errors that were introduced with extensions - reset temporary fix of threadsafe=false in app.yaml. Introduced a /_siteDebug page to monitor cache usage and settings etc. Issues: (#429) - Completing the initial extensions model (#732) - Docs links for menus now go to base url (#716) - Preparing ground by at least being in session consistent
This can be closed following application of pull (#751) There will be further enhancements to how user interact with extensions but they should be raised separately. |
Yup. We should list new things needing extension-related support in #1 too (including external extensions) |
Meta bug. See discussion thread https://lists.w3.org/Archives/Public/public-vocabs/2015Mar/0117.html
Related: draft bib: extension #431 https://lists.w3.org/Archives/Public/public-schemabibex/2015Apr/0000.html
First cut code was merged from sdo-scripts into sdo-gozer, April 27th.
TODOs
Site navigation
For any running installation of the schema.org site, ... considering a base domain such as 'schema.org', 'sdo-gozer.appspot.com', 'webschemas.org' etc., here written BASE_DOMAIN:
Data loading and internal APIs
As with schema.org core, all schemas and examples are deployed as part of site updates; they are not loaded dynamically from the Web. This first extensions implementation only addresses reviewed/hosted extensions (e.g. "bib.schema.org") and has no treatment of external extensions, i.e. those on external domains.
Testing
Test URLs:
The text was updated successfully, but these errors were encountered: