RSS feed reader stopped working
Hi, I'm using the 2007 version of rsslib on the home page of my employer's website (www dot global-rna dot com/index dot php). It's configured to read and display the top five headlines from an RSS feed on cardiology (www dot medpagetoday dot com/medical-news-rss-feeds/Cardiology dot xml). For a while, the reader displayed the headlines in the right side column of the global-rna home page under "Cardiology Headlines", but now it isn't doing anything (the column is blank). The cardiology URL is still valid. I have no previous experience with PHP, XML or RSS (only HTML) - can someone help me diagnose the problem? Thanks, gfreytag
Hello, can you give me the link or send it by email? Or post the source of the page, the part where is the displayed the feed.
My home page is www dot global-rna dot com/index dot php (I'm a new user, so your board is forcing me to use "dot" words instead of posting an actual link). I call the script from that page according to the instructions given with the script:
<?php require_once("rsslib.php"); $url = "www dot medpagetoday dot com/medical-news-rss-feeds/Cardiology dot xml"; echo RSS_Display($url, 5); ?>This PHP code is inside a block in an HTML table (between a <td> and a </td>). Again, because I'm a new user, I had to put "dots" in the PHP code above instead of the real link. The code worked fine for a while and then suddenly the area showed up blank. Thanks for your help. gfreytag
I have tried the feed on this test page: https://www.scriptol.com/rss/rss-single.php And it is correctly displayed. Maybe you have changed something on the page that prevent it to be displayed? The test pages use the last version of the script.
I have found the error. PHP is disabled on your site. In the source code of the home page I have found this code:
<?php require_once("rsslib.php"); $url = "xxxxx"; echo RSS_Display($url, 5); ?>This should not happen. The PHP code should be interpreted and not displayed.