Help on remote rss?

Creating and modifying plugins.
Post Reply
Wesley B
Regular
Posts: 27
Joined: Sat Feb 19, 2005 11:48 pm
Contact:

Help on remote rss?

Post by Wesley B »

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
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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Help on remote rss?

Post by garvinhicking »

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: Sat Feb 19, 2005 11:48 pm
Contact:

Post by Wesley B »

Good enough, I'll download the new snapshot.

Thanks!

Wesley B
Wesley B
Regular
Posts: 27
Joined: Sat Feb 19, 2005 11:48 pm
Contact:

Post by Wesley B »

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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

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: Sat Feb 19, 2005 11:48 pm
Contact:

Post by Wesley B »

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: Sat Feb 19, 2005 11:48 pm
Contact:

Post by Wesley B »

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

Wesley B
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

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