On Tue, Aug 4, 2009 at 01:21, [Ricardo Rodriguez] Your EPEC Network
ICT Team<[email protected]> wrote:
> Hi!
>
> Thomas Mortagne wrote:
>>> Yes. The plain text renderer exists in 2.0M1 but there's no URL
>>> parameter to call it. This was introduced in 2.0M2. I don't know if
>>> Thomas as documented it on xwiki.org yet. Thomas?
>>>
>>
>> I just added some documentation on
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/URL+resolution#HQuerystring
>
> Please, must be able to use outputSyntax and outputSyntaxVersion with
> the new XWiki Enterprise 2.0-milestone-2.22241?
>
> For pages composed using XWiki 2.0, I am not able to get a plain text
> out. I keep getting HTML code in the output. Please, how must I use the
> newly introduced parameters?

Yes it's supposed to be in 2.0M2, did you tried putting
?outputSyntax=plain&xpage=plain at the end of your URL ?

For example: 
http://localhost:8080/xwiki/bin/view/Space/Page?outputSyntax=plain&xpage=plain

outputSyntax indicate how to render the page content and xpage=plain
indicate to render only the page content.

I modified the doc to make more clear that outputSyntax is only for
the document content.

>
> Thanks for your help,
>
> Ricardo
>
> --
> Ricardo Rodríguez
> Your EPEC Network ICT Team
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



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

Reply via email to