|
From: Naveen G. <nav...@gm...> - 2006-08-17 19:29:00
|
That actually didn't work. The problem seems to be "<!-- google_ad.... //-->" portion of the script, as it gets deleted. I tried to add the tag "!--" and "!--:google_ad... etc.", but that didn't work either. Is there a more general way to allow the admin to use any tags whatsoever in the stories? Naveen > > > I would also like to be able to put story specific scripts / ads > > such as this: > > > > <script type="text/javascript"><!-- > > google_ad_client = "xxxxxx"; > > google_ad_width = 120; > > google_ad_height = 240; > > google_ad_format = "120x240_as_rimg"; > > google_cpa_choice = "xxxxx"; > > google_ad_channel = "xxxxx"; > > //--></script> > > <script type="text/javascript" src="http:// > > pagead2.googlesyndication.com/pagead/show_ads.js "> > > </script> > > > > ;;is this possible with: > > > > replace into vars (name,value) values ('approvedtags_admin','b|i|p > > |br|a|ol|ul|li|dl|dt|dd|em|strong|tt|blockquote|div|ecode|img|hr|big| > > small|sub|sup|span|dfn|code|samp|kbd|var|cite|address|ins|del|h1|h2| > > h3|h4|h5|h6|table|thead|tbody|tfoot|tr|th|td|pre|slash|center|object| > > param|embed|script'); > > > > ;followed by > > > > update vars set value=concat(value,' > > script:type,google_ad_client,google_ad_width,google_ad_height,google_a > > d_format,google_cpa_choice,google_ad_channel') where > > name='approvedtags_attr_admin'; > > > > > > You would need the 'script' tag to be allowed, and then an attributes > of 'type' and 'src'. The first insert looks OK for this. The second > you'd need script:type,src... etc. > > Shane > > > > -- > My slashcode stuff: http://slash.lottadot.com/ > Slashcode faq: http://slash.lottadot.com/slash-faq > How to ask a question: http://www.catb.org/~esr/faqs/smart- > questions.html#before > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://sourceforge.net/mailarchive/forum.php?forum=slashcode-general/attachments/20060816/ad1f42d2/attachment.html > > ------------------------------ > > Message: 3 > Date: Thu, 17 Aug 2006 10:06:46 -0400 > From: "Naveen Garg" <nav...@gm...> > Subject: Re: [Slashcode-general] Slashcode-general Digest, Vol 3, > Issue 8 > To: sla...@li... > Message-ID: > <bb7...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > replace into vars (name,value) values > ('approvedtags_attr_admin','a:href_U,name,title > div:id,class,title,style,dir,lang span:id,class,title,style,dir,lang > slash:type_R,id,href_U,story,nickname,uid,user,align,width,height,title > table:align,bgcolor,border,cellpadding,cellspacing,width > tr:align,bgcolor,valign > th:align,bgcolor,colspan,height,rowspan,valign,width > td:align,bgcolor,colspan,height,rowspan,valign,width object:width,height > param:name,value embed:src,type,width,height'); > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://sourceforge.net/mailarchive/forum.php?forum=slashcode-general/attachments/20060817/e8e25089/attachment.html > > ------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > > > End of Slashcode-general Digest, Vol 3, Issue 9 > *********************************************** > |