AKSW / article.ontowiki

This repository contain an extension for OntoWiki dealing with articles (edit and view)
0 stars 0 forks source link

please use the resourcecreationuri extension for adding new resources #25

Closed seebi closed 11 years ago

seebi commented 11 years ago

This feature is imho crucial since it integrates the "createing new pages" use case well in OntoWiki. Without this feature, we can not use it to create new resources since we will have these hashed-URIs then.

The implementation side is not so complicated. You just need to send a simplified UPDATE POST of the resource update endpoint just as this is done by RDFauthor here: https://github.com/AKSW/RDFauthor/blob/develop/src/rdfauthor.js#L1030

This even simplifies your component since you do not need your own callback service ...

k00ni commented 11 years ago

e677deeb67494fb7ab3dfb20e636a2141bde7276 and following commits fix this issue. But there UPDATE POST but we used INSERT + DELETE to update an existing resource.