|
All content on EnvironmentalHealthNews.org is available for syndication. This means that EnvironmentalHealthNews.org provides the means for you to post news that you care about directly on your own web site. Syndicating from EnvironmentalHealthNews.org can take as little as a few minutes. Once implemented, it gets fresh content from us without you having to do anything else. New content usually appears daily, depending upon news coverage.
Our database is built in a way that makes it very easy to create news feeds and use them to keep your website fresh with news of interest to your organization's visitors. Feeds are increasingly common web tools that allows websites to share content through syndication. What these feeds provide and how you display them is up to you... and from us, they're free. Once you set one up, you don't have to do anything else. Everytime we find a new news article that matches the feed that you selected, it will appear on your website automatically. Your visitors see today's news on your website.
To the right you can see an example of one of our feeds, in this case about climate change... with today's climate news! We've set the look and feel of this feed up to be consistent with the rest of page. When you set up a feed from us on your site, you control the look and feel, determining how much information to show and how it is formatted, including font type, size, etc.
Here are links to four more examples of what this can do:
- www.OurPlanet.com (published by the UN Environment Programme) takes headlines and text from top stories from around the world, and displays them in the upper right of their home page. You can see how they display a second page by clicking on the 'More stories' link at the bottom of that column. These stories come from the established feed 'Stories from around the globe' (see below).
|
| |
|
| |
- www.OurStolenFuture.org uses a series of feeds from EnvironmentalHealthNews, each customized to the page on which it is displayed. Compare the feed on the home page to these, one about a chemical called bisphenol A, another about another family of chemicals called phthalates. The feed on the front page comes from the established feed 'Endocrine disruption' (see below); the others are individual searches providing user-customized feeds (see below).
|
| |
- AlGore.com displays a feed from EnvironmentalHealthNews about climate on the home page.
|
|
|
Latest climate news:
More news about
climate change
|
We can give you two different types of feeds, and two different ways to implement them:
Types of feeds |
|
|
|
| |
Established feeds |
Our established feeds rely upon our editors to choose which stories should be assigned to which feed with care. Because these are hand-picked, they are very precise about their contents. But they are limited in number and subject matter.
You are welcome to use any of these. It would be helpful to us if you tell us that you have implemented a feed. |
|
| |
|
|
|
| |
User-customized feeds |
Our user-customized feeds allow any user to perform a search in our archives, and use the results of that search to define a feed fitting their interest. These are highly versatile, but sometimes difficult to structure so that you get exactly what you want.
Feel free to create your own custom feed. It would be helpful to us if you tell us that you have implemented a feed. |
Go to the archives, perform a search of your choosing, and implement the feed (see below). |
|
|
|
|
| |
Javascript Wizard. This is easiest.

(this button is not active)
|
One each page in our archives in the upper right, beneath the masthead, you will see a javascript button like the one to the left. To use it, go to one of the feed links above or perform a search in the archives. Click on the javascript feed button on the resulting search page and work through 6 simple steps that allow you to specify font, color, number of headlines, etc. Take the resulting javascript code and paste it into the HTML on your page where you want the feed to appear. When visitors come to that page, the code will send an instruction to our server to grab content for your page and insert it where you have specified.
To see more details and look at the source code, visit here. |
| |
|
|
|
| |
RSS. This requires some programming skills beyond simple HTML and also some software.
(this button is not active)
|
There are many ways to implement an RSS feed if your site has the requisite software installed. This approach gives you more precise control over the look and feel of the content than the javascript approach, above, so it's better for you. It also can be implemented in ways that reduce the amount of processing required by our server, so it's better for us.
The links to the right provide detailed examples of different approaches to using the XML Stylesheet Language. The first creates a new page that contains only news. The second example inserts news into an existing page using Server-Side Includes.
|
|
| |
|
|
|
|
|