I tried putting a '+', '%20' and a '&amp' (tried in IE and did not work) but 
none of these worked.   Jetspeed errored out for the '+' and '%20'.  Yes I 
believe putting 'spaces' in url is a not a good idea but moreover did them 
not me.  When you say rewrite with underscores, I assume you mean if I had 
control with the name put in underscores.  Right?

Any ideas?

Here is one of my entries in the .xreg file.

      <portlet-entry name="Moreover_Top20Stories" hidden="false" type="ref" 
parent="RSS" application="false">
                    <meta-info>
                        <title>Moreover Top 20 Stories</title>
                        <description>Moreover Top 20 Stories</description>
                    </meta-info>
                    
<classname>org.apache.jetspeed.portal.portlets.FileServerPortlet</classname>
                    <url 
cachedOnURL="true">http://p.moreover.com/cgi-local/page?c=Top+stories&o=rss</url>
    </portlet-entry>



----Original Message Follows----
From: Glen Carl <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: Jetspeed Users List <[EMAIL PROTECTED]>
Subject: Re: Spaces in URL's for Portlets cause Jetspeed not to import  
.xreg file
Date: Fri, 11 Oct 2002 09:05:21 -0700

Are you URL encoding the spaces with +'s ? Personally, I think URLs with  
spaces is bad practice, and if you can rewrite the spaces with underscores 
you will have better days.
Glen

Patrick Krug wrote:
>I am setting up some portlets and I noticied that I can not use URLs that 
>have spaces.  Is there any way around this?
>
><portlet-entry name="Moreover_Top20Stories" hidden="false" type="ref" 
>parent="RSS" application="false">
>    <meta-info>
>    <title>Moreover Top 20 Stories</title>
>    <description>Moreover Top 20 Stories</description>
>    </meta-info>
><classname>org.apache.jetspeed.portal.portlets.FileServerPortlet</classname>
>
><url 
>cachedOnURL="true">http://p.moreover.com/cgi-local/page?c=Top%20stories&o=rss</url>
>
></portlet-entry>
>
>Thanks



--
To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to