Having "<", ">" or "&" within an XML element is not legal and is considered not 
well-formed, i.e. parsers will not be happy or will re-write the text.  If you require 
this type of functionality you will need enclose the description in a <![CDATA[  ]]>

<![CDATA[

<a href="noweher.com">No Where</a>

]]>

I have not tested this in Jetspeed, so I cannot guarantee it will work.

-Scott


> -----Original Message-----
> From: Marian Skalsky [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: NewRSSPortlet < (lovet then) sign transormed to &lt;
> 
> Hi there!
> I'm using the 1.4b1 version of JetSpeed and when I setup the NewRSSPortlet
> to
> 
> <portlet-entry name="feed_jackarta" hidden="false" type="ref" parent="RSS"
> application="false">
>     <meta-info>
>         <title>Jakarta project news</title>
>         <description>The Jakarta Project creates and maintains open source
> solutions on the Java platform for distribution to the public at no
> charge.
> See the news.</description>
>     </meta-info>
> 
> <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
>     <url
> cachedOnURL="true">http://jakarta.radiopossibility.com/xml/rss.xml</url>
> </portlet-entry>
> 
> There is everithing OK, till there is a link or some HTML tags in the
> <description> element of incoming RSS. Then the portlet replaces all <
> (lower then) signs (found in the <description> element of incoming RSS)
> with
> &lt; string and then the output in the browser is mishmashed (all linx
> etc.
> are not shown as linx but as text)
> 
> 1) Have you encountered this behaviour already?
> 2) Is it problem of 1.4b1 NewRSSPortlet (I should download the newer
> version) or should I hack the Java code of the portlet ?
> Thx a lot!
> $kala.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:jetspeed-user-
> [EMAIL PROTECTED]>

Reply via email to