[topicmapmail] Web Services
Jan Algermissen
algermissen@acm.org
Thu, 15 Jan 2004 13:27:44 +0100
Christoph Froehlich wrote:
> Panckoucke is currently used to feed presentation engines. Since some
> time, I wonder, if it shouldn't be possible to define the model in a way
> that roundtripping could be done. This would allow us to build editors
> based upon the panckoucke abstract model.
>
Regarding my last mail: if a given topic map lives at
http://www.example.org/topicmaps/xmltools
it makes perfect sense (from a REST POV) to POST XTM (or whatever)
to the map to add information.
You can even create (PUT) and erase (DELETE) maps via HTTP.
One might use
DELETE http://www.example.org/topicmaps/xmltools/topics/7763 HTTP/1.0
to delete a certain topic or
POST http://www.example.org/topicmaps/xmltools/topics/7763 HTTP/1.0
Content-type: application/xtm+xml
Content-length: xxx
[blank line]
<topicMap>
<topic id="foo">
<baseName>....</baseName>
</topic>
</topicMap>
to add a basename to a particular topic.
Jan
P.S. Part of the delay in my promised work on the XTM mime type is because
I wanted to play arond with these issues a little bit before proceeding
with the mime type. Sorry.