Hi,
I recreated your scenario an published a basic XmlRpc proxy on this page:
- http://xoffice.xwiki.org/xwiki/bin/view/CodeBase/XmlRpcProxy
Getting the wiki content of a translated page seems to work fine. Here's
how it can be used:
Page pageInfo = proxy.GetPage(token, "Main.WebHome?language=fr");
String frenchContent = pageInfo.content;
The language parameter value must be a value present in the translations
array.
Notes:
- The translations array contains all available translations for that
page, except the default language of the page.
- The default language of the page is the default language of the wiki
at the moment when the page is created. If ,in time, you change the
wiki's default language, the page default language for the page will not
change.
- If you need the rendered content you will need to make another call to
this API method:
public String renderContent(String token, String space, String pageId, String content) throws Exception;
Please let me know of your progress
Thanks,
Florin Ciubotaru
Ari Oinas wrote:
> Ok, my setup is as follows:
>
> Xwiki Enterprise 1.71 installed on Apache Tomcat server (Win Xp Pro Sp3) and
> it's working fine.
>
> Im trying to create .NET Managed -application using C# (Visual Studio 2008)
> which connects to Xwiki and displays Xwiki content on a dialog.
> Im using CookComputing.XmlRpc -library.
>
> So far I've managed to do the following:
> - Connect and login successfully to Xwiki
> - Fetch pagesummaries, pages and attachments from Xwiki and displayed them
> in Windows.Forms.WebBrowser component.
>
> I have created a space in Xwiki which holds the pages I want to show in my
> application. (Space name contains spaces, is this a problem?)
>
> I have created a page inside this space and also translated it to another
> language. This page is displayed properly in Xwiki web-client. Page is
> created using Xwiki 1.0 syntax.
>
> If I debug my program and inspect PageSummary -properties, I can see that
> there is a translation called "en" in translations array.
>
> Best regards,
>
> paristo
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
> Fabio Mancinelli
> Sent: 17. maaliskuuta 2009 15:07
> To: XWiki Users
> Subject: Re: [xwiki-users] Translations cannot be fetched using XML/RPC
> interface
>
>
> On Mar 17, 2009, at 1:37 PM, Ari Oinas wrote:
>
>
>> Hi,
>>
>>
>>
>> My problem is that I cannot fetch translated pages from Xwiki using
>> XML/RPC
>> interface.
>>
>>
>>
>> I have tried it like this:
>>
>> xwikiInterface.getPage(iToken, Space.Page + "?language=en");
>>
>> but it returns the default page.
>>
>>
> Hi,
>
> could you tell me your exact setup?
>
> I tried with a multilanguage wiki and a Main.WebHome translated in fr
> and it.
>
> rpc.getPage("Main.WebHome?language=en").getContent() -> English
> rpc.getPage("Main.WebHome?language=it").getContent() -> Italiano
> rpc.getPage("Main.WebHome?language=fr").getContent() -> Français
>
> The available translations are accessible using the
> Page.getTranslations()
>
> In the previous example, this call returns [it, fr] (Maybe here we
> should explicitly add also the default translation)
>
> Let me know.
>
> Cheers,
> Fabio
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
Hello all,
I'm looking for a real tutorial (step by step or How to) for creating skins and template for XWiki ... I'm Looking for the Xwiki Documentation ... and it's not really understable ...
Someone have some knoewledge about ?
Thanx,
Azz ..
PS : If someone write a good Tutorial, I'll paid him/her beer in a wonderfull pub in Paris ...
HI
Is there a way of filtering tags using the new TagCloud?
1. I want to create a filter to display tags based on space name.
2. I want to create a filter to display tags based on a value in doc
class property (ie. Show tags where doc property topic=education).
Is there any documentation on tag API (I seen there is stuff like
$xwiki.tag.getTags()) ?
Thanks
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hello all,
I saw in the list that Vincent said in the past that to make tags working in virtual wikis, you have to set programming rights to users in the main wiki (if i got right ...)
I changed rights in the main wiki but it still works in the main wiki but not in virtuals ones.
Can you tell me how to do ?
(Users are checked and updated from LDAP - In case of it's important)
Thank you
System :
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.7.1 from the pack Jetty/HSQL
Christophe Périnaud
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I'd like to open a new wiki named lescastcodeurs.myxwiki.org that will
be used as the wiki for a new French geek podcast to be announced later.
I'm taking care of this request, this is just a fyi.
Thanks
-Vincent
On Mar 17, 2009, at 2:38 PM, Ari Oinas wrote:
> Ok, my setup is as follows:
>
Thank you for your answer.
I'll try to reproduce your setup in order to check what's going on.
I'll keep you informed.
Cheers,
Fabio
On Mar 17, 2009, at 1:37 PM, Ari Oinas wrote:
> Hi,
>
>
>
> My problem is that I cannot fetch translated pages from Xwiki using
> XML/RPC
> interface.
>
>
>
> I have tried it like this:
>
> xwikiInterface.getPage(iToken, Space.Page + "?language=en");
>
> but it returns the default page.
>
Hi,
could you tell me your exact setup?
I tried with a multilanguage wiki and a Main.WebHome translated in fr
and it.
rpc.getPage("Main.WebHome?language=en").getContent() -> English
rpc.getPage("Main.WebHome?language=it").getContent() -> Italiano
rpc.getPage("Main.WebHome?language=fr").getContent() -> Français
The available translations are accessible using the
Page.getTranslations()
In the previous example, this call returns [it, fr] (Maybe here we
should explicitly add also the default translation)
Let me know.
Cheers,
Fabio
Hi,
My problem is that I cannot fetch translated pages from Xwiki using XML/RPC
interface.
I have tried it like this:
xwikiInterface.getPage(iToken, Space.Page + "?language=en");
but it returns the default page.
My Xwiki-interface getPage method is defined as follows:
[XmlRpcMethod("confluence1.getPage")]
PageStruct getPage(String token, String pageId);
I'm using C# language and Visual Studio 2008 and I currently have a working
prototype of an application which fetches Xwiki-pages from remote
Xwiki-installation. But now the problem is how to get also translated pages.
Any help regarding this issue would be greatly appreciated.
Best regards
-paristo
Hello,
Did you install it as a service ?
Try in google : "install tomcat service"
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Dharani
Envoyé : mardi 17 mars 2009 12:11
À : users(a)xwiki.org
Objet : [xwiki-users] Installing Xwiki on Windows
I'm installing Xwiki on Windows.I use Tomcat as the application server. I
installed the server (apache-tomcat-5.5.27.exe : I have jdk1.6 in my
machine) But the server doesn't start with starting Windows. I always have
to execute the .exe file in the bin folder
How to fix this problem
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
I'm installing Xwiki on Windows.I use Tomcat as the application server. I
installed the server (apache-tomcat-5.5.27.exe : I have jdk1.6 in my
machine) But the server doesn't start with starting Windows. I always have
to execute the .exe file in the bin folder
How to fix this problem