Microsoft Content Management Server - Script in Posting

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2004 > Script in Posting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Script in Posting
news.microsoft.com

2004-02-27, 6:35 pm

I need to allow my content authors to put javascript into postings. The
example I was given as a requirement was for DoubleClick, like this:

<!-- Start of DoubleClick Spotlight Tag: Please do not remove-->
<!-- Activity Name for this tag is:Homepage -->
<!-- Web site URL where tag should be placed:
http://www.txuenergy.com/energyserv...nglish/home.asp -->
<!-- Creation Date:3/18/2003 -->
<SCRIPT language="JavaScript">
var axel = Math.random()+"";
var a = axel * 10000000000000;
document.write('<IMG
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
4;ord=1;num='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0>');
</SCRIPT>
<NOSCRIPT>
<IMG
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
4;ord=1;num=1?" WIDTH=1 HEIGHT=1 BORDER=0>
</NOSCRIPT>
<!-- End of DoubleClick Spotlight Tag: Please do not remove-->

Any ideas how to do this?

My first thought is to create a custom page property where the author could
add the script, but my understanding is there is a small size limit on the
value of a customer property.

Thanks,

Todd


news.microsoft.com

2004-02-27, 6:36 pm

I found the answer myself in a previous posting...
http://www.gotdotnet.com/Community/...e3-5009a962acea

Thanks Stephan
"news.microsoft.com" <toddallen@cobbsystems.com> wrote in message
news:u5LQFRY$DHA.1464@tk2msftngp13.phx.gbl...
> I need to allow my content authors to put javascript into postings. The
> example I was given as a requirement was for DoubleClick, like this:
>
> <!-- Start of DoubleClick Spotlight Tag: Please do not remove-->
> <!-- Activity Name for this tag is:Homepage -->
> <!-- Web site URL where tag should be placed:
> http://www.txuenergy.com/energyserv...nglish/home.asp -->
> <!-- Creation Date:3/18/2003 -->
> <SCRIPT language="JavaScript">
> var axel = Math.random()+"";
> var a = axel * 10000000000000;
> document.write('<IMG
>

SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
> 4;ord=1;num='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0>');
> </SCRIPT>
> <NOSCRIPT>
> <IMG
>

SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
> 4;ord=1;num=1?" WIDTH=1 HEIGHT=1 BORDER=0>
> </NOSCRIPT>
> <!-- End of DoubleClick Spotlight Tag: Please do not remove-->
>
> Any ideas how to do this?
>
> My first thought is to create a custom page property where the author

could
> add the script, but my understanding is there is a small size limit on the
> value of a customer property.
>
> Thanks,
>
> Todd
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com