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" -->
|
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. |
World's giants to alter food equation. In India and China, meat is becoming much more likely to be on the menu. Changing diets are creating unprecedented demand for animal feed. Chicago Tribune 2008-05-11 Behind the food riots: a debate on how best to farm. Around the world, governments are trying to stave off food riots. Many experts call these Band-Aid solutions, saying what's needed is a radical rethink of how the world gets its food. However, they're deeply divided about which way to go. Associated Press 2008-05-11 The dangers of the deltas. From the Mekong to the Mississippi, river mouths have long lured farmers, fishers and traders. But the same geography also guarantees they will be periodically inundated. New York Times 2008-05-11 Burma's survivors 'facing crisis.' Burmese cyclone survivors face a massive crisis unless they are urgently delivered aid, leading aid agencies have warned. BBC 2008-05-11 How the world's oceans are running out of fish. After ninety years of industrial scale overfishing, the future of the oceans has never been more precarious. London Observer 2008-05-11 Scientists plan to bury CO2 in Kern County. Scientists plan to pump 1 million tons of greenhouse gas more than a mile beneath a Kern County power plant in one of the nation's largest experiments to slow global warming. Fresno Bee 2008-05-11 Gas prices send surge of riders to mass transit. With the price of gas approaching $4 a gallon, more commuters are abandoning their cars and taking the train or bus instead. New York Times 2008-05-11 In the black. No other county in Pennsylvania produces more coal than Greene, and few places feel coal's impact like this county, where growing numbers of people thrive on the commodity while the rest struggle in its shadow. Philadelphia Inquirer 2008-05-11 Minnesota is ground zero in the debate over ethanol. Minnesota's decade-long experiment with the fuel makes it ground zero for the ethanol movement. The state has 22 percent of the country's nearly 1,600 pumps dispensing E85. Minneapolis Star Tribune 2008-05-11 Global climate change: What it means to Iowa. Iowa's greenhouse gas emissions are growing faster than the nation's as a whole, even as new state programs fight to limit the damage from global climate change, a new report shows. Des Moines Register 2008-05-11 Scientist team creates first GM human embryo. A team from Cornell University in New York produced the GM embryo to study how early cells and diseases develop. It was destroyed after five days. London Times 2008-05-11 Breast vs bottle: the new battleground. Just as the Department of Health is trying to promote breastfeeding, food giant Nestlé, makers of powdered baby milk, is forging links with the Government. London Independent 2008-05-11 Lead's legacy. Thirty years have passed since the federal government banned the use of lead-based paint, but it continues to sicken children nationwide, particularly those who are poor and live in older cities. Columbus Dispatch 2008-05-11 Should paint makers pay? Billions of dollars are at stake for former lead-paint manufacturers in a Rhode Island lawsuit that triggered a flurry of similar suits across the country. Columbus and Ohio filed suits more than a year ago using the same legal argument. Columbus Dispatch 2008-05-11 Lead kills mining town. Polluted Picher, Okla., dwindles as residents take buyouts. People are leaving, escaping one of the worst environmental nightmares in the country. Associated Press 2008-05-11 Honeybee deaths still on the rise. Honeybees needed to pollinate crops are still mysteriously dying at an alarming rate nationwide, but some Massachusett beekeepers say the picture is not as grim there. Milford Daily News 2008-05-11 A perfect storm. After 11 years studying bisphenol A and sounding the alarm about its potential health risks, University of Missouri Professor Frederick Vom Saal's warnings are attracting national attention. Columbia Tribune 2008-05-11 Safety concerns boost business. Recent warnings about the chemical compound bisphenol A or BPA -- found in plastics used to make everything from sippy cups and baby bottles to cooking spoons -- is helping spur blockbuster sales for some savvy retailers. Miami Herald 2008-05-11 DEC poised to ban all open burning in New York State. Concerns about contaminants released by open burning-- including dioxins and arsenic-- are leading New York to extend a ban statewide. Catskill Daily Mail 2008-05-11 Sacramento prepares for the worst -- massive flooding. State and federal agencies race to complete work designed to prevent the $25-billion disaster that could result if the rivers surrounding Sacramento overflowed or breached aging levees. Los Angeles Times 2008-05-11 The painful cost of booming growth. Population growth in the Seattle area is undermining efforts to protect Puget Sound. Seattle Times 2008-05-11 Shenandoah fish kills cause roiling on river. Despite the small army of investigating scientists, government officials and concerned conservation and sport fishing groups, no one yet has come up with answers regarding the causes of fish kills on Virginia's Shenandoah River. Washington Times 2008-05-11 No skunks in Arlington isn't good news for humans. Skunks, known far and wide for their stinky spray, can survive in urban areas on garbage, bugs and pet food. But for years, no one has seen a skunk in Arlington. Washington Post 2008-05-11 Latest swan death confirms H5N1 in Hokkaido. The Hokkaido Prefectural Government said Saturday that the deadly H5N1 strain of avian influenza was detected in a dead swan found Monday near Lake Saroma, a sign that bird flu may indeed be spreading among wild birds in northern Japan. Associated Press 2008-05-11 Program helps abate lead fears. Three children's multiple trips to the emergency room last year because of asthma attacks led to the rehabilitation of a Wilson Avenue home. And the discovery of lead poisoning. Columbus Dispatch 2008-05-11 Why you should worry about lead. Lead doesn't belong in our bodies. And when it finds its way in, the opportunities for harm are plentiful. Columbus Dispatch 2008-05-11 Injured US troops battle drug-resistant bacteria. Before the Iraq war, the pathogenic bacteria — which U.S. troops simply call Iraqibacter — attracted little attention. That's different now. Weekend Edition 2008-05-11 Scots doctors pioneer trial to remove 'mad cow' risk from donated blood. The world's first trial to make blood transfusions free of the human form of 'mad cow disease' has been launched by doctors in Scotland. Edinburgh Scotsman 2008-05-11 Burma’s cyclone children facing wipeout, say charities. A generation of children could be wiped out if help does not quickly get through to the cyclone-stricken villages of Burma, according to international officials. London Times 2008-05-11 U.N. says 220,000 reported missing in cyclone. The number of people reported missing in the Myanmar cyclone was about 220,000, the United Nations humanitarian agency said on Sunday, warning of environmental damage, violence and mass migration. Reuters 2008-05-11 |