Those who run web servers, or those who have input to their hosting company, will find these php scripts helpful in producing RSS feeds on a web site. Don’t dismiss these tools only because you already have an RSS-producing mechanism. Remember: A mechanic has more than one tool in his toolbox.
Here’s an example of a template you could use to produce the html:
~~~BeginItemsRecord~~~ ~~~EndItemsRecord~~~
~~~ItemTitle~~~ |
~~~ItemDescription~~~ |
Pretty simple, isn’t it?
Updated on April 4, 2014:
Some web server companies have created security rules that prevent this rss2html script from being allowed to run. They generically cite “security concerns,” although the developers of this php script deny that it is a security hazard. Go figure.
You can try to use this script on your hoster’s server for your site, but if it stops working, or doesn’t run at all, likely your server people’s “security rules” prevented it from running. So, be prepared to talk to your server people about it. In defense of server people, it should be noted that when this article was first written, there weren’t armies of hackers running rampant on the Internet, some bankrolled by countries and others by organizations, trying to bring servers down or to cripple them.
But the answer to server people’s problems with server security marauders should not be a reason to establish knee-jerk, reactionary policies that opt for paranoia over reason and research. Indeed, those who have had to deal with the many levels of tech support at server companies soon find that common sense is not as widespread as it should be.
You can, of course, run rss2html on your own server should you wish, and use the script to produce an html page of multiple feeds and apply your own CSS styles. Yes, the script still works. If you find any security concern, bring it up to the developers of the script at FeedForAll.com in their forums section.
If you’d rather not use rss2html, then you can consider using a javascript program to display feeds on your site, which we’ll discuss in another article.
(Next: SimplePie)
Learning php is not easy task but information to using php in different type and different way and how to use web servers and script and how to applied css in php. really nice information thanks.