1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Idea for the Coop Ads

Discussion in 'Co-op Advertising Network' started by ResearchTechs, Dec 22, 2004.

  1. #1
    I've noticed many ads that appear in all lower case. Could someone provide a hack or maybe Shawn could even hard code it into the php so that the first letter of each word in an ad is raised to Unicode upper case? They just look like advertisements rather than nice links when some are in lower case and some have each first letter in upper case. It would also be interesting to have english translations for the foreign anchors that are presented on english sites. Most of those links seem to show up in very odd characters very unlikely to provide good anchor text for Google anyway.
     
    ResearchTechs, Dec 22, 2004 IP
  2. stephaneggy

    stephaneggy Well-Known Member

    Messages:
    275
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #2
    There are simple php snipplets mfor, like:
    $str = strtolower($str);
    or uppercase ;)
     
    stephaneggy, Dec 22, 2004 IP
  3. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Of course if it is a hack, how will Shawn show his ads for eBay :)
     
    yfs1, Dec 23, 2004 IP
  4. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Something like this could work:

    function formatAd($adText) {
    if (ctype_lower($adText)) foreach (explode(' ', $adText) as $ad) $adText .= ucfirst($ad) . ' ';

    return trim($adText);
    }

    It wouldn't work on strings containing numbers tho... But should allow for text ads like: eBay
     
    xml, Dec 23, 2004 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I doubt you are allowed to hack the PHP code. That next step would be people trimming the length etc. rendering the whole idea of choosing your own anchor text useless.

    Just use the CSS style definition to make it Titel Case. This question has been asked before BTW.

    And by the way, the new mandatory guidelines make you format them so all lower case or all-caps ads will soon be a thing of the past anyway.
     
    T0PS3O, Dec 23, 2004 IP
  6. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm, my code suggestion was directed to the owner of the network. They could run the ad text through a function like that before outputting the links out to sites in the network.
     
    xml, Dec 23, 2004 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    New ads going into the system cannot be all lower case, so going forward it's disallowed.
     
    digitalpoint, Dec 23, 2004 IP