I am posting this here rather than on the FAQ-O-Matic so that somebody "in
the know" can reply as to its accuracy for both the current CVS as well as
the pending 1.2 release:

I have created a RSS page. It is loaded on my companies web-server. How do I
get it to display in Jetspeed?

Here is what I did to make my RSS display on the page which comes up without
logging-in to Jetspeed:

1) Ensure that the page is well-fomed. If you have IExplorer 5.x, the easies
way I found to do this is try to bring up the page in your browser. If you
have forgotten to close any tags, or (the one that always gets me) if you
have used different capitalization between open and close tags, you can
locate these errors quickly.

2) Shutdown Tomcat/Jserv (your servlet server).

3) Modify JetspeedResources.properties. Add to the section "Jetspeed
Content" The following:

content.feeds.rssindia.url=http://www.mywebserver.com/RSSFile.html
content.feeds.rssindia.stylesheet.url=/content/xsl/jpc-full.xsl
content.feeds.rssindia.title=YourTitle
content.feeds.rssindia.description=Your Description

4) Edit the <tomcat-apps>/content/psml/default.psml file. add a section
above the </portlets> tag:
pane="HomePage">
<layout name="column" value="0/>
<layout name="position" value="3/>
<url>http://www.mywebserver.com/RSSFile.html</url>

Note that the url is the same one you gave in step 3 above.
Also note the column and position values. In this example (because jetspeed
numbers items starting at 0), the RSS will be the 4th item (position=3) in
the 1st column (column=0).


5) Delete the contents of the Jetspeed RSS cache. The name of this directory
is given in JetspeedResources.properties by the value
cache.directory=/c:/temp/JetspeedDocumentCache (This is the directory I use
on my Windows system - your director name is probably different). This is
going to make starting the system for the first time MUCH SLOWER, but it is
quicke (I found) than finding an outdated cached value, or waiting for the
Daemon to refresh it. Your experience may differ on this.

6) Restart your servlet engine.

7) Connect your browser to Jetspeed. Again, if you deleted the RSS cache as
stated in step 5, be very patient the first time you load the page.

HTH. Corrections are welcome.

Steve B.




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to