AKSW / jekyll-rdf

📃 A Jekyll plugin to include RDF data in your static site or build a complete site for your RDF graph
http://aksw.org/Projects/JekyllRDF
Other
57 stars 10 forks source link

Serving resources ending with slash not possible #24

Closed white-gecko closed 7 years ago

white-gecko commented 7 years ago

From https://github.com/DTP16/jekyll-rdf/issues/17:

It is not possible to serve resources which are ending on a slash. E.g.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<http://example.org/> rdf:type foaf:Person .
<http://example.org/> foaf:name "Example" .

A file .html will be generated. Which can't be served, at least with jekyll serve.


@lordon: We should switch to this concept: https://jekyllrb.com/docs/pages/#named-folders-containing-index-html-files Do you agree?


@white-gecko Yes, that sounds good.

(just for later reference:) For distinguishing between the actual resource, the HTML resource and potentially an RDF resource (cf. https://www.w3.org/TR/cooluris/#semweb) still some kind of proxy with redirects and content negotiation can be used in front of the static pages.

white-gecko commented 7 years ago

@Simaris I think this is fixed since we generate index.html files in this case. Is that correct?