Closed Thread Icon

Topic awaiting preservation: RSS feeder that works with JSP (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21767" title="Pages that link to Topic awaiting preservation: RSS feeder that works with JSP (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: RSS feeder that works with JSP <span class="small">(Page 1 of 1)</span>\

 
Pimms One
Bipolar (III) Inmate

From: Australia
Insane since: Jun 2003

posted posted 05-12-2004 08:38

Hi!

I am looking to have some news feed into my JSP page. Do you know any RSS feeder that works with JSP?

I found this : www.sitepoint.com/print/rss-feeds-jsp-based-web-apps
It is cool. But I can't make it run I appreciate if you could help me or perhaps there are other easier to use RSS feeder.

Thank you.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-12-2004 12:59

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Pimms One
Bipolar (III) Inmate

From: Australia
Insane since: Jun 2003

posted posted 05-13-2004 02:18

Ini,

Thank you for your quick response. What I have done is to copy the package in a tomcat 4.1.30 instance. and create a rss.jsp page which is shown below. What I get was an empty page. Hence I am really not sure what I could have done wrong. Could it be the url?

I appreciate your input and thank you for your help.

code:
<%@ page import="rss.*" %>
<%@ page import="java.util.*" %>

Yahoo Top stories: <br>

<%
RssReader reader = new RssReader();
RssFeed rssFeed = reader.read("http://rss.news.yahoo.com/rss/topstories");

Iterator it = rssFeed.getItems().iterator();

while (it.hasNext()) {
RssItem rssItem = (RssItem)it.next();
%>
<a href="<%= rssItem.getLink() %>"><%= rssItem.getTitle() %></a>
<br />
<%
}
%>

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 05-13-2004 08:28

I just did a quick scan but this page requires pretty much all the classes included to be declared.



.:[ Never resist a perfect moment ]:.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-13-2004 14:40

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-13-2004 15:04

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Pimms One
Bipolar (III) Inmate

From: Australia
Insane since: Jun 2003

posted posted 05-14-2004 02:28

Ini,

Thank you for spending time to help me out. I have the same problem. After checking with our security administrator, the firewall is blocking the xml input as the rss is trying to connect directly to the source without going through our proxy server.

I grab a sample rss xml from enter source and create a local web server, the rss feed then works ok.

As I am not too experience with rss, do you know if there is a way to put a proxy configuration into this rss package?

Thanks again.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-14-2004 15:30

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu