Help on remote rss?

Creating and modifying plugins.
Post Reply
Wesley B
Regular
Posts: 27
Joined: Sun Feb 20, 2005 12:48 am
Contact:

Help on remote rss?

Post by Wesley B » Mon Feb 28, 2005 2:01 am

Hi,

I've never got the remote rss plugin to work.

Pretty sure what I need is some very, very basic help/instructions.

Am I correct that this plugin will display rss headlines from another site?

I try to copy the rss web address into the URI address box, but always get an error, such as:

Error on line 127 of /home/u3/wesleyb/html/serendipity/bundled-libs/Onyx/RSS.php: The specified file could not be opened.


In the above example, I entered
http://www.dailykos.com/rss/index.rdf
into the URI box.

I've tried different feeds, and tried changing the character set, and the feed type. Doing these things may give me a different error message (pretty sure I saw one about not having the appropriate permissions, but can't duplicate that error at the moment for some reason), but at best this just changes my problem, and doesn't solve it.

I guess I need to know what a URI is, since I assume it's not the same thing as a URL.

If it's not too complicated a request, I could use some basic definitions of each of the fields asked for by the plugin.

Wesley B

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help on remote rss?

Post by garvinhicking » Mon Feb 28, 2005 4:11 pm

The cause is quite easy: Your webhoster has allow_url_fopen set to false, thus PHP cannot open remote URLs. You need to ask your hoster to either remove that, or wait a day and download the 0.8 snapshot release. I just committed a fix to use PEAR::HTTP_Request for downloading URLs, which should work in your environment.

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Wesley B
Regular
Posts: 27
Joined: Sun Feb 20, 2005 12:48 am
Contact:

Post by Wesley B » Mon Feb 28, 2005 6:05 pm

Good enough, I'll download the new snapshot.

Thanks!

Wesley B

Wesley B
Regular
Posts: 27
Joined: Sun Feb 20, 2005 12:48 am
Contact:

Post by Wesley B » Tue Mar 01, 2005 8:42 pm

After downloading today's snapshot, I still get an error trying to set this up:

Error on line 127 of /home/u3/wesleyb/html/serendipity/bundled-libs/Onyx/RSS.php: The specified file could not be opened.


Should I be entering the rss web address (for example: http://allafrica.com/tools/headlines/rd ... dlines.rdf) in the field labeled:

RSS/OPML URI
URI of the RSS/OPML feed which you want to display


Wesley B

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Mar 02, 2005 4:16 pm

Yes, you need to enter the full HTTP URL in the 'URI' input field! What did you enter there until now?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Wesley B
Regular
Posts: 27
Joined: Sun Feb 20, 2005 12:48 am
Contact:

Post by Wesley B » Wed Mar 02, 2005 5:35 pm

That's what I've been entering (the full URL), not knowing the difference between a URI and a URL, I thought I should ask just to make sure.

Wesley B

Wesley B
Regular
Posts: 27
Joined: Sun Feb 20, 2005 12:48 am
Contact:

Post by Wesley B » Fri Mar 04, 2005 8:24 pm

Any idea why I'm still unable to get this to work?

Wesley B

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sat Mar 05, 2005 1:50 pm

I think your server blocks outgoing connections, like by firewalling. Please talk to your System Administrator, they need to investigate the issue...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply