Hi Stanbol people,

I have a few questions concerning the cmsadapter.

1)
To map a content repository to an RDF graph,

curl -i -X POST -d 
"sessionKey=eec8ff46-aaf9-485f-a7b5-452c1d7197d0&baseURI=[some_uri]&store=true" 
http://[stanbol]/cmsadapter/map/cms

does not work for me. (I get 500 internal server error)
The documentation says:
*"baseURI*is a mandatory parameter that is used as the base URI of the RDF to be generated."

Why is this baseURI needed here as mandatory parameter, if the RDF graph is returned to the user in application/rdf+xml format?

And what can I specify as baseURI (does it work with a local file path or directory path)?

2)
For the contenthubfeed, I wanted to submit a content item with path 'node1/node2' from my repository with: curl -i -X POST --data "sessionKey=5d934b53-dc33-4d9c-884f-c16c8ba872af&path=/node1/node2&recursive=true" http://lnv-89012.dfki.uni-sb.de:9001/cmsadapter/contenthubfeed I get 200 OK, but when I look on the contenthub, nothing has changed, no new items are listed.

Would it notify me in case it cannot find my repository item (e.g. for wrong name or wrong path)?

(I was trying for JCR/RMI)

Thanks,
melanie

Reply via email to