Open
Description
Pitch
A user has a Pod on which she stores data that fits particular shapes BookReviewShape , CVShape , RecipeShape. She wants to choose from a market of layout styles that can render these shapes according to her preferences.
For instance for her Curriculum Vitae related data on her Pod she is quite picky in what form it is rendered. The CVShape expresses what is part of a typical CV. These shape could have gotten some popularity which allows many applications to provide renderers for it.
Desired solution
- The solution builds on top of published data shapes that have gained some popularity.
- The solution has the capabilities to render data from this shape
- The solution provides some user controls to change the specifics of the rendering (e.g. provides some HTML templates)
Acceptance criteria
- Publish a SHACL/Shex sample data shape for a BookReview or Recipe. (Use e.g. GoodReads or AllRecipes.com as inspiration)
- Create a JS
<script>
that can be included in any HTML page that gets as input:- the path to a data instance of the shape (e.g. a link to an RDF resource of the BookReview shape)
- a DOM element to drop the layout in
- E.g
bookShapeRender('http://mypod.org/review/review1.ttl', myDivElement)
- As output the script should generate a pleasant layout of a BookReview for the input data
- Create several version of rendered HTML layouts for the same shape