[xwiki-devs] [VOTE] Add getRenderedContent method to xml-rpc
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
+1 Thanks, Marius Florin Ciubotaru wrote:
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
+1 On Wed, Nov 25, 2009 at 17:44, Florin Ciubotaru <[email protected]> wrote:
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
-- Thomas Mortagne
+1 - Asiri On Wed, Nov 25, 2009 at 10:14 PM, Florin Ciubotaru < [email protected]> wrote:
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
participants (4)
-
Asiri Rathnayake -
Florin Ciubotaru -
Marius Dumitru Florea -
Thomas Mortagne