AKSW / site.ontowiki

HTML Content Publishing system on top of Linked Data
6 stars 7 forks source link

how do we allow to create 301 Moved Permanently redirects #7

Closed seebi closed 11 years ago

seebi commented 11 years ago

e.g. at aksw.org when we hard delete a project and want to redirect to a descendant project ...

@white-gecko any ideas?

white-gecko commented 11 years ago

Maybe a property aksw:movedTo (rdfs:subPropertyOf rdfs:seeAlso) and a redirect extension which sends the HTTP code and location in the header but still outputs the resource content (e.g. rdf) in the body.

white-gecko commented 11 years ago

Maybe an extension is overkill and we should just add a method to the SiteHelper which is listening to the right event and checks if a aksw:movedTo is specified.

Those are the events I could find so far: https://github.com/AKSW/OntoWiki/wiki/Events

seebi commented 11 years ago

implemented as site:MovedResource feature ...