All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Repository moved from https://github.com/white-gecko/jekyll-rdf/ to https://github.com/AKSW/jekyll-rdf/
- Add possibility to specify the default graph on a SPARQL endpoint
- Some updates in the test/build system
- Update some dependencies
- Minor code cleanup
- New
resource.rendered
attribute to check if a page is rendered in the present site for this resource. - Update class-template selection to be straightforward
- Allow building sites from a (remote) SPARQL endpoint by setting
remote:\n endpoint: <endpointuri>
in the_config.yml
. (Currently only querying the default default-graph ;-). Specifying the default graph, withFROM
resp.default-graph-uri
will come in the future, https://github.com/white-gecko/jekyll-rdf/pull/220.) - Specify the list of resources to be rendered, in a file by setting
restriction_file: <filename>
in the_config.yml
. - Add hooks for posts and documents to also use the RDF context there.
- Show debug messages only if JEKYLL_ENV is set to development
- Reduce template mapping output
- Fix error if prefixes are requested before the page hook
The major revision with a lot of changes as a birthday present for jekyll's. For a full list of the changes check out the pullrequest: Commits (140), Files changed (236) and the 3.0.0 milestone. If you have trouble transitioning from Jekyll RDF 2.x to 3.0 please check our documentation of the filters in the README. If you think we made some mistakes please help us be sending pull requests or filling an issue.
- You can now omit
page.rdf
for some filters and just passnil
, which will default to the current pages RDF resource. - The JekyllRDF filters can now also be used on standard Jekyll pages which are not created by JekyllRDF.
- Allow embedding of Jekyll pages into JekyllRDF pages which are mapped to the same URL. (This currently only works properly with HTML pages, MD is not rendered in this case.)
- New config parameter
baseiri
which defines the namespace from which the resources are interpreted independently from jekylls standardbaseurl
andurl
parameters. - Support for gem based themes (https://jekyllrb.com/docs/themes/). The first one is (https://rubygems.org/gems/jekyll-theme-jod).
- A lot under the hood.
- Improved documentation in the README.
- Make the URI mapping of RDF resources to Jekyll pages neat and more predictive, or logically (as you like to see it) this involves the mappings described in https://github.com/white-gecko/jekyll-rdf/issues/94, https://github.com/white-gecko/jekyll-rdf/issues/78, and https://github.com/white-gecko/jekyll-rdf/issues/82.
sparql_query
now accepts arrays, this allows to specify multiple variables to be replaced by the arrays content using the variables?resourceUri_0
,?resourceUri_1
and so on.- Prefix paths don't need to be in the
rdf-data/
folder but can be anywhere. Therdf_prefix_path
is no longer interpreted relative tordf-data/
. We rather recommend to place it in_data
. - All filters now also accept URI-strings as input e.g.
{{ <http://example.org/resource> | rdf_property: … }}
. rdf_container
filter can now also be called using a property as it is possible forrdf_collection
.
- Fix behavior of URI mapping when it was disturbed by the Jekyll permalink settings.
- Prefix definition files can now contain empty lines.
- Fix behavior in development mode, when the
site.url
is set to http://localhost:4000 (https://jekyllrb.com/news/#3-siteurl-is-set-by-the-development-server). - Usage of math filters and some other standard liquid filters.
- Interpret graph path relative to source path and not the current working directory.
- Add convenient method to parse collections starting with a blank node, using the
rdf_collection
filter.
- Fix Jekyll warning about config syntax change. Replace
gems
byplugins
in test_config.yml
.
- Add new filter
rdf_get
to create new instances ofRdfResource
within liquid - Add
.inspect
method forRdfResource
- Add support for equality operators on
RdfResource
- Fix build process and don't fail if a class in the mapping doesn't exist in the RDF model
- Fix/Improve description for
jekyll build
vsjeykll serve
in README
- Fix
render_path
andpage_url
attributes of resources - Fix release builds with travis for rubygems
- Fix support for RDF Containers and Collections: subclasses of rdfs:Container can be used now and containers are ordered
- Automated pre-release builds with travis and rubygems
- Support for RDF Containers and Collections with the
rdf_container
andrdf_collection
filters - Add
rdf_inverse_property
filter to follow incoming triples - README Add documentation for
rdf_container
andrdf_collection
filters - README Add documentation for
rdf_inverse_property
filter
- Dependencies:
linkeddata
~>1.99 -> ~>2.0,sparql
~>1.99 -> ~>2.2, >=2.2.1 - Move some dependencies to development section
- README general improvements
- README: Adjust usage of the
rdf_property
filter - README: Add documentation for prefix handling
- Naming conventions, use underscore instead of camel caps
- Always write resources and properties in
<…>
to distinguish them from prefixed qnamesrdf_property
- A
default_template
in the configuration is not mandatory anymore, there will only be a warning if it is needed - Improve prefix handling
- General code refactoring
- Some more tests
rdf.foafName
does not exist anymore
- README: Fix documentation for template mapping
- README: Fix doucmentation of fragment identifier support
- Support for umlauts in URLs
- Fix usage of jekyll
site.url
andsite.baseurl
- Fix class and instance template mapping
- Fix handling of blank nodes for page generation
- Fix Cangelog formating for 2.0.0 ;-)
- jekyll-rdf now distinguishes between instance resources and class resources
- jekyll-rdf can now host URIs which differ only in its fragment identifiers on one page
- RDF QName handling
- Show warning if jekyll-rdf is not configured but included
- Properly serving hash-URIs (
#
). All URIs differing only in the fragment are mapped to the same page. - Define namespace prefixes in template header using
rdf_prefix_path
- Add warning if multiple class template mappings exist and produce candidates for rendering a resource
template_mapping
is now replaced byclass_template_mapping
andinstance_template_mapping
. An error is raised for old configuration format.- just printing a resource will print its URI instead of its full name
- the app will tell the user if he uses an outdated configuration
rdf_property_list
is now integrated intordf_property
- the
foaf:name
of each resource gets no longer printed automatically, userdf.foafName
to get thefoafName
- remove unused code
- changed README.md to mirror new version and the API changes
- Tests will no longer fail, fix test coverage
- Serving resources under configured URL
- Fix URI and title handling by replacing
to_s
method byiri
method. Titles have to be retrieved using property filter. - Fix infinite loop for
name
method in combination withfoaf:name
- Filter URI in
_config.yml
doesn't influence RDF-class hierarchy anymore - Fix language handling for
rdf_property
- (Serving Resources with ending with slash)
- URIs and their corresponding resources are now rendered bejective
- reduces the number of iterations for the rdf_property filter and fixed a bug that made it crash
- jekyll-rdf can render URIs through a mapping in the _config.yml file under the use of template_mapping
- README.md that explains every step