This is the simplest example of using PHP to display feeds from EnvironmentalHealthNews.org on your own site. This example uses PHP and the Magpie RSS Parser to display the tiles and links for articles in EnvironmentalHealthNews.org's main RSS feed. MagpieRSS is an excellent choice because it is Open Source, easy to install, easy to use, and provides caching by default. Caching provides for better performance for your web server (and for ours), while still keeping the news current on your site.

You can easily substitute another feed from EHN (e.g., the climate change feed) or the number of articles to display. View the PHP source code

Environmental Health News