User offline. Last seen 2 years 37 weeks ago. Offline
Joined: 09/16/2008

 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

Login or Register to post a comment.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
User offline. Last seen 2 years 50 weeks ago. Offline
Joined: 12/31/1969

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

User offline. Last seen 2 years 50 weeks ago. Offline
Joined: 12/31/1969

If that doesn't work, please post your entire paramsXML.

Thanks,
Shai Dagan

User offline. Last seen 2 years 37 weeks ago. Offline
Joined: 09/16/2008

I sent you outputFormat but I did send c:outputFormat as in here:



User offline. Last seen 17 hours 47 min ago. Offline
Joined: 04/30/2008

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,

User offline. Last seen 2 years 37 weeks ago. Offline
Joined: 09/16/2008
User offline. Last seen 2 years 50 weeks ago. Offline
Joined: 12/31/1969

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

User offline. Last seen 2 years 37 weeks ago. Offline
Joined: 09/16/2008

Your suggestions about the errors did it.
Thank you