Hi devs,

I want to add two new methods to the xml-rpc api:

- String getRenderedContent(String token, String pageId, String syntaxId);
- String getRenderedContent(String token, String pageId, String content, 
String syntaxId);

Currently we are only able to get xhtml/1.0 output by using getPage and 
accesing page.Content from the methods output. We need this new methods 
to get the output in different syntaxes(Eg: annotatedxhtml). This is 
useful to parse the output for macros, images and links like we do in 
the wysiwyg.

I'd like the code to go in the 2.0.4 release. The old method invocation 
required different method names. Since we don't have the xml-rpc cleanup 
in 2.0.4 we probably need to have different naming for the methods 
above. Since starting with 2.1 we use the Apache Xml-Rpc method lookup 
and invocation, we might be able to use the same name and different 
signature in the future. I'll need to check this.

WDYT?

Thanks,
Florin Ciubotaru

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to