function loadXMLs(str) 
		{
		try //Internet Explorer
		  {
		  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
		  xmlDoc.async="false";
		  xmlDoc.loadXML(str);
		  return(xmlDoc); 
		  }
		catch(e)
		  {
		  try //Firefox, Mozilla, Opera, etc.
			{
			parser=new DOMParser();
			xmlDoc=parser.parseFromString(str,"text/xml");
			return(xmlDoc);
			}
		  catch(e) {alert(e.message)}
		  }
		return(null);
		}
xmlstr='<rss version="2.0"> <channel> <title>The Engineer - Blog</title> <link>http://www.theengineer.co.uk</link> <description>http://www.theengineer.co.uk</description> <image> <url>http://www.theengineer.co.uk/magazine/graphics/logo.png 					</url> <title></title> <link>http://www.theengineer.co.uk</link> </image> <item> <title>Eye of the beholder</title> <link>http://www.theengineer.co.uk/blog/eye-of-the-beholder/1004578.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/eye-of-the-beholder/1004578.article</guid> <description>Rejecting wind turbines on aesthetic grounds may be rooted more in NIMBYism than in actual evidence that they have a detrimental effect on landscapes.</description> <pubDate>Fri, 27 Aug 2010 11:35 GMT</pubDate> </item> <item> <title>Readying for flight</title> <link>http://www.theengineer.co.uk/blog/readying-for-flight/1004424.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/readying-for-flight/1004424.article</guid> <description>Our guest blogger on the next stage of the QE Class building programme, as the final shipyard comes into play and the flight deck begins to take shape</description> <pubDate>Wed, 18 Aug 2010 11:03 GMT</pubDate> </item> <item> <title>The road to reality</title> <link>http://www.theengineer.co.uk/the-road-to-reality/1004660.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/the-road-to-reality/1004660.article</guid> <description>There’s been a lot of talk in the press recently about all-electric vehicles. And from reading such reports, one might be forgiven for believing that we are all likely to be driving one sooner rather than later.</description> <pubDate>Thu, 2 Sep 2010 11:25 GMT</pubDate> </item> <item> <title>Virtual worlds</title> <link>http://www.theengineer.co.uk/virtual-worlds/1004658.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/virtual-worlds/1004658.article</guid> <description>I’ve always been fond of computer games. Although I’ve never been really any good at playing them, I’ve always been fascinated by the technology behind them - the way that the console developers and the games makers seek out new ways to capture our imagination by their wares.</description> <pubDate>Thu, 2 Sep 2010 09:53 GMT</pubDate> </item> <item> <title>Back to the future</title> <link>http://www.theengineer.co.uk/back-to-the-future/1004536.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/back-to-the-future/1004536.article</guid> <description>A young friend of mine came over to see me last weekend, and during the course of dinner, we got talking about what sorts of music and films he liked to watch.</description> <pubDate>Thu, 26 Aug 2010 11:20 GMT</pubDate> </item> <item> <title>The X factor</title> <link>http://www.theengineer.co.uk/the-x-factor/1004535.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/the-x-factor/1004535.article</guid> <description>It’s one of the most popular shows on television and it’s viewed by over 10 million people in the UK each week.</description> <pubDate>Thu, 26 Aug 2010 11:10 GMT</pubDate> </item> <item> <title>Beginning to see the light</title> <link>http://www.theengineer.co.uk/blog/beginning-to-see-the-light/1004485.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/beginning-to-see-the-light/1004485.article</guid> <description>This week’s briefing has excellent news for those of you working in photonics, namely that your industry expected to be worth $243bn by 2021.</description> <pubDate>Mon, 23 Aug 2010 10:34 GMT</pubDate> </item> <item> <title>Bicycle race</title> <link>http://www.theengineer.co.uk/blog/bicycle-race/1004470.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/bicycle-race/1004470.article</guid> <description>With the rise in popularity of urban cycling, engineers in the UK and US are promoting new bike concepts they say are better equipped for navigating city streets.</description> <pubDate>Fri, 20 Aug 2010 11:31 GMT</pubDate> </item> <item> <title>Japanese robots</title> <link>http://www.theengineer.co.uk/japanese-robots/1004431.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/japanese-robots/1004431.article</guid> <description>Over the past few years, many engineers and academics across the globe have been hard at work developing a new breed of robotic device.</description> <pubDate>Wed, 18 Aug 2010 12:26 GMT</pubDate> </item> <item> <title>Painting lessons</title> <link>http://www.theengineer.co.uk/painting-lessons/1004430.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/painting-lessons/1004430.article</guid> <description>A couple of weeks back, while I was over in the US, I was given the opportunity to visit the Blanton Museum of Art in Austin, Texas, to view a number of prints created by the famous French painter Henri Matisse.</description> <pubDate>Wed, 18 Aug 2010 12:18 GMT</pubDate> </item> <item> <title>Liberal interpretation</title> <link>http://www.theengineer.co.uk/blog/liberal-interpretation/1004369.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/liberal-interpretation/1004369.article</guid> <description>Deputy prime minister, Nick Clegg, today takes over as the public face of the coalition government for the next two weeks, making him the first Liberal to take the mantle of power since 1922.</description> <pubDate>Mon, 16 Aug 2010 11:48 GMT</pubDate> </item> <item> <title>Gaming leads the 3D way</title> <link>http://www.theengineer.co.uk/gaming-leads-the-3d-way/1004347.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/gaming-leads-the-3d-way/1004347.article</guid> <description>I’ve been converted. A few weeks ago I finally had my first taste of 3D cinema in the form of the new Toy Story film and was severely disappointed. But now I’ve seen the future of 3D - handheld and glasses-free - and it looks good.</description> <pubDate>Fri, 13 Aug 2010 11:45 GMT</pubDate> </item> <item> <title>Meet Jeff Kodosky</title> <link>http://www.theengineer.co.uk/meet-jeff-kodosky/1004282.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/meet-jeff-kodosky/1004282.article</guid> <description>While National Instruments LabVIEW graphical programming language can help designers develop software for embedded systems, the company’s CompactRIO hardware plays an equally important role in helping them to deploy that software in a plethora of real-time environments.</description> <pubDate>Thu, 12 Aug 2010 10:15 GMT</pubDate> </item> <item> <title>The dead pig</title> <link>http://www.theengineer.co.uk/the-dead-pig/1004281.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/the-dead-pig/1004281.article</guid> <description>Putting on a big trade event such as National Instruments’ NIWeek in Austin, Texas, takes a lot of time and effort. For not only does the company use the occasion to highlight its own new hardware and software products, it also goes to great lengths to demonstrate the successful uses to which its technology has been put by many of its customers.</description> <pubDate>Thu, 12 Aug 2010 10:06 GMT</pubDate> </item> <item> <title>Material difference</title> <link>http://www.theengineer.co.uk/blog/material-difference/1004213.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/material-difference/1004213.article</guid> <description>Our space industry insider explains why advanced composites are the ideal materials for antenna reflectors, the components which allow them to beam data down to the planet’s surface</description> <pubDate>Mon, 9 Aug 2010 11:54 GMT</pubDate> </item> <item> <title>History lessons</title> <link>http://www.theengineer.co.uk/blog/history-lessons/1004211.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/history-lessons/1004211.article</guid> <description>Today marks the anniversary of two events whose after-effects will continue to reverberate around the world for many years to come.</description> <pubDate>Mon, 9 Aug 2010 10:31 GMT</pubDate> </item> <item> <title>Hybrid fuel-cell taxi is taken for a spin</title> <link>http://www.theengineer.co.uk/blog/hybrid-fuel-cell-taxi-is-taken-for-a-spin/1004204.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/hybrid-fuel-cell-taxi-is-taken-for-a-spin/1004204.article</guid> <description>I didn’t expect my debut drive around the Lotus race track to be in a 2.6-tonne Hackney Carriage, but with a man known as ‘the Norfolk Stig’ gripping the passenger-side hand rails, we put the latest contribution to the taxi scene through its paces.</description> <pubDate>Fri, 6 Aug 2010 12:21 GMT</pubDate> </item> <item> <title>Cutbacks, investment, or both?</title> <link>http://www.theengineer.co.uk/cutbacks-investment-or-both?/1004125.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/cutbacks-investment-or-both?/1004125.article</guid> <description>The president of the US enterprise once told me the reason he felt his outfit had been so successful over the 20 or so years that it had been in business.</description> <pubDate>Wed, 4 Aug 2010 12:00 GMT</pubDate> </item> <item> <title>Irresponsible behaviour</title> <link>http://www.theengineer.co.uk/irresponsible-behaviour/1004136.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/irresponsible-behaviour/1004136.article</guid> <description>Having had no rain in days, the garden lawn was looking a bit brown, so last week I decided to get out the old hosepipe and provide my grass with some much needed refreshment.</description> <pubDate>Wed, 4 Aug 2010 11:32 GMT</pubDate> </item> <item> <title>Cool trains, climate change and Blackberry black-outs</title> <link>http://www.theengineer.co.uk/blog/cool-trains-climate-change-and-blackberry-black-outs/1004071.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/cool-trains-climate-change-and-blackberry-black-outs/1004071.article</guid> <description>London commuters not tempted to hop onto a “Boris bike” will be pleased to hear that their underground travels may soon become a less sweaty affair.</description> <pubDate>Mon, 2 Aug 2010 11:17 GMT</pubDate> </item> <item> <title>Boris bike gets The Engineer test </title> <link>http://www.theengineer.co.uk/blog/boris-bike-gets-the-engineer-test/1004046.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/boris-bike-gets-the-engineer-test/1004046.article</guid> <description>As the UK’s first cycle hire scheme gets going in London, we take a look at Boris Johnson’s new bikes</description> <pubDate>Fri, 30 Jul 2010 11:34 GMT</pubDate> </item> <item> <title>Oil over troubled waters</title> <link>http://www.theengineer.co.uk/oil-over-troubled-waters/1004010.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/oil-over-troubled-waters/1004010.article</guid> <description>It’s only Thursday, but it’s already been a week to remember for the folks at oil giant BP. The not so unexpected news that the company’s group chief executive Dr Tony Hayward would be standing down in October was followed swiftly by an announcement that the company is now setting aside a whopping $32.2bn (£20.5bn) to cover the cost of the Gulf of Mexico oil spill.</description> <pubDate>Thu, 29 Jul 2010 10:23 GMT</pubDate> </item> <item> <title>Do it again</title> <link>http://www.theengineer.co.uk/do-it-again/1004009.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/do-it-again/1004009.article</guid> <description>A couple of months ago, I was asked to write a piece for our sister publication, The Engineer, on a new technology that had been developed by some rather clever folks in Europe.</description> <pubDate>Thu, 29 Jul 2010 10:04 GMT</pubDate> </item> <item> <title>The Hayward Legacy</title> <link>http://www.theengineer.co.uk/blog/the-hayward-legacy/1003921.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/the-hayward-legacy/1003921.article</guid> <description>MBA disaster management modules will surely have no finer case study than that of Tony Hayward’s handling of the massive oil leak in the Gulf of Mexico.</description> <pubDate>Mon, 26 Jul 2010 11:08 GMT</pubDate> </item> <item> <title>Is 3D cinema all it&#039;s cracked up to be?</title> <link>http://www.theengineer.co.uk/blog/is-3d-cinema-all-its-cracked-up-to-be?/1003857.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/is-3d-cinema-all-its-cracked-up-to-be?/1003857.article</guid> <description>As a technology journalist I’m embarrassed to admit this, but until this week I’d never seen a 3D film. It wasn’t that I was strongly against the concept, just that a confluence of events happened to prevent me watching one.</description> <pubDate>Fri, 23 Jul 2010 10:46 GMT</pubDate> </item> <item> <title>Brand recognition</title> <link>http://www.theengineer.co.uk/brand-recognition/1003819.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/brand-recognition/1003819.article</guid> <description>When the electronic automation outfit was founded many years ago, its engineers had led the world developing high-technology products that helped its customers create a slew of innovative machines.</description> <pubDate>Thu, 22 Jul 2010 10:53 GMT</pubDate> </item> <item> <title>Machine design</title> <link>http://www.theengineer.co.uk/machine-design/1003816.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/machine-design/1003816.article</guid> <description>The marketing manager at the machine builder was thrilled when a potential customer asked him if his engineers might be able to automate a key production process by developing a bespoke machine specifically for the purpose.</description> <pubDate>Thu, 22 Jul 2010 10:00 GMT</pubDate> </item> <item> <title>Fox speech overlooks defence spend issue</title> <link>http://www.theengineer.co.uk/opinion/comment/fox-speech-overlooks-defence-spend-issue/1003782.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/opinion/comment/fox-speech-overlooks-defence-spend-issue/1003782.article</guid> <description>Talking at the Farnborough airshow, defence secretary Liam Fox was meant to have outlined government’s big idea for reining in defence spending. The trouble is, he doesn’t appear to have revealed any concrete plans at all.</description> <pubDate>Tue, 20 Jul 2010 17:00 GMT</pubDate> </item> <item> <title>Lift-off and landings at Farnborough</title> <link>http://www.theengineer.co.uk/blog/lift-off-and-landings-at-farnborough/1003683.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/lift-off-and-landings-at-farnborough/1003683.article</guid> <description>This week is set to be dominated by the Farnborough International Airshow, with anyone who is anyone in the aviation industry descending upon the Hampshire town.</description> <pubDate>Mon, 19 Jul 2010 11:27 GMT</pubDate> </item> <item> <title>Giving Britain&#039;s armed forces the technological edge </title> <link>http://www.theengineer.co.uk/blog/giving-britains-armed-forces-the-technological-edge/1003650.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/giving-britains-armed-forces-the-technological-edge/1003650.article</guid> <description>A visit to BAE’s Advanced Technology Centre provides an intriguing behind the scenes glimpse of tomorrow’s military technology</description> <pubDate>Fri, 16 Jul 2010 11:38 GMT</pubDate> </item> <item> <title>Heaven knows I’m miserable now</title> <link>http://www.theengineer.co.uk/heaven-knows-i’m-miserable-now/1003613.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/heaven-knows-i’m-miserable-now/1003613.article</guid> <description>Many of us with teenage children will, at one time or another, have been concerned about the amount of time that they spend surfing the internet, silently worrying about the possible detrimental effects that too much time on the computer might have on their behaviour.</description> <pubDate>Thu, 15 Jul 2010 10:31 GMT</pubDate> </item> <item> <title>Role model</title> <link>http://www.theengineer.co.uk/role-model/1003614.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/role-model/1003614.article</guid> <description>Anyone who watched the World Cup final on Sunday could not have failed to have been amazed by the unspeakably beastly behaviour of the team from the Netherlands.</description> <pubDate>Thu, 15 Jul 2010 10:24 GMT</pubDate> </item> <item> <title>Informed decisions</title> <link>http://www.theengineer.co.uk/blog/informed-decisions/1003594.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/informed-decisions/1003594.article</guid> <description>Presenting teenagers with better information about the possibilities of a career in engineering seems like a vital way to address the growing skills gap in the sector.</description> <pubDate>Wed, 14 Jul 2010 12:59 GMT</pubDate> </item> <item> <title>Technology fix needed for water shortages</title> <link>http://www.theengineer.co.uk/blog/technology-fix-needed-for-water-shortages/1003499.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/technology-fix-needed-for-water-shortages/1003499.article</guid> <description>It’s been less than a year since the devastating floods swept the North West, yet millions of people in the region are now facing a hose pipe ban.</description> <pubDate>Mon, 12 Jul 2010 11:34 GMT</pubDate> </item> <item> <title>Energy, aviation and water all demand innovation</title> <link>http://www.theengineer.co.uk/blog/energy-aviation-and-water-all-demand-innovation/1003527.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/energy-aviation-and-water-all-demand-innovation/1003527.article</guid> <description>This week’s Briefing would like to start with a reminder that you have until Friday 30 July to enter The Engineer Technology &amp;amp; Innovation Awards.</description> <pubDate>Mon, 12 Jul 2010 10:24 GMT</pubDate> </item> <item> <title>Public sector waste</title> <link>http://www.theengineer.co.uk/public-sector-waste/1003434.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/public-sector-waste/1003434.article</guid> <description>Upon returning home one day from a walk with his two dogs, the engineering sales representative was surprised to see a young man sorting through the rubbish in the wheelie bin outside his property.</description> <pubDate>Thu, 8 Jul 2010 10:49 GMT</pubDate> </item> <item> <title>Grow your own</title> <link>http://www.theengineer.co.uk/grow-your-own/1003433.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/grow-your-own/1003433.article</guid> <description>I’m not the greatest of football fans, but I must admit that I was horrified when I saw Frank Lampard, the 32-year-old Chelsea midfielder, denied a goal in England’s World Cup match against Germany simply due to the inability of the referee to spot that the football had crossed the goal line.</description> <pubDate>Thu, 8 Jul 2010 10:26 GMT</pubDate> </item> <item> <title>Queen Elizabeth takes its bow</title> <link>http://www.theengineer.co.uk/blog/queen-elizabeth-takes-its-bow/1003401.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/queen-elizabeth-takes-its-bow/1003401.article</guid> <description>The engineering director of the Aircraft Carrier Alliance, which is now building the first of the QE Class aircraft carriers, on the completion of the first blocks of the massive vessel</description> <pubDate>Wed, 7 Jul 2010 12:06 GMT</pubDate> </item> <item> <title>Security detail</title> <link>http://www.theengineer.co.uk/blog/security-detail/1003353.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/security-detail/1003353.article</guid> <description>This week’s briefing takes a look forward to the fifth anniversary of 7/7 bombings with a recap of anti-terror technologies that have emerged in its wake.</description> <pubDate>Mon, 5 Jul 2010 11:20 GMT</pubDate> </item> <item> <title>Where&#039;s my jetpack?</title> <link>http://www.theengineer.co.uk/blog/wheres-my-jetpack?/1003331.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/wheres-my-jetpack?/1003331.article</guid> <description>The technological achievements over the last hundred years have created the modern, comfortable life we know, but many of us wonder what happened to the more exciting sci-fi future we were promised.  </description> <pubDate>Fri, 2 Jul 2010 10:53 GMT</pubDate> </item> </channel> </rss> 	';
xmlDoc = loadXMLs(xmlstr);
var txt = '';
var txt = '';
items = xmlDoc.getElementsByTagName("item");
		for (i=0; i<9; i++) {
	
		var title="";
		var hlink="";
		var descr="";
		var pubdate="";
		var te=""
if (items[i].getElementsByTagName("title")[0].length != 0)
title = items[i].getElementsByTagName("title")[0].childNodes[0].nodeValue;
te = title.substring(0, title.indexOf(":"));
title = title.substring(title.indexOf(":") + 1, title.length );
if (items[i].getElementsByTagName("link")[0].length != 0)
hlink = items[i].getElementsByTagName("link")[0].childNodes[0].nodeValue;
txt += '<ul class="arrow"><li><a href="'+ hlink +'">' + title + '</a><br />';

txt += '<span class="" style="width:100%">' + te + '</span></li></ul>';
}
document.write (txt);
