XHTML compliant Text Ads?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

XHTML compliant Text Ads?

Post by JAB Creations »

First off I need to rant...

First I signed up for Google AdSense...

- 54 kilobyte ****ing sized JavaScript file!

- Directions to insert script elements (that's plural people!) in to the body element!

- Usage of document.write.

- Usage of innerHTML.

- No method to target an element's ID to insert content.

So then I went wandering over to Yahoo and the page...did...not...load!

:banghead: :banghead: :banghead: :banghead: :banghead:

You're kidding me right? People at Google and Yahoo get paid to code this crap? It's CRAP CODE and they get PAID for that? I want to throw chairs right now I'm so angry.

*Regresses back from Hulk form*

So does any one know of any XHTML compliant text ad services?

I'd like to place them on my site for Internet Explorer and Opera because their CSS3 support completely sucks (Opera) and to encourage web standards (XHTML served as application/xhtml+xml for Internet Explorer).

If not would any one like to start an ad service that doesn't blow? :evil:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: XHTML compliant Text Ads?

Post by alex.barylski »

I'm not sure I understand your complaints...

The JS file I don't believe is hosted on your servers but Google's. I have ads on my blog:

http://blog.pcspectra.com

No problems thats I know of. What is this about Yahoo? I searched and my blog still came up???
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: XHTML compliant Text Ads?

Post by panic! »

JAB Creations wrote: - 54 kilobyte ****ing sized JavaScript file!
JavaSctipt libraries are this size or more. 54k is nothing, takes about 0.001 seconds to download on most internet connections.
JAB Creations wrote: - No method to target an element's ID to insert content.
For obvious reasons..
JAB Creations wrote: You're kidding me right? People at Google and Yahoo get paid to code this crap? It's CRAP CODE and they get PAID for that? I want to throw chairs right now I'm so angry.
I can't really think of an other way of doing it than they are to be honest..any better ideas?
JAB Creations wrote: So does any one know of any XHTML compliant text ad services?
Adsense is XHTML compliant, the complaints you used above are javascript issues
JAB Creations wrote: I'd like to place them on my site for Internet Explorer and Opera because their CSS3 support completely sucks (Opera) and to encourage web standards (XHTML served as application/xhtml+xml for Internet Explorer).
CSS3 isn't even a finished standard yet, do you not remember how long CSS2 adoption took even after the standard was ratified..calm down.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: XHTML compliant Text Ads?

Post by panic! »

Image
PolishHurricane
Forum Newbie
Posts: 4
Joined: Wed Oct 01, 2008 6:23 pm

Re: XHTML compliant Text Ads?

Post by PolishHurricane »

I think JAB is referring to the actual frame that gets submitted into your site from that JavaScript.

Image

Note: The JavaScript is counted as invalid XHTML because google doesn't even use a CDATA set, but there are PLENTY of other validity issues. It really depends on the advertisement though. Some aren't too bad. This is actually one of the nicer ones.

And yes the JavaScript file is big, but I'd be more worried about the extra HTTP request it ads to your sites load, you can put their JavaScript on your site if you want and it will still work.

Forget CSS, they can't even put basic proper valid HTML into their pages.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: XHTML compliant Text Ads?

Post by panic! »

adsense is fairly ubiquitous across the web, my browser sheds no tears over the 50k filesize and ONE HTTP request.
PolishHurricane
Forum Newbie
Posts: 4
Joined: Wed Oct 01, 2008 6:23 pm

Re: XHTML compliant Text Ads?

Post by PolishHurricane »

panic! wrote:adsense is fairly ubiquitous across the web, my browser sheds no tears over the 50k filesize and ONE HTTP request.
Actually it's a lot more than just 1 HTTP request.

Out of the box it is 1 for the JavaScript, 1 for the ENTIRE page it loads into the frame that the JavaScript inserts on your page. Then it's more for every image or other component in the advertisement. In the smaller text based ones there is actually 1 or more recently 3+ images. So on average it's about 5 extra HTTP requests AND to top it all off it's an entire different page loading on your site, so your page isn't even truly loaded all the way until Adsense decides to load because it's on 1 or more different servers.

As for the ubiquitous thing, you might as well say "Well, Killing people in 3rd world countries is fairly common across the world. Who cares about it?". Nothing in the area of computing would have developed if people thought like that and didn't complain about things like adsense.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: XHTML compliant Text Ads?

Post by panic! »

PolishHurricane wrote:
panic! wrote: As for the ubiquitous thing, you might as well say "Well, Killing people in 3rd world countries is fairly common across the world. Who cares about it?"..
That is actually an abhorrent argument, if you think 5 HTTP requests is in any way analogous to mass genocide in developing countries (3rd[sic] world is actually an archaic and offensive term) then you might need to get your priorities right. You're clearly worrying about the wrong things.

I put it to you that there are bigger things to worry about in the world than 5 HTTP requests.

Consider the BBC site makes 30 and Digg makes 60+. You need to get with the times, 50k is no longer alot of data..sorry.
PolishHurricane
Forum Newbie
Posts: 4
Joined: Wed Oct 01, 2008 6:23 pm

Re: XHTML compliant Text Ads?

Post by PolishHurricane »

panic! wrote:
PolishHurricane wrote:
panic! wrote: As for the ubiquitous thing, you might as well say "Well, Killing people in 3rd world countries is fairly common across the world. Who cares about it?"..
That is actually an abhorrent argument, if you think 5 HTTP requests is in any way analogous to mass genocide in developing countries (3rd[sic] world is actually an archaic and offensive term) then you might need to get your priorities right. You're clearly worrying about the wrong things.

I put it to you that there are bigger things to worry about in the world than 5 HTTP requests.

Consider the BBC site makes 30 and Digg makes 60+. You need to get with the times, 50k is no longer alot of data..sorry.
First of all, I'm not comparing 5 HTTP requests to any mass genocide. I'm comparing your attitude towards change on the internet towards any change. So what if it was a poor example. Also the file size of the JavaScript was never my argument. If you want to have a site with a ton of HTTP requests it's up to you. I'm not trying to be an ass, but you were extremely wrong about the XHTML compliance of google ads and the amount of HTTP requests they have.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: XHTML compliant Text Ads?

Post by JAB Creations »

Five requests? Before I went back to the basics with MySQL and started messing with AJAX I was eyeing how to extract files from a zip file with PHP. I was interested in an installer for a script I was writing...you upload two files total, installer and the zip file. When was the last time you've uploaded half a megabyte file? When was the last time you uploaded several dozen files that added up to half a megabyte? It should be very clear which is faster.

Five requests seems steep for AdSense. All it has to do is load, and then send a request to Google for types of ads that match the content of the site...so I don't see the need for more then two requests.

Since AdSense doesn't play nice with XHTML I decided to do what came naturally, serve AdSense only for non-XHTML browsers. Feel free to test Internet Explorer 8 and Opera 5. :twisted:
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: XHTML compliant Text Ads?

Post by josh »

Until it effects anyone I don't see it being a problem, I mean I wouldn't let my business rely on one specific vendor anyways
Post Reply