In this example, the XML Stylesheet Language (XSL) and Server-Side Includes (SSI) are used to add articles from EnvironmentalHealthNews.org's main RSS feed to an existing web page. This is an excellent option for adding EHN's news to your existing page(s) if your web server supports Server-Side Includes (most do; ask your system administrator or web host if you're not sure). We use XSL to transform the EHN feed into a 'chunk' of HTML and save it to a file. We then use SSI to have the web server dynamically 'include' (insert) that file into an existing web page.

You will need an XSL processor, the XSL stylesheet, and a way to schedule the task so it gets regularly updated with new content from the EHN feed. If your web server is running Linux, you probably already have everything you need. We use 'cron' for scheduling, and 'xsltproc' for our XSL processor. The example cron entry below will apply the XSL stylesheet rss_ssi.xsl to the RSS feed http://www.environmentalhealthnews.org/archives_rss.jsp and save the HTML output as ehn_include.html every hour, on the hour.

0 * * * * xsltproc -o /usr/www/ehn_include.html /usr/www/rss_ssi.xsl http://www.environmentalhealthnews.org/archives_rss.jsp

All that's left to do is 'include' that HTML chunk in an existing web page. We accomplished this by inserting the line below in a table cell.
<!--#include virtual="ehn_include.html" -->

View the XSL stylesheet
View the HTML page source

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla et justo. Nullam sapien risus, iaculis non, accumsan quis, commodo sed, dolor. Integer orci nisl, sodales quis, mattis in, molestie sit amet, mi. Donec at arcu. Suspendisse non nibh non ante tempor fringilla. Ut gravida, tortor a pharetra tincidunt, lorem nulla rutrum massa, at aliquam leo pede at dui. Integer varius risus a dolor. Morbi at arcu quis mi semper posuere. Morbi mollis nisl at ante. Nam congue eros et arcu. Duis enim. Fusce sollicitudin accumsan sem.

Integer a nulla sit amet sapien tincidunt consequat. Duis sit amet nulla. Mauris sapien. Duis eget purus vel augue mattis tincidunt. Duis arcu tortor, vestibulum a, lobortis convallis, placerat vel, nulla. Etiam auctor nunc sit amet velit ultricies gravida. In metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nunc nisi nunc, feugiat sed, lobortis sed, mollis non, lectus. Praesent sed nisi. Etiam eu quam in lectus lacinia mattis. Aliquam a mi. Suspendisse sodales. Suspendisse porta, dolor vel tincidunt pharetra, magna nisi semper massa, molestie vehicula sapien orci id elit. Phasellus tincidunt commodo enim. Sed auctor ultricies nisi. Etiam erat ipsum, adipiscing sit amet, aliquam eu, interdum eu, ipsum.

Sed elit ante, vehicula sit amet, aliquet id, facilisis sed, lorem. Vestibulum placerat consequat pede. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur vestibulum vehicula tortor. Etiam auctor auctor ante. Donec adipiscing lobortis mi. Curabitur feugiat, risus non consequat gravida, lorem tortor tincidunt nibh, et volutpat felis pede ut purus. Proin ut dui. Vivamus at ipsum adipiscing neque condimentum ornare. Aliquam sit amet ipsum. Quisque pretium mauris ac tellus. Etiam risus tortor, pellentesque sit amet, placerat at, aliquam nec, nunc. Nulla rhoncus augue quis ante. Nulla mauris leo, volutpat sed, facilisis vel, luctus a, felis. Mauris imperdiet, neque in ornare ultricies, diam turpis scelerisque pede, varius semper arcu nibh tincidunt est. Phasellus sodales erat vel ipsum. Phasellus ipsum. Integer sapien. Duis eu libero. Phasellus ut elit ac neque feugiat vulputate.

Nulla facilisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla sodales volutpat ante. Pellentesque ac orci. Mauris nec dui. Aenean non erat. Etiam pede justo, pellentesque consequat, porta nec, pharetra ut, neque. Mauris vel dui. Mauris nonummy. Vivamus elit nisi, interdum sit amet, tincidunt vitae, laoreet sed, orci. Praesent facilisis urna ultricies turpis. Nulla facilisi. Vestibulum lectus. Vivamus fermentum rutrum nibh. Cras vitae elit vel arcu bibendum mollis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In hac habitasse platea dictumst.

Sed scelerisque. Sed porttitor lorem et massa. Maecenas arcu tortor, nonummy et, faucibus vel, interdum ac, quam. Maecenas vestibulum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Proin aliquam. Etiam ut leo. Sed rhoncus ipsum eget nisi elementum placerat. Vestibulum ut ante. Sed in nisl.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla et justo. Nullam sapien risus, iaculis non, accumsan quis, commodo sed, dolor. Integer orci nisl, sodales quis, mattis in, molestie sit amet, mi. Donec at arcu. Suspendisse non nibh non ante tempor fringilla. Ut gravida, tortor a pharetra tincidunt, lorem nulla rutrum massa, at aliquam leo pede at dui. Integer varius risus a dolor. Morbi at arcu quis mi semper posuere. Morbi mollis nisl at ante. Nam congue eros et arcu. Duis enim. Fusce sollicitudin accumsan sem.

Integer a nulla sit amet sapien tincidunt consequat. Duis sit amet nulla. Mauris sapien. Duis eget purus vel augue mattis tincidunt. Duis arcu tortor, vestibulum a, lobortis convallis, placerat vel, nulla. Etiam auctor nunc sit amet velit ultricies gravida. In metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nunc nisi nunc, feugiat sed, lobortis sed, mollis non, lectus. Praesent sed nisi. Etiam eu quam in lectus lacinia mattis. Aliquam a mi. Suspendisse sodales. Suspendisse porta, dolor vel tincidunt pharetra, magna nisi semper massa, molestie vehicula sapien orci id elit. Phasellus tincidunt commodo enim. Sed auctor ultricies nisi. Etiam erat ipsum, adipiscing sit amet, aliquam eu, interdum eu, ipsum.

Sed elit ante, vehicula sit amet, aliquet id, facilisis sed, lorem. Vestibulum placerat consequat pede. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur vestibulum vehicula tortor. Etiam auctor auctor ante. Donec adipiscing lobortis mi. Curabitur feugiat, risus non consequat gravida, lorem tortor tincidunt nibh, et volutpat felis pede ut purus. Proin ut dui. Vivamus at ipsum adipiscing neque condimentum ornare. Aliquam sit amet ipsum. Quisque pretium mauris ac tellus. Etiam risus tortor, pellentesque sit amet, placerat at, aliquam nec, nunc. Nulla rhoncus augue quis ante. Nulla mauris leo, volutpat sed, facilisis vel, luctus a, felis. Mauris imperdiet, neque in ornare ultricies, diam turpis scelerisque pede, varius semper arcu nibh tincidunt est. Phasellus sodales erat vel ipsum. Phasellus ipsum. Integer sapien. Duis eu libero. Phasellus ut elit ac neque feugiat vulputate.

Nulla facilisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla sodales volutpat ante. Pellentesque ac orci. Mauris nec dui. Aenean non erat. Etiam pede justo, pellentesque consequat, porta nec, pharetra ut, neque. Mauris vel dui. Mauris nonummy. Vivamus elit nisi, interdum sit amet, tincidunt vitae, laoreet sed, orci. Praesent facilisis urna ultricies turpis. Nulla facilisi. Vestibulum lectus. Vivamus fermentum rutrum nibh. Cras vitae elit vel arcu bibendum mollis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In hac habitasse platea dictumst.

Sed scelerisque. Sed porttitor lorem et massa. Maecenas arcu tortor, nonummy et, faucibus vel, interdum ac, quam. Maecenas vestibulum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Proin aliquam. Etiam ut leo. Sed rhoncus ipsum eget nisi elementum placerat. Vestibulum ut ante. Sed in nisl.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla et justo. Nullam sapien risus, iaculis non, accumsan quis, commodo sed, dolor. Integer orci nisl, sodales quis, mattis in, molestie sit amet, mi. Donec at arcu. Suspendisse non nibh non ante tempor fringilla. Ut gravida, tortor a pharetra tincidunt, lorem nulla rutrum massa, at aliquam leo pede at dui. Integer varius risus a dolor. Morbi at arcu quis mi semper posuere. Morbi mollis nisl at ante. Nam congue eros et arcu. Duis enim. Fusce sollicitudin accumsan sem.

Integer a nulla sit amet sapien tincidunt consequat. Duis sit amet nulla. Mauris sapien. Duis eget purus vel augue mattis tincidunt. Duis arcu tortor, vestibulum a, lobortis convallis, placerat vel, nulla. Etiam auctor nunc sit amet velit ultricies gravida. In metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nunc nisi nunc, feugiat sed, lobortis sed, mollis non, lectus. Praesent sed nisi. Etiam eu quam in lectus lacinia mattis. Aliquam a mi. Suspendisse sodales. Suspendisse porta, dolor vel tincidunt pharetra, magna nisi semper massa, molestie vehicula sapien orci id elit. Phasellus tincidunt commodo enim. Sed auctor ultricies nisi. Etiam erat ipsum, adipiscing sit amet, aliquam eu, interdum eu, ipsum.

Sed elit ante, vehicula sit amet, aliquet id, facilisis sed, lorem. Vestibulum placerat consequat pede. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur vestibulum vehicula tortor. Etiam auctor auctor ante. Donec adipiscing lobortis mi. Curabitur feugiat, risus non consequat gravida, lorem tortor tincidunt nibh, et volutpat felis pede ut purus. Proin ut dui. Vivamus at ipsum adipiscing neque condimentum ornare. Aliquam sit amet ipsum. Quisque pretium mauris ac tellus. Etiam risus tortor, pellentesque sit amet, placerat at, aliquam nec, nunc. Nulla rhoncus augue quis ante. Nulla mauris leo, volutpat sed, facilisis vel, luctus a, felis. Mauris imperdiet, neque in ornare ultricies, diam turpis scelerisque pede, varius semper arcu nibh tincidunt est. Phasellus sodales erat vel ipsum. Phasellus ipsum. Integer sapien. Duis eu libero. Phasellus ut elit ac neque feugiat vulputate.
EnvironmentalHealthNews.org

Surrounded by air pollution. Once a refuge for people desperate to breathe the clean desert air, metropolitan Phoenix now battles the smog and smudged horizons the refugees were trying to escape. The pollution clogs lungs, aggravates asthma and traps people with respiratory diseases in their homes when conditions worsen. Phoenix Arizona Republic 2012-02-05T09:00-05:00

Sludge with human waste sparks debate in Lehigh Valley. Thomas Shetayh and other Lynn Township residents want neighboring farmers to stop using sewage sludge to grow crops, a practice residents say is polluting their water supply and leaving a stench in the air. Allentown Morning Call 2012-02-05T09:00-05:00

Harmful particles go unmeasured. Maricopa County maintains an inventory of the major pollution sources across the metropolitan area, tracking dust from dirt roads and construction sites, fuel exhaust from highways and industrial operations, and organic compounds from industrial plants and landfills. And the US EPA says the inventory is inaccurate. Phoenix Arizona Republic 2012-02-05T09:00-05:00

Climate in DC doesn't favor clean-air rules. In February 1998, the Governor's Air Quality Strategies Task Force delivered a thick report recommending actions that could reduce air pollution in metropolitan Phoenix. Since then, almost nothing has happened to address the threat of traffic-related pollution sources along major roads and freeways or to help children or adults with respiratory illnesses aggravated by air pollution. Phoenix Arizona Republic 2012-02-05T09:00-05:00

Air pollution worse than smoking mother. Exhaust fumes and ground-level ozone increase the risk for premature birth, according to a study by a team of researchers at Umea University in northern Sweden. The Local Sweden 2012-02-05T09:00-05:00

Gulf oil spill's 'trial of the century' could end before it begins. BP and negotiators for federal and state governments are frantically working to confect a settlement so they won't have to leave the fate of billions of dollars in potential pollution fines and spill damage payments in the hands of U.S. District Judge Carl Barbier. The trial is set to being in three weeks. New Orleans Times-Picayune 2012-02-05T09:00-05:00

Could drought threaten South Africa's rooibos tea? South Africa's rooibos tea only grows in a small area and erratic weather patterns - blamed by some on climate change - mean the plant and the new industry are now under threat. BBC 2012-02-05T09:00-05:00

Sacrificing the desert to save the Earth. Industrial-scale solar development is well underway in California, Nevada, Arizona, New Mexico, Colorado and Utah. The federal government has furnished more public property to this cause than it has for oil and gas exploration over the last decade — 21 million acres, more than the area of Los Angeles, Riverside and San Bernardino counties put together. Los Angeles Times 2012-02-05T09:00-05:00

Mexico drought chokes cattle, crops. The worst drought on record in various parts of Mexico has destroyed millions of acres of cropland and left millions of livestock without food, leading to fears about potential food shortages at a time when U.S. states like Texas are also suffering unusually dry weather. Wall Street Journal 2012-02-05T09:00-05:00

Planes, trains, automobiles; but bicycles? Today, less than 13 percent of US kids use the old foot-mobile, or ride their two wheelers to class. Making children more mobile was what the Federal Safe Routes to School program was all about. It could soon come to a screeching halt. It’s one of the programs on the chopping block as Congress considers a new federal transportation bill. Living On Earth 2012-02-05T09:00-05:00

New transportation bill proposes big changes. The chairman of the House Transportation and Infrastructure Committee has proposed a sweeping, new transportation bill. The legislation would encourage private companies to build their own toll roads and pay for infrastructure with money from oil companies. Living On Earth 2012-02-05T09:00-05:00

Environment agency becomes crunch issue in Rio talks. The UN Environment Programme is emerging as a hot issue in preparations for June's Rio conference, styled as a once-in-a-generation chance to restore a sick planet to good health. Agence France-Presse 2012-02-05T09:00-05:00

Colorado may restrict shale fracturing at former bombing range. Proposed drilling on a former bombing range that contains unexploded munitions and a landfill prompted Colorado lawmakers this week to introduce a bill that would require rules for fracking near toxic-waste sites. Bloomberg News 2012-02-05T09:00-05:00

Outdoor groups urge Corbett to uphold moratorium on state forest gas leases. Pennsylvania's 20 state forests encompass more than 2.2 million acres, giving residents year-round access for pursuits such as hiking, snowmobiling, boating, hunting and fishing. But with a budget shortfall looming in Harrisburg and the Marcellus Shale fracking industry expanding in the region, sportsmen say they are worried. Altoona Mirror 2012-02-05T09:00-05:00

Cleanup may put wildlife at risk. A federal agency is reviewing whether DuPont's plan to dredge mercury-laced sediment from a corner of Pompton Lake is comprehensive enough to prevent dangerous levels of mercury from contaminating fish downriver. Bergen County Record 2012-02-05T09:00-05:00

Plans to secretly test 30,000 NHS blood transfusion patients as CJD fears escalate. Thousands of NHS patients could be secretly monitored by the Government for symptoms of the human form of mad cow disease amid concerns that there could be another wave of infections. London Daily Mail 2012-02-05T09:00-05:00

Two glasses of wine a day triples risk of mouth cancer. A new government campaign is to warn drinkers that consuming two large glasses of wine or two strong pints of beer a day triples their risk of developing mouth cancer. London Independent 2012-02-05T09:00-05:00

Winter wildfires a rarity for Reno area but warming climate could make them more common. With a warming climate, invading vegetation and more people living in fire-prone areas, could big winter wildfires become the norm? Some experts say the possibility is there. Reno Gazette-Journal 2012-02-05T09:00-05:00

Ssssscotland here we come! Grass snakes from England are colonising Scotland as climate warms. Glasgow Herald 2012-02-05T09:00-05:00

20 million years later, Russians work to drill into lake. Russian researchers in Antarctica are on the verge of piercing a hole through two miles of ice into an ancient lake, untouched by the light of day for some 20 million years. But it'll be a delicate process to break through without disturbing the pristine waters. Weekend Edition 2012-02-05T09:00-05:00

Meat trade emissions equal to half of all Britain's cars. If everyone in the UK went vegetarian or vegan it would have the same environmental benefit as talking half of all cars off the road, according to new research. London Independent 2012-02-05T09:00-05:00

Euro Parliament backs low-carbon road map. A European Parliament committee this week approved an EU "road map" to a low-carbon economy that seeks to go beyond current greenhouse gas reduction targets. United Press International 2012-02-05T09:00-05:00

Massachusetts greenhouse gas pollution sources described by EPA. Power plants throughout eastern Massachusetts are the largest industrial sources of greenhouse gas emissions linked to climate change in the state, according to new data from the U.S. Environmental Protection Agency. Milford Daily News 2012-02-05T09:00-05:00

100 Tories revolt over wind farms. David Cameron has been hit by a major protest by Conservative MPs over the Government’s backing for wind farms. The Telegraph 2012-02-05T09:00-05:00

A solar farm's slow going. When Bob Keares proposed building Pennsylvania's largest solar farm, he expected a warm reception, certainly from environmentalists. Since announcing his intentions, however, he has been confronted by the expected opponents, but also some he never unexpected: environmentalists. Philadelphia Inquirer 2012-02-05T09:00-05:00

Expanding UNEP is contentious in Rio talks. The UN Environment Programme is emerging as a hot issue in preparations for June's Rio conference, styled as a once-in-a-generation chance to restore a sick planet to good health. Agence France-Presse 2012-02-05T09:00-05:00

Wind farm subsidy cut urged by British conservatives. More than 100 Conservative MPs have written to the prime minister urging him to cut subsidies for wind turbines. BBC 2012-02-05T09:00-05:00

University researcher find clues to climate change in caves. Across the sweep of a thousand years, as ancient cities bloomed and died in southern Mexico, the water in Juxtlahuaca Cave went drip, drip, drip. Now a UNLV researcher is studying stalagmites, charting 2,500 years of rainfall and drawing new links between human history and climate change. Las Vegas Review-Journal 2012-02-05T09:00-05:00

Why Jog Falls have been reduced to a trickle. Prabhakar Bhat is part of a government team studying the nature of forests in the Malenaad. They found that the tropical rainforest is rapidly changing character, due to "changing rain patterns and systematic degradation," according to Bhat. Mumbai Daily News and Analysis 2012-02-05T09:00-05:00

College Station, Texas, reins in green projects. College Station City Council opted to go green in 2008. But last week, after four years, the city toned down those ambitions. It removed the word "leader" from its policy statement and added a note about fiscal responsibility. Bryan College Station Eagle 2012-02-05T09:00-05:00