fxgreen
fxgreen

Reputation: 422

Can't get RSS feed to show in Drupal 7

I cannot get RSS feed to show on Drupal 7.14 page, feed does not show any items. Feed url: http://www.engadget.com/rss.xml
I added feed url in Feed aggregator with no problems, and feed name is shown in 'Feed overview' list, but when I clicked on 'update items' link, I got message:

"The feed from Gadgets seems to be broken, because of error "0 Error opening socket tcp://www.engadget.com:80. There is no new syndicated content from Gadgets."

It does not show any items. I tried to run cron, but this did not help. I tested the validity of feed in RSS validator, and it shows the feed is valid.

Upvotes: 0

Views: 3392

Answers (1)

roberthernandez
roberthernandez

Reputation: 524

Is that the only feed that's happening on? You might want to also check the permissions, both within Drupal and in your website's tmp/cache folders.

Update 2012-08-03 09:25 GMT-6: Yep, as it sounded, it sounds like a configuration issue with your host:

"In D7 - drupal_http_request() uses the php function stream_socket_client(). In my particular situation, my host provider had ftp_connect() enabled but had disabled a whole bunch of native php functions which they viewed as security risks."

Node 1016980 from Drupal.org

"D7 uses the functions stream_socket_client(), fread(), fwrite(), stream_set_timeout(), and stream_get_meta_data(). [...] In my case (as it turns out), my hosting provider had disabled [...] stream_socket_client(). My host provider was kind enough to enable this function (after I told them it was now part of Drupal 7 core) but they offered the opinion that this was a security compromise."

"A word or warning", Drupal API Documentation

Work with them or switch hosts. You can test your site on a local Drupal appliance like QuickStart or AquiaDev (local virtual boxes that you can develop and test Drupal sites on.)

Upvotes: 1

Related Questions