Re: [xwiki-users] Idea for improvment of Xwiki Watch

2008-02-05 Thread Ludovic Dubost

Hi,

I think that given your organisation name it is highly probable that you 
need to add proxy authentication on the server configuration.

-Dhttp.proxyUser=
-Dhttp.proxyPass=

Ludovic

HERICHER Benoit DSIC BUA wrote:

 Hi,

 Thank you Anca for your help.
 But it doesn't solve the problem : I don't understand why.
 On the page Watch:Reader, i'm asked for the proxy's authentification 
 but no news are read.
 On the page Watch:Webhome, I select a feed for example googlenews : 
 I'm then directed on the page Watch:Googlenews where I click on the 
 hyperlink Google News : that redirects me on news.google.fr with all 
 the news correctly listed.

 I guess this could be a problem with the proxy's configuration. Any idea?

 Thank you

 Benoît

 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
 de [EMAIL PROTECTED]
 Envoyé : vendredi 1 février 2008 16:38
 À : users@xwiki.org
 Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch


 Hi there,

 XWiki Watch uses the feed plugin to get the feeds from external sources.
 The feed plugin currently uses the jvm proxy settings so the only thing
 you have to do is to set the java System proxy when starting XWiki. You
 can do that either through:
 -Djava.net.useSystemProxies for a java 1.5+ jvm, which tells the jvm to
 use the system proxy settings
 or by supplying:
 -Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port.

 You can read more about it at
 http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html or
 http://blogs.sun.com/roller/resources/jcc/Proxies.pdf

 Have fun using XWatch,
 Anca

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Idea for improvment of Xwiki Watch

2008-02-05 Thread HERICHER Benoit DSIC BUA

I have asked our network manager to make a trace : It seems that the proxy
authentification is not used by the feed plugin and so the proxy doesn't
accept to get the data.


Benoît
-Message d'origine-
De : HERICHER Benoit (DSIC BUA) 
Envoyé : mardi 5 février 2008 11:21
À : XWiki Users
Objet : RE: [xwiki-users] Idea for improvment of Xwiki Watch


Hi,

Thank you Anca for your help.
But it doesn't solve the problem : I don't understand why. 
On the page Watch:Reader, i'm asked for the proxy's authentification but no
news are read.
On the page Watch:Webhome, I select a feed for example googlenews : I'm then
directed on the page Watch:Googlenews where I click on the hyperlink Google
News : that redirects me on news.google.fr with all the news correctly
listed.

I guess this could be a problem with the proxy's configuration. Any idea?

Thank you

Benoît

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
de [EMAIL PROTECTED]
Envoyé : vendredi 1 février 2008 16:38
À : users@xwiki.org
Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch


Hi there,

XWiki Watch uses the feed plugin to get the feeds from external sources.
The feed plugin currently uses the jvm proxy settings so the only thing
you have to do is to set the java System proxy when starting XWiki. You
can do that either through:
-Djava.net.useSystemProxies for a java 1.5+ jvm, which tells the jvm to
use the system proxy settings
or by supplying:
-Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port.

You can read more about it at
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html or
http://blogs.sun.com/roller/resources/jcc/Proxies.pdf

Have fun using XWatch,
Anca

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Warning: iframe escaping malformed URI reference

2008-02-05 Thread Raffaele Viola
I removed the space in the zip file name and now the message: Warning:
iframe escaping malformed URI reference doesn't appears.
The problem is that PDF export still not include the htm file.

Can someone help me?

Thanks
Raffo

2008/2/5, Raffaele Viola [EMAIL PROTECTED]:

 Hi all,

 im using this macro to include HTML file into my page

 #macro(displayppt $zipname $htmlname)
 #set ($url = $xwiki.zipexplorer.getFileLink($doc, $zipname,
 $htmlname))
 iframe src=$url frameborder=0 scrolling=0 width=800
 height=600/iframe
 #end

 It works but when I try to export my page in PDF the generated PDF doesn't
 contains the included file and in the console appears something like
 Warning: iframe escaping malformed URI reference.

 the URI
 /xwiki/bin/download/Discussione/MasterPlan/Piano%20Principale.zip/Piano
 Principale.htm
 is traslated in:

 file:/C:/workspace%2Dxwiki/apache%2Dtomcat%2D5.5.25/work/Catalina/localhost/xwiki/h5khbL0n/
 Discussione.MasterPlan.Piano Principale.zip/Piano Principale.htm

 Regards
 Raffo

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Warning: iframe escaping malformed URI reference

2008-02-05 Thread Sergiu Dumitriu
Well, try putting the html file outside the zip, as a standalone attachment.

Sergiu

Raffaele Viola wrote:
 I removed the space in the zip file name and now the message: Warning: 
 iframe escaping malformed URI reference doesn't appears.
 The problem is that PDF export still not include the htm file.
 
 Can someone help me?
 
 Thanks
 Raffo
 
 2008/2/5, Raffaele Viola [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
 Hi all,
 
 im using this macro to include HTML file into my page
 
 #macro(displayppt $zipname $htmlname)
 #set ($url = $xwiki.zipexplorer.getFileLink($doc, $zipname,
 $htmlname))
 iframe src=$url frameborder=0 scrolling=0 width=800
 height=600/iframe
 #end
 
 It works but when I try to export my page in PDF the generated PDF
 doesn't contains the included file and in the console appears
 something like Warning: iframe escaping malformed URI reference.
 
 the URI
 /xwiki/bin/download/Discussione/MasterPlan/Piano%20Principale.zip/Piano
 Principale.htm
 is traslated in:
 
 file:/C:/workspace%2Dxwiki/apache%2Dtomcat%2D5.5.25/work/Catalina/localhost/xwiki/h5khbL0n/
 Discussione.MasterPlan.Piano Principale.zip/Piano Principale.htm
 
 Regards
 Raffo
 
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Warning: iframe escaping malformed URI reference

2008-02-05 Thread raffovi

I try it ...but doen't works, I get a PDF empty page

Thanks
Raffo



Sergiu Dumitriu-2 wrote:
 
 Well, try putting the html file outside the zip, as a standalone
 attachment.
 
 Sergiu
 
 Raffaele Viola wrote:
 I removed the space in the zip file name and now the message: Warning: 
 iframe escaping malformed URI reference doesn't appears.
 The problem is that PDF export still not include the htm file.
 
 Can someone help me?
 
 Thanks
 Raffo
 
 2008/2/5, Raffaele Viola [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
 Hi all,
 
 im using this macro to include HTML file into my page
 
 #macro(displayppt $zipname $htmlname)
 #set ($url = $xwiki.zipexplorer.getFileLink($doc, $zipname,
 $htmlname))
 iframe src=$url frameborder=0 scrolling=0 width=800
 height=600/iframe
 #end
 
 It works but when I try to export my page in PDF the generated PDF
 doesn't contains the included file and in the console appears
 something like Warning: iframe escaping malformed URI reference.
 
 the URI

 /xwiki/bin/download/Discussione/MasterPlan/Piano%20Principale.zip/Piano
 Principale.htm
 is traslated in:

 file:/C:/workspace%2Dxwiki/apache%2Dtomcat%2D5.5.25/work/Catalina/localhost/xwiki/h5khbL0n/
 Discussione.MasterPlan.Piano Principale.zip/Piano Principale.htm
 
 Regards
 Raffo
 
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://www.nabble.com/Warning%3A-%3Ciframe%3E-escaping-malformed-URI-reference-tp15291616p15297287.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Moderator

2008-02-05 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
[EMAIL PROTECTED] wrote:
 Hi,

 I am trying to confirm before implementing the wiki that you can 
 moderate pages before they are available.

 By this i mean allow users to create pages, but require them to be 
 authorised before they become available on the wiki

 Thanks for your help

Hi,

I don't know any plugin, extension,... that allow this kind of workflow 
management out of the box, but it seams to me not too difficult to do. 
For instance, you could allow users to create pages in a given space 
only and restrict the possibility of moving this pages to a free 
access space.

Perhaps you could create a JIRA issue (http://jira.xwiki.org) asking for 
this improvement. XWiki Enterprise (XE) could be the right place.

Hope this helps,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Idea for improvment of Xwiki Watch

2008-02-05 Thread HERICHER Benoit DSIC BUA
Hi Ludovic,

I had just missed your prvious post...

Thank you very much : it works fine! You just did a mistyping : the
parameters are -Dhtttp.proxyUser and -Dhttp.proxyPassword

Benoît

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
de Ludovic Dubost
Envoyé : mercredi 6 février 2008 00:05
À : XWiki Users
Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch



Hi,

We do read the authentication. Here is our code:

String proxyUser = System.getProperty(http.proxyUser);
if ((proxyUser!=null)(!proxyUser.equals())) {
String proxyPassword = System.getProperty(http.proxyPassword);
Credentials defaultcreds = new 
UsernamePasswordCredentials(proxyUser, proxyPassword);
client.getState().setProxyCredentials(AuthScope.ANY, 
defaultcreds);
}


However I told you -Dhttp.proxyPass and it's -Dhttp.proxyPassword
Can you try and tell us what happens ?

Ludovic

HERICHER Benoit DSIC BUA wrote:

 I have asked our network manager to make a trace : It seems that the 
 proxy authentification is not used by the feed plugin and so the proxy 
 doesn't accept to get the data.


 Benoît
 -Message d'origine-
 De : HERICHER Benoit (DSIC BUA)
 Envoyé : mardi 5 février 2008 11:21
 À : XWiki Users
 Objet : RE: [xwiki-users] Idea for improvment of Xwiki Watch


 Hi,

 Thank you Anca for your help.
 But it doesn't solve the problem : I don't understand why.
 On the page Watch:Reader, i'm asked for the proxy's authentification 
 but no news are read.
 On the page Watch:Webhome, I select a feed for example googlenews : 
 I'm then directed on the page Watch:Googlenews where I click on the 
 hyperlink Google News : that redirects me on news.google.fr with all 
 the news correctly listed.

 I guess this could be a problem with the proxy's configuration. Any idea?

 Thank you

 Benoît

 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
 de [EMAIL PROTECTED]
 Envoyé : vendredi 1 février 2008 16:38
 À : users@xwiki.org
 Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch


 Hi there,

 XWiki Watch uses the feed plugin to get the feeds from external sources.
 The feed plugin currently uses the jvm proxy settings so the only thing
 you have to do is to set the java System proxy when starting XWiki. You
 can do that either through:
 -Djava.net.useSystemProxies for a java 1.5+ jvm, which tells the jvm to
 use the system proxy settings
 or by supplying:
 -Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port.

 You can read more about it at
 http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html or
 http://blogs.sun.com/roller/resources/jcc/Proxies.pdf

 Have fun using XWatch,
 Anca

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users