paramsXML
paramsXML
Posted on: Thu, 11/13/2008 - 15:41
I am unable to modify the output format no matter how I set the request directive as in this example - I always get as a response an RDF file:
outputFormat="Text/Simple"
Trackback URL for this post:
http://www.opencalais.com/trackback/9504

Your paramsXML looks fine (and returns simple format output when I use it).
Can you post some more information?
- Calais URL you are using
- Sample of HTML you are submitting and getting an RDF
- RDF response you are getting
- Code used to set paramsXML and submit the request
Thanks,
Shai Dagan
If that doesn't work, please post your entire paramsXML.
Thanks,
Shai Dagan
I sent you outputFormat but I did send c:outputFormat as in here:
Ptolemez -
We're looking at other solutions, but for the time being, to display your code in a Forum posting, you must encode it.
Regards,
http://api.opencalais.com/enlighten/rest?licenseID=uugn56r8wtyafgbb9eykj....
Hi,
There are 3 problems with the URL you posted:
- The name of your paramsXML parameter in the URL is 'XML' instead of 'paramsXML'
- Your paramsXML defines namespace rdf twice instead of defining namespaces c and rdf
- The outputFormat requested is Text/XML instead of Text/Simple
Correcting the above problems returns simple output format. Here is the corrected URL:
http://api.opencalais.com/enlighten/rest?licenseID=uugn56r8wtyafgbb9eykj....
Thanks,
Shai Dagan
Your suggestions about the errors did it.
Thank you