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 Norman Schoneich <sc...@ecooperate.de> on 2001/09/10 18:55:15 UTC

server URL and port

Hi all!

Why does Jetspeed write the port into a server url (eg.
http://localhost:8080/jetspeed/) ?
Can I configure it (eg. to write :80) ?
And Where ?

TIA


---------------------------------------------------------------------
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


RSS Portlets

Posted by Anthony Smith <an...@fedex.com>.
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: server URL and port

Posted by Paul Spencer <pa...@mikon.com>.
Norman,
Jetspeed does NOT write port port 8080 or 80.  Jetspeed runs under
Tomcat, of other servlet engine.  Tomcat connect to it's internal,
although optional, web server, Apache, IIS, ...  Ports 8080 is commonly
used for a second web server.

The port is configured in the web server, not Jetspeed.

Paul Spencer

Norman Schoneich wrote:
> 
> Hi all!
> 
> Why does Jetspeed write the port into a server url (eg.
> http://localhost:8080/jetspeed/) ?
> Can I configure it (eg. to write :80) ?
> And Where ?
> 
> TIA
> 
> ---------------------------------------------------------------------
> 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: server URL and port

Posted by Dave Carlson <dc...@ontogenics.com>.
The port is not configured as part of Jetspeed, but rather as part of the
underlying Java application server and/or connected web server.  If you are
using Tomcat, then check the tomcat docs about how to change the port to 80.

-- Dave

----- Original Message -----
From: "Norman Schoneich" <sc...@ecooperate.de>
To: <je...@jakarta.apache.org>
Sent: Monday, September 10, 2001 10:55 AM
Subject: server URL and port


> Hi all!
>
> Why does Jetspeed write the port into a server url (eg.
> http://localhost:8080/jetspeed/) ?
> Can I configure it (eg. to write :80) ?
> And Where ?
>
> TIA
>
>
> ---------------------------------------------------------------------
> 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