On Wednesday 08 July 2009 12:35:29 pm Alessandro Ronchi wrote: > I need to put an HTML code in my feeds, but if I put the adsense code in my > feed description it's escaped for XML. Is there a way to add the code > without having it escaped? > > This is my code: > > <script type="text/javascript"><!-- > google_ad_client = "pub-6556115776553690"; > /* 234x60, creato 08/07/09 */ > google_ad_slot = "4803082542"; > google_ad_width = 234; > google_ad_height = 60; > //--> > </script> > <script type="text/javascript" > src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> > </script> >
Wrap the script code with <![CDATA[ ]]> See: http://www.w3schools.com/xmL/xml_cdata.asp Mike -- The only difference in the game of love over the last few thousand years is that they've changed trumps from clubs to diamonds. -- The Indianapolis Star
signature.asc
Description: This is a digitally signed message part.