You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Anthony Smith <an...@fedex.com> on 2001/09/10 23:20:11 UTC

RSS Portlets

I would like my links in my RSS Portles to open up in new pages. Can anyone
tell me how I can implement this?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: RSS Portlets

Posted by Paul Spencer <pa...@mikon.com>.
Anthony,
In general you will need to create a new stylesheet, based on rss.xsl,
to the generate the HTML that will create a new browser window when the
link is clicked.

Basic steps:
1) Copy <jetspeed-home>/WEB-INF/xsl/rss.xsl to
   <jetspeed-home>/WEB-INF/xsl/new_window_rss.xsl

2) For EACH rss portlet that you want a new browser window opened when
   the link is clicked, add the following to <portlet-entry> 

        <parameter name="stylesheet.text/html"
            value="/WEB-INF/xsl/new_windows_rss.xsl" hidden="false">
        </parameter>

3) Edit <jetspeed-home>/WEB-INF/xsl/new_window_rss.xsl so that is will
   will generate the desired HTML.  You will have to add the desired
HTML
   in 2 places for each link, i.e. images and hrefs.

If you post the resulting HTML, I will it add to the Jetspeed
documentation/examples

Paul Spencer

Anthony Smith wrote:
> 
> I would like my links in my RSS Portles to open up in new pages. Can anyone
> tell me how I can implement this?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: RSS Portlets

Posted by Frans Thamura <ft...@yahoo.com>.
I don't think so this is jetspeed project.

I prefer if some one want to modify RSS as their own
look and feel, they can modify the XSL.

but, it is better to create your own XSL, and modify
the XREG.

I did it here.

Several people don't like the structure of rss.xsl.

Oh yah, I rename the rss.xml become trend.xsl.

It work well.

Frans


--- Paul Spencer <pa...@mikon.com> wrote:
> I do not recommend changing this file since it is
> maintained by the
> Jetspeed project.  RSS portlets can be configured to
> use user defined
> stylesheet(s). See 
>
http://jakarta.apache.org/jetspeed/site/portlet_config_RSS.html
> 
> Paul Spencer
> 
> Gabriel Lopez Morteo wrote:
> > 
> > I do this changing <a href..> tags on
> > $TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl
> > 
> > Regards
> > 
> > Gabriel Lopez
> > <ga...@cicese.mx>
> > 
> > -----Original Message-----
> > From: Anthony Smith
> [mailto:anthony.smith@fedex.com]
> > Sent: Monday, September 10, 2001 2:20 PM
> > To: jetspeed-user@jakarta.apache.org
> > Subject: RSS Portlets
> > 
> > I would like my links in my RSS Portles to open up
> in new pages. Can anyone
> > tell me how I can implement this?
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 


=====
Empowering Open Source Spirit... 
Open Source is Open Source. Shared Source is another thing.

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: RSS Portlets

Posted by Paul Spencer <pa...@mikon.com>.
I do not recommend changing this file since it is maintained by the
Jetspeed project.  RSS portlets can be configured to use user defined
stylesheet(s). See 
http://jakarta.apache.org/jetspeed/site/portlet_config_RSS.html

Paul Spencer

Gabriel Lopez Morteo wrote:
> 
> I do this changing <a href..> tags on
> $TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl
> 
> Regards
> 
> Gabriel Lopez
> <ga...@cicese.mx>
> 
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Monday, September 10, 2001 2:20 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: RSS Portlets
> 
> I would like my links in my RSS Portles to open up in new pages. Can anyone
> tell me how I can implement this?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: RSS Portlets

Posted by Gabriel Lopez Morteo <ga...@cicese.mx>.
I do this changing <a href..> tags on
$TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl

Regards

Gabriel Lopez
<ga...@cicese.mx>

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, September 10, 2001 2:20 PM
To: jetspeed-user@jakarta.apache.org
Subject: RSS Portlets


I would like my links in my RSS Portles to open up in new pages. Can anyone
tell me how I can implement this?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org