Modify Google cse (Custom search engine) code

Discussion in 'Google' started by ahelpinghand, Apr 15, 2008.

  1. #1
    Is it against Google TOS to modify the code of cse (Custom search engine) ?
    I just want to remove the slashes, example:

    from <input type="hidden" name="cof" value="FORID:11" />

    to <input type="hidden" name="cof" value="FORID:11" >

    to make my pages validate, because My pages use HTML 4.01 Transitional and not XHTML, thats why I get warnings when trying to validate using W3C.

    I've already emailed Google (AdSense because I don't know how to contact the cse support) but only got the auto reply which didn't help :(

    I'm worried because I'm using Google custom search engine with my AdSense account and I don't want to get banned!
     
    ahelpinghand, Apr 15, 2008 IP
  2. ahelpinghand

    ahelpinghand Guest

    Best Answers:
    0
    #2
    Maybe no one can answer this but Google?
     
    ahelpinghand, Apr 16, 2008 IP
  3. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #3
    "to make my pages validate, because My pages use HTML 4.01 Transitional and not XHTML, thats why I get warnings when trying to validate using W3C."

    Why are you worrying about W3C validation?

    Try validating Google.com, it will show you at least 40 errors :)
     
    angilina, Apr 16, 2008 IP
  4. ahelpinghand

    ahelpinghand Guest

    Best Answers:
    0
    #4
    Google generated 89 Errors to be precise :) maybe that's why they don't care about validation, but for me, I love my pages to be valid, validation is the fastest way to tell you if you have something wrong in your html, css or even rss code. If you have something wrong, your site doesn't look the same at firexfox and ie, the first thing to do is to validate it. This really helped me a lot with time.
     
    ahelpinghand, Apr 16, 2008 IP
  5. BigBadWolf

    BigBadWolf Well-Known Member

    Messages:
    1,727
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    140
    #5
    I want to edit my code also

    I want to replace the search button with my own, let me know if you get any response from them
     
    BigBadWolf, Apr 16, 2008 IP
  6. ahelpinghand

    ahelpinghand Guest

    Best Answers:
    0
    #6
    I will tell you if they reply, there is no answer until now. I have sent to AdSense support, does any one know how to contact custom search support?
     
    ahelpinghand, Apr 16, 2008 IP
  7. ahelpinghand

    ahelpinghand Guest

    Best Answers:
    0
    #7
    Here is Google's reply:

    Thanks for your email. Please note that our ad code is designed to comply
    with XHTML standards. We don't recommend simply removing the slash from
    the end of the HTML tags as this modification will change the meaning of
    the code.

    So in other words, either you change all your pages to XHTML or live with the warnings you get when trying to validate :(
     
    ahelpinghand, Apr 18, 2008 IP