Hi Arthi,

Try adding fise:extracted-from property. According to my experience, RDF resources without extracted-from property are filtered by the ContentHub.

Hope that helps.

Cheers,
Rafa

El 01/10/13 13:58, arthi.ven...@wipro.com escribió:
Hi,
   In addition to the content file I want to upload some per document metatdata 
- ( Document subject, Document title, etc ).

Iam unable to see the additional metadata. The other enhancements / content 
ingestion goes through fine.

1.       Is the curl command below correct

2.       Is the RDFmetadata format below correct

3.       I assume if the enhancement works I would be able to see the 
additional metadata also in the enhancements.  Is this correct?

I have used the below curl command.
curl -i -X POST -H "Accept:multipart/form-data" -H "Content-Type:application/msword" --data-binary 
@TextToEnhance.docx -H "Content-Disposition: form-data; name=urn:my-content-item4" -d @SampleRDFMetadata.txt  
"http://localhost:8080/contenthub/contenthub/store?uri=urn:my-content-item4"; -u admin:admin

The SampleRDFMetadata has this  content :
<rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
    >
   <rdf:Description >
     <title>Test Metadata</title>
                 <owner>Arthi</owner>
                 <subjectOfArticle>General posts</subjectOfArticle>
     <rdf:type rdf:resource="http://fise.iks-project.eu/ontology/Enhancement"/>
   </rdf:Description>



Thanking you and Regards,
Arthi


Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com



--

------------------------------
This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

Zaizi Ltd is registered in England and Wales with the registration number 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road, London W6 7AN.

Reply via email to