Log in

View Full Version : Need Help with RSS Feeds



varun037
05-02-2010, 07:14 PM
Hi

I am trying to add the RSS feed (http://news.google.com/news?pz=1&cf=all&ned=in&hl=en&output=rss) from Google News to my website using the script give here (http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm). I have tested this script with IIS 7 but after uploading this script stopped working. Kindly help me with server configuration. My hosting service provides me with cPanel v11.25.0 with base theme X3.

These are the steps I have done:
After uploading the files I set the folder cache for chmod 777
The script gave me this error
"Error fetching remote RSS feed!
Sorry, no items found in the RSS file :-("

Then I tried to set the lastbridge.php chmod to 777
Now the script stops at "Initializing ticker..."

I have also tried setting all the linked files like index.html + rssticker.js + lasrss.php etc to chmod 777 but still same error occurs.

After doing this I have noticed formation of a file in cache folder with 121 bytes as its size containing this information:

a:4:{s:8:"encoding";s:0:"";s:13:"lastBuildDate";s:23:"Dec 31, 1969 7:00:00 PM";s:5:"items";a:0:{}s:11:"items_count";i:0;}


Kindly help

Regards

Varun

katierosy
05-04-2010, 06:53 AM
Please see that @fopen is enabled to read the remote url.

In <?php print phpinfo() ?> you should see - "allow_url_fopen On On".

If not , Please check if Curl for php is enabled. If not please see if file_get_contents is enabled.

Which one is enabled on your web host. If you will know this while uploading to web hosting server, You may be able to replace fopen with file_get_contents or curl functions which will help you in the process of running this script on the web server.

varun037
05-05-2010, 04:40 AM
Thanks for replying

How to check this
"If not please see if file_get_contents is enabled."

rest i have seen.

allow_url_fopen is On On & Curl for php is enabled.