.NET Adrotator

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malcolmd3111
    New Member
    • Sep 2007
    • 1

    .NET Adrotator

    Hi,

    I am using MS Adrotator to show random adverts on my site. It simply reads an XML file with a standard template as shown below. (This works correctly as expected)

    <Ad>
    <ImageUrl>~/images/ads/ad_Amazon_Gener ic.gif</ImageUrl>
    <NavigateUrl>ht tp://www.amazon.com</NavigateUrl>
    <AlternateText> Shopping at Amazon.com</AlternateText>
    <Impressions>20 </Impressions>
    </Ad>

    you supposedly insert the image url and the reference url as required.

    Unfortunately, as an affiliate of certain companies I am supplied the html and, I cannot get the xml to parse the following code correctly. (the web site crashes)

    http://click.linksyner gy.com/fs-bin/click?id=swflsu G*zbY&offerid=1 23456700005&typ e=4&subid=0

    for the Navigate url <NavigateUrl> <NavigateUrl>

    [actual numbers were modified for security reason, but the structure remains the same] I tried delimiting the string literal with quotes " " to no avail. This example is typical of many of the html suppeld code I have.

    I've spent a lot of time trying to figure this out but I am at a loss, can anyone help with this?

    many thanks,

    malcolm
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    I do not undertstand what you are trying to do. Can you explain it a bit?

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      If the companies are supplying a blank NavigateURL node, <NavigateUrl> <NavigateUrl> how is anyone to link to the site? It doesn't make sense. Tell your affiliates that they are not sending the link correctly.

      Comment

      • Shashi Sadasivan
        Recognized Expert Top Contributor
        • Aug 2007
        • 1435

        #4
        Hi,
        I am not sure if your problem has been resolved.
        The problem seems due to the fact that you have special characters in your string. like &)

        Have a look at this site , hope it helps you

        Cheers

        Comment

        Working...