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>Mind over matter</title> <link>http://www.theengineer.co.uk/blog/mind-over-matter/1011619.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/mind-over-matter/1011619.article</guid> <description>Machine-brain interfaces are becoming ever more complex and no longer limited to the basic movement of neuroprosthetics but cognitive functions like language and music.</description> <pubDate>Fri, 3 Feb 2012 12:20 GMT</pubDate> </item> <item> <title>Scotland&#039;s renewables ambition</title> <link>http://www.theengineer.co.uk/blog/scotlands-renewables-ambition/1011565.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/scotlands-renewables-ambition/1011565.article</guid> <description>Aiming to be 100 per cent renewable powered by 2020, Scotland hosts a major offshore wind conference and exhibition this week</description> <pubDate>Mon, 30 Jan 2012 11:10 GMT</pubDate> </item> <item> <title>Backup plan</title> <link>http://www.theengineer.co.uk/blog/backup-plan/1011559.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/backup-plan/1011559.article</guid> <description>A number of promising announcements this week suggest that grid technologies might finally be able to keep pace with the drive for renewable energy.</description> <pubDate>Fri, 27 Jan 2012 11:59 GMT</pubDate> </item> <item> <title>How to engineer a business, and space for vision</title> <link>http://www.theengineer.co.uk/blog/how-to-engineer-a-business-and-space-for-vision/1011498.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/how-to-engineer-a-business-and-space-for-vision/1011498.article</guid> <description>Advice for engineers on how to become entrepreneurs and an in-depth look at how space science is contributing to medical imaging head the list of this week’s events.</description> <pubDate>Mon, 23 Jan 2012 08:34 GMT</pubDate> </item> <item> <title>Leading the charge</title> <link>http://www.theengineer.co.uk/blog/leading-the-charge/1011477.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/leading-the-charge/1011477.article</guid> <description>Hopes are on the private sector to fund the roll-out of electric vehicle charging infrastructure in the UK. But it may take more than commercial opportunities to be successful.</description> <pubDate>Fri, 20 Jan 2012 12:21 GMT</pubDate> </item> <item> <title>A week of transport icons</title> <link>http://www.theengineer.co.uk/blog/a-week-of-transport-icons/1011416.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/a-week-of-transport-icons/1011416.article</guid> <description>Transport dominates this week’s Briefing, with a lecture on the return of a London icon and a conference addressing barriers that stand in the way of electric vehicles.</description> <pubDate>Mon, 16 Jan 2012 11:14 GMT</pubDate> </item> <item> <title>Is shale gas all it&#039;s &#039;fracked&#039; up to be? </title> <link>http://www.theengineer.co.uk/blog/is-shale-gas-all-its-fracked-up-to-be?/1011405.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/is-shale-gas-all-its-fracked-up-to-be?/1011405.article</guid> <description>Cuadrilla is looking to the home counties for shale gas reserves fit for ‘fracking’. But is this energy resource all it’s ‘fracked’ up to be?</description> <pubDate>Fri, 13 Jan 2012 12:33 GMT</pubDate> </item> <item> <title>Technology takes to the farm</title> <link>http://www.theengineer.co.uk/blog/technology-takes-to-the-farm/1011347.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/technology-takes-to-the-farm/1011347.article</guid> <description>A futuristic farming project in Japan could set out the model for transforming the countryside to meet our growing needs.</description> <pubDate>Fri, 6 Jan 2012 12:16 GMT</pubDate> </item> <item> <title>Could you be the secret engineer?</title> <link>http://www.theengineer.co.uk/blog/could-you-be-the-secret-engineer?/1011331.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/could-you-be-the-secret-engineer?/1011331.article</guid> <description>We’re looking for a mystery blogger to write a monthly column for The Engineer magazine. Could it be you?</description> <pubDate>Wed, 4 Jan 2012 17:32 GMT</pubDate> </item> <item> <title>The Engineer&#039;s Top 10 Technologies of 2011</title> <link>http://www.theengineer.co.uk/blog/the-engineers-top-10-technologies-of-2011/1011314.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/the-engineers-top-10-technologies-of-2011/1011314.article</guid> <description>It’s time for The Engineer’s roundup of the year’s best technology stories, our pick of the most groundbreaking, influential or exciting developments in engineering over the last 12 months.</description> <pubDate>Fri, 23 Dec 2011 12:19 GMT</pubDate> </item> <item> <title>Ghosts of Christmas Presents</title> <link>http://www.theengineer.co.uk/blog/ghosts-of-christmas-presents/1011266.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/ghosts-of-christmas-presents/1011266.article</guid> <description>The world of conferences and events seems to have ground to a halt so instead The Engineer takes a look at gift ideas for youngsters.</description> <pubDate>Mon, 19 Dec 2011 10:50 GMT</pubDate> </item> <item> <title>Fundamental fusion</title> <link>http://www.theengineer.co.uk/blog/fundamental-fusion/1011259.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/fundamental-fusion/1011259.article</guid> <description>Those who portray the magnetic fusion project ITER as a funding sink are wrong; it’s a cutting-edge engineering project with a crucial goal, and good value for money.</description> <pubDate>Fri, 16 Dec 2011 11:39 GMT</pubDate> </item> <item> <title>Taking telematics on the road to improve automotive safety</title> <link>http://www.theengineer.co.uk/blog/taking-telematics-on-the-road-to-improve-automotive-safety/1011197.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/taking-telematics-on-the-road-to-improve-automotive-safety/1011197.article</guid> <description>This week’s events look at automotive automation, the Make it in Great Britain campaign and an online quiz that tests participants’ knowledge of energy usage.</description> <pubDate>Mon, 12 Dec 2011 11:12 GMT</pubDate> </item> <item> <title>It came from the skies</title> <link>http://www.theengineer.co.uk/blog/it-came-from-the-skies/1011183.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/it-came-from-the-skies/1011183.article</guid> <description>The government catapulted us with innovation and research policy yesterday, with an eye clearly on its wallet. But could a potential windfall be on its way?</description> <pubDate>Fri, 9 Dec 2011 11:25 GMT</pubDate> </item> <item> <title>Low Carbon homes, EVs and the case for a "supergrid"</title> <link>http://www.theengineer.co.uk/blog/low-carbon-homes-evs-and-the-case-for-a-supergrid/1011140.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/low-carbon-homes-evs-and-the-case-for-a-supergrid/1011140.article</guid> <description>This week’s events consider the requirements of low-carbon homes, more debate on optimising electric vehicles and a look at the technical, economical and political challenges of wind projects.</description> <pubDate>Mon, 5 Dec 2011 10:36 GMT</pubDate> </item> <item> <title>Taking energy efficiency to a lower level</title> <link>http://www.theengineer.co.uk/blog/taking-energy-efficiency-to-a-lower-level/1011134.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/taking-energy-efficiency-to-a-lower-level/1011134.article</guid> <description>A planned heating and cooling scheme to link some of London’s most prestigious buildings could point the way for efficiency in the capital.</description> <pubDate>Fri, 2 Dec 2011 10:33 GMT</pubDate> </item> <item> <title>Focus on the UK&#039;s energy mix</title> <link>http://www.theengineer.co.uk/blog/focus-on-the-uks-energy-mix/1011062.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/focus-on-the-uks-energy-mix/1011062.article</guid> <description>This week sees several organisations host meetings about the parts that renewables and nuclear will play in the UK’s energy landscape in the coming decades.</description> <pubDate>Mon, 28 Nov 2011 09:56 GMT</pubDate> </item> <item> <title>Back to the future with the strangest flying machine</title> <link>http://www.theengineer.co.uk/blog/back-to-the-future-with-the-strangest-flying-machine/1011043.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/back-to-the-future-with-the-strangest-flying-machine/1011043.article</guid> <description>Stuart Nathan confesses his love for the retro-futurist ekranoplan, and looks forward to its possible return at the hands of an aerospace pioneer.</description> <pubDate>Fri, 25 Nov 2011 11:15 GMT</pubDate> </item> <item> <title>Engineless cars, driverless trains and Brits in space</title> <link>http://www.theengineer.co.uk/blog/engineless-cars-driverless-trains-and-brits-in-space/1010947.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/engineless-cars-driverless-trains-and-brits-in-space/1010947.article</guid> <description>The effects of technology on transport are still causing controversy, while the IMechE honours the best of British manufacturing</description> <pubDate>Mon, 21 Nov 2011 10:28 GMT</pubDate> </item> <item> <title>Queen Elizabeth prize: possible pitfalls, possible glory</title> <link>http://www.theengineer.co.uk/blog/queen-elizabeth-prize-possible-pitfalls-possible-glory/1010942.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/queen-elizabeth-prize-possible-pitfalls-possible-glory/1010942.article</guid> <description>The new Queen Elizabeth Prize could bring some much-deserved recognition to Britain’s engineers and counter media misconceptions</description> <pubDate>Fri, 18 Nov 2011 12:26 GMT</pubDate> </item> <item> <title>Tackling cable theft, and a nuclear update</title> <link>http://www.theengineer.co.uk/blog/tackling-cable-theft-and-a-nuclear-update/1010881.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/tackling-cable-theft-and-a-nuclear-update/1010881.article</guid> <description>Tomorrow marks the introduction of a Bill to Parliament that aims to eradicate a crime that causes severe disruption to rail travellers and sometimes kills its perpetrators.</description> <pubDate>Mon, 14 Nov 2011 10:29 GMT</pubDate> </item> <item> <title>Should Earth&#039;s close encounter trigger asteroid avoidance research?</title> <link>http://www.theengineer.co.uk/blog/should-earths-close-encounter-trigger-asteroid-avoidance-research?/1010862.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/should-earths-close-encounter-trigger-asteroid-avoidance-research?/1010862.article</guid> <description>After yet another narrow encounter with an asteroid the size of an airship earlier this week, do we need to pay more attention to technology that could protect our planet and its inhabitants from these turbo-charged cosmic fireworks?</description> <pubDate>Fri, 11 Nov 2011 11:43 GMT</pubDate> </item> <item> <title>Awards season and D-Day for HS2</title> <link>http://www.theengineer.co.uk/blog/awards-season-and-d-day-for-hs2/1010810.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/awards-season-and-d-day-for-hs2/1010810.article</guid> <description>It’s awards season. And as we hurtle towards the end of another testing year for the engineering sector, it’s reassuring that the UK’s manufacturing and technology firms still have plenty to shout about.</description> <pubDate>Mon, 7 Nov 2011 09:00 GMT</pubDate> </item> <item> <title>Can UK graduates compete with their Chinese counterparts?</title> <link>http://www.theengineer.co.uk/blog/can-uk-graduates-compete-with-their-chinese-counterparts?/1010808.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/can-uk-graduates-compete-with-their-chinese-counterparts?/1010808.article</guid> <description>UK engineering graudates are doing well in the job market, which may come as a surprise to many. But lower-cost economies, particularly China, could still threaten job prospects.</description> <pubDate>Fri, 4 Nov 2011 11:14 GMT</pubDate> </item> <item> <title>Frack to the future?</title> <link>http://www.theengineer.co.uk/blog/frack-to-the-future?/1010750.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/frack-to-the-future?/1010750.article</guid> <description>A conference this week will discuss the potentials and difficulties of shale gas extraction in the UK, but even the conference itself is proving controversial.</description> <pubDate>Mon, 31 Oct 2011 10:10 GMT</pubDate> </item> <item> <title>Robots in the driving seat?</title> <link>http://www.theengineer.co.uk/blog/robots-in-the-driving-seat?/1010728.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/robots-in-the-driving-seat?/1010728.article</guid> <description>Replacing human workers with robots may have consequences for society, but we shouldn’t assume they are all bad.</description> <pubDate>Fri, 28 Oct 2011 12:45 GMT</pubDate> </item> <item> <title>Make like a tree, make the most of the UK, and make your pitch</title> <link>http://www.theengineer.co.uk/blog/make-like-a-tree-make-the-most-of-the-uk-and-make-your-pitch/1010683.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/make-like-a-tree-make-the-most-of-the-uk-and-make-your-pitch/1010683.article</guid> <description>Events taking place this week incorporate a demonstration of an artificial tree that captures CO2 and entrepreneurs pitching for funds that will see their innovations flourish.</description> <pubDate>Mon, 24 Oct 2011 10:29 GMT</pubDate> </item> <item> <title>Where next for CCS?</title> <link>http://www.theengineer.co.uk/blog/where-next-for-ccs?/1010678.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/where-next-for-ccs?/1010678.article</guid> <description>Earlier this week, delegates at a conference on the future of UK carbon capture and storage were greeted to news that plans to develop a CCS project at Longannet in Scotland had been shelved.</description> <pubDate>Fri, 21 Oct 2011 11:38 GMT</pubDate> </item> <item> <title>Manufacturing a recovery</title> <link>http://www.theengineer.co.uk/blog/manufacturing-a-recovery/1010603.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/manufacturing-a-recovery/1010603.article</guid> <description>There may be no signs of growth in the UK economy but the government’s long-term strategy for innovation is looking promising.</description> <pubDate>Fri, 14 Oct 2011 12:32 GMT</pubDate> </item> <item> <title>Planet Football: why FIFA should embrace technology</title> <link>http://www.theengineer.co.uk/blog/planet-football-why-fifa-should-embrace-technology/1010509.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/planet-football-why-fifa-should-embrace-technology/1010509.article</guid> <description>What if FIFA were to embrace technology and bring goal line technology to the coffee table?</description> <pubDate>Wed, 5 Oct 2011 14:01 GMT</pubDate> </item> <item> <title>Talking transport </title> <link>http://www.theengineer.co.uk/blog/talking-transport/1011353.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/talking-transport/1011353.article</guid> <description>With a decision due on a new high speed rail link, and a host of motor shows opening their doors, Transport is top of this week’s agenda</description> <pubDate>Mon, 9 Jan 2012 12:52 GMT</pubDate> </item> <item> <title>Women engineers, energy  and nuclear waste</title> <link>http://www.theengineer.co.uk/blog/women-engineers-energy-and-nuclear-waste/1010620.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/women-engineers-energy-and-nuclear-waste/1010620.article</guid> <description>This week sees WISE acknowledge those encouraging girls into STEM subjects and careers whilst other events cover process safety, nuclear waste disposal, climate change and coastal erosion.</description> <pubDate>Mon, 17 Oct 2011 11:06 GMT</pubDate> </item> <item> <title>Conference convenes in New York to discuss thorium energy </title> <link>http://www.theengineer.co.uk/blog/conference-convenes-in-new-york-to-discuss-thorium-energy/1010541.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/conference-convenes-in-new-york-to-discuss-thorium-energy/1010541.article</guid> <description>Advocates of a non-uranium based reactor convene this week in New York to discuss thorium energy.</description> <pubDate>Mon, 10 Oct 2011 11:39 GMT</pubDate> </item> <item> <title>Should the UK jump on the eco-city bandwagon?</title> <link>http://www.theengineer.co.uk/blog/should-the-uk-jump-on-the-eco-city-bandwagon?/1010533.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/should-the-uk-jump-on-the-eco-city-bandwagon?/1010533.article</guid> <description>With an increasing number of ‘ecocities’ cropping up around the world, should the UK be thinking about developing one of its own?</description> <pubDate>Fri, 7 Oct 2011 11:35 GMT</pubDate> </item> <item> <title>All things green and renewable</title> <link>http://www.theengineer.co.uk/blog/all-things-green-and-renewable/1010469.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/all-things-green-and-renewable/1010469.article</guid> <description>Events taking place this week will give attendees guidance on how to maximize their green energy strategies.</description> <pubDate>Mon, 3 Oct 2011 10:50 GMT</pubDate> </item> <item> <title>Bailing out on nuclear</title> <link>http://www.theengineer.co.uk/blog/bailing-out-on-nuclear/1010454.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/bailing-out-on-nuclear/1010454.article</guid> <description>With a number of governments and companies backing away from nuclear, the proposed next generation of power plants is looking increasingly shaky.</description> <pubDate>Fri, 30 Sep 2011 12:28 GMT</pubDate> </item> <item> <title>Composites take to the air, and the road</title> <link>http://www.theengineer.co.uk/blog/composites-take-to-the-air-and-the-road/1010399.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/composites-take-to-the-air-and-the-road/1010399.article</guid> <description>Bad news from the UK’s defence sector is tempered by Boeing’s first delivery of the all-new composites-laden 787 Dreamliner to All Nippon Airlines.</description> <pubDate>Mon, 26 Sep 2011 10:33 GMT</pubDate> </item> <item> <title>How silicon is our valley?</title> <link>http://www.theengineer.co.uk/blog/how-silicon-is-our-valley?/1010395.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/how-silicon-is-our-valley?/1010395.article</guid> <description>It might not be feasible to copy the ’Silicon Valley’ approach to exploiting technology exactly, but the UK has its own set of skills it can bring to bear on the problem.</description> <pubDate>Fri, 23 Sep 2011 13:23 GMT</pubDate> </item> <item> <title>Offshore challenges, engineering success and tapping into waste</title> <link>http://www.theengineer.co.uk/blog/offshore-challenges-engineering-success-and-tapping-into-waste/1010106.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/offshore-challenges-engineering-success-and-tapping-into-waste/1010106.article</guid> <description>This weeks events look at the practicalities of offshore wind build, the potential of engineers to increase sporting success and the best ways to utilize waste for energy.</description> <pubDate>Mon, 19 Sep 2011 11:43 GMT</pubDate> </item> <item> <title>Motor show concepts: style over substance?</title> <link>http://www.theengineer.co.uk/blog/motor-show-concepts-style-over-substance?/1010069.article</link> <guid isPermaLink="true">http://www.theengineer.co.uk/blog/motor-show-concepts-style-over-substance?/1010069.article</guid> <description>Bold technology claims seemed to be order of the day at the Frankfurt Motor Show, but I left none the wiser as to what stage much of the R&amp;amp;D was at.</description> <pubDate>Fri, 16 Sep 2011 11:42 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);

