Jsp version

Discussion in 'Co-op Advertising Network' started by Patient, Feb 17, 2005.

  1. #1
    Hi All

    Hopefully somebody can help me.

    We have created a jsp version of the coop that I am trying to get fully functional and validated.

    I am not using a txt file but instead am storing ads in server memory (our techies are insistent this is the best way to do it given our server loading).

    Is this going to stop it from validating?

    Other than delivering the ad into my pages completely unmodified are there any other requirements that I need to support for validation to be succesful.

    If I can get this working I will be bringing >100 PR5 websites into the network and would appreciate any help/advice I can get.
     
    Patient, Feb 17, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    I think someone already made a JSP version that does that.
     
    digitalpoint, Feb 17, 2005 IP
  3. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #3
    My guys are hyper-sensitive to about controlling/understanding everything that goes on our servers. I supplied them with the jsp version I found here but they have rewritten it in their own style.

    I have just reviewed what they had done and (probably my failure to explain the requirements properly) they have added a class="" command within the advert link for styling and in effect "modified" the advert - I imagine this would stop it from validating.

    I guess your saying that there is nothing about caching instead of using a txt file that will stop it from validating so we will keep working until we get it to validate.
     
    Patient, Feb 17, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    class="" will stop it from validating, but memory resident cache does not keep it from validating. Although you need to make sure it does not loose the ads on a reboot or power failure.
     
    digitalpoint, Feb 17, 2005 IP
  5. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #5
    Thanks Shawn

    Something is stopping it from validating (and the system doesn't say which page so its a serious non-validation) - I've also noticed that if I refresh my pages a few times the ad isn't always visible on the page (it is always in the code) possibly due to some poorly formatted styling.

    I don't thing we have ever lost power as we have a good ups set-up but I will ask about how we can deal with this possibility.

    <edit>This is the first site I have introduced since theming came in - do I need to configure anything extra before it will validate or is theming just for outbound ads?</edit>

    <edit2>They have also added target="_blank"</edit>
     
    Patient, Feb 17, 2005 IP
  6. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #6
    We've updated the code and now believe that the ads are displaying properly on our pages.

    I am still getting a validation failure that is not page specific so I guess we are still doing something wrong.

    Is there anything that happens during validation that we need to support over and above simply displaying the ads.
     
    Patient, Feb 18, 2005 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    It would need to work *exactly* as the ad_network.php file... beyond that I'm not able to help much (I don't know JSP).
     
    digitalpoint, Feb 18, 2005 IP
  8. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #8
    Hi Shawn

    Are you able to see any problems from your end? Please feel free to login to my account and try to validate if this will help - I presume you can access my account from the url I pm'd
     
    Patient, Feb 18, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    It's not an issue on this end... everyone's site validates okay with the normal PHP file.
     
    digitalpoint, Feb 18, 2005 IP
  10. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #10
    Finally got to the point where I think this is working but have hit another obstacle. We can no longer connect to obtain ads.

    Shawn - is it possible you have blocked our IP address during our process of test/fail/change/test etc.

    IP address is: 83.217.99.170

    Regards
     
    Patient, Feb 24, 2005 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    The server will automatically block the IP address if it does not properly cache ads. I've unblocked it, but it could happen again if it's not working properly.
     
    digitalpoint, Feb 24, 2005 IP
  12. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #12
    Thanks Shawn.

    It has now automatically validated so all should be OK with our implementation from the validation perspective.

    At present we are storing ads in memory but will be changing this today as I now understand from our team that the servers are rebooted daily resulting in the memory being emptied of ads.

    I am still worried that our implementation is not exact as we have a farm of four servers that each independantly need to hold ads and this presumably will mean we are hitting your servers too quickly and too often. We will be working over the next few days on a new solution that will obey the php version more exactly.

    In the meantime we will have just one website in the network until our implementation is ready to deploy on more of our sites.
     
    Patient, Feb 24, 2005 IP