Wednesday, March 19, 2008

the one with BlogBank's Blogspot problem

The following post is a copy of the comment that I tried to post on the article "Ad codes on Blogspot Blogs" on BlogBank's official blog. This post is also the one that I emailed to them to which Mr. Markku Seguerra replied to.



Comment/Email:


The problem that I see with this is blogspot refactoring the code for your ads and that refactored code does not work.

Sample original code:


Sample code that has been refactored by blogspot:



I refactored the code myself so that the code would still work even if blogspot refactor it.

Sample code that I have refactored:


Sample code that has been refactored by blogspot:



The ads are now working on my blog. I'm just wondering if what I did, refactoring the code, is permitted and, like marhgil's question, do you guys still properly track the ads, even if I refactored it?



Mr. Markku Seguerra's reply:

" Hi Maruel, thanks for trying to find a solution for this. I will be checking if tracking still works as intended and will get back to you right away. =) "



I think this problem also has a connection on whether you are using layouts or templates. I'm using layouts and I had the same problem like everybody else while marhgil uses templates and he does not have a problem and just copy-paste the code.

So, that's what I did. I just don't know if its ok to them that I refactored their code. I'm temporarily assuming that it's ok because of the smiley =) at the end their reply, hehe! :D Lets just wait for their next post about this issue. I hope they are still properly tracking the ads I placed.

10 comments:

Pinoy Sports Blogger said...

Sana maayos na to..sayang yung mga impressions..hehe

Maruel said...

@pinoy sports blogger...

Mukhang ok naman daw yung impressions ayon sa sagot nila dun sa comment ko.

Make Money w/ Gusher said...

hi, i'm also planning to register as one of the publisher ng blog bank kaso down p ung sign up page nila, btw, pede po ba taung mag.xlinks? thanks po. :)

Webster Twelb said...

blogbank??

Blue Licorice said...

Maybe a reason you should switch to wordpress, huh?

EntrepreNars said...

bro, how did you edit ung code?aling part dun ung papalitan?pasensya na bro..la ako alam sa mga coding e..hehe..Thanks in advance...

Maruel said...

@Make Money w/ Gusher...
Sa ngayon po eh hindi po muna ako nakikipagexchange ng links kasi ang PR ko po ngayon ay 0 so wala rin po kayo mapapala kung PR ang habol niyo at saka itatry ko po muna iorganize yung links sa sidebar ko.

Maruel said...

@Webster Twelb...
Just visit their site to know what BlogBank is all about. Sorry if I don't have any post about what BlogBank really is.

Maruel said...

@Blue Licorice...
Yeah, I'll switch to a self-hosted wordpress when the time comes, hehe! :)

Maruel said...

@EntrepreNars...

Sorry kung hindi ko naexplain yung code dun sa post ko in detail. Medyo mahirap kasi in detail eh, hehe! :)

Based dun sa sample ko sa itaas, nilagay ko na directly yung value ng p, s, at b at inilabas ito sa function kaya mapapansin mo na mas maikli yung "Sample code that I have refactored".

Sorry uli kung hindi ko maexplain in layman's term, hehe! Kung hindi mo nagets, ang gawin mo nalang eh icopy yung "Sample code that I have refactored" tapos substitute mo dun yun values ng p, s, at b na galing sa code mo.