How To Automate Bold Text Exclusion In ContentLink

ADVERTISEMENTS

Kontera’s ContentLink is an in-text advertising program that displays double underlined contextually relevant keywords on a web page that upon mouse-over opens a small bubble like box that displays and links to an ad from one of Kontera’s advertisers.

One problem that Kontera’s publishers commonly face is that sometimes ContentLink link to bold and heading text which can be annoying at times.

To prevent this you can restrict ContentLink ads on certain areas of a page by using the following Span filter tags

Text you don't want ContentLink ads to appear on

This may not however be easy if you have a lot of posts, in that case you can automatically exclude bolded text from ContentLink by adding the following line of code into your ContentLink JavaScript block:

var dc_isBoldActive= ‘no’ ;

This solution should make ContentLink exclude any text wrapped in the following tags: , ,

,

,

.

I have tried this out, and it works well for me. Having ContentLink ads on headings was a headache for me until I came across this solution.

found via JohnChow.com

banner

Search JohnTP.com or view a random post

To receive this blogs articles for FREE on your email inbox, just enter your email address below and click 'Go':

Enter your email address: or .

Find out what I am doing currently by .

24 responses so far, Leave a comment

  1. 1

    Israeli Speculator

    May 27, 2007 at 1:01 am

    Wow.. your blog is like John Chow’s in delay.. interesting

  2. 2

    Israeli Speculator

    May 27, 2007 at 1:03 am

    I meant that in a good way by the way :)

  3. 3

    Grace

    May 27, 2007 at 12:01 pm

    That is a great way. But what if the “var dc_isBoldActive= ‘no’ ;” is added, but I want to put a Kontera content link there?

  4. 4

    Israeli Speculator

    May 27, 2007 at 12:51 pm

    Grace, your site is not compatible with FireFox. Just to let you know

  5. 5

    Nirmal

    May 27, 2007 at 7:49 pm

    John,
    I have not seen this bold heading text in Kontera. Anyway nice tip.

  6. 6

    Grace

    May 27, 2007 at 10:38 pm

    Israeli Speculator- You use FireFox 1? It is compatible with FireFox 2.

  7. 7

    Jauhari

    May 28, 2007 at 12:47 pm

    Yes, it’s useful.
    But I don’t used ContentLink again for some reason :)

  8. 8

    Vijay

    May 28, 2007 at 1:52 pm

    I am staying off Kontera for now. I guess my blog ain’t old enough for too many monetizations. Though I was approved by Kontera sometime ago.

    Nice piece of info btw.

  9. 9

    kuanhoong

    May 28, 2007 at 3:43 pm

    Hi John,

    I do agree with Nirmal. I too have not seen this bold heading text in Kontera.

    Anyway, Thanks for the nice info

  10. 10

    horisly

    May 28, 2007 at 7:50 pm

    thanks for sharing your experiences.

  11. 11

    Grace

    May 28, 2007 at 8:51 pm

    kuanhoong- That’s not what he means; sometimes you have Kontera ads on your bold or headings, so to prevent that, you put the code.

  12. 12

    2 BROS BLOGGING

    May 28, 2007 at 10:46 pm

    Does this code work with Firefox? I’ve read posts that it doesn’t.

  13. 13

    Israeli Speculator

    May 28, 2007 at 11:19 pm

    Yeah it works with firefox. I used to use it.

  14. 14

    Collect Airmiles Faster

    May 29, 2007 at 12:22 am

    John, I’ve been trying to limit the kontera ads based on a category that I post in. Any thoughts on how to do this? I was using the wordpress in_category() function but i’ve been having problems getting it working correctly….

  15. 15

    Ronald

    May 29, 2007 at 12:51 am

    Thank’s John, but content link seems make overweight loading time

  16. 16

    Web 2.0

    May 30, 2007 at 1:09 am

    Thanks for sharing this nice tip

  17. 17

    Clara

    May 30, 2007 at 2:05 pm

    I appreciate this handy tip (though I find content links pretty annoying).

  18. 18

    Marketing & Monetize Blog

    May 31, 2007 at 7:31 pm

    Thanks for tips John, actually you helped me a lot because Kontera added links on several places in my blog which I didn’t want.

    Thanks again

  19. 19

    Kyle Eslick

    June 1, 2007 at 6:12 pm

    Now that I’ve started using Kontera, I find this is extremely useful.

    Its nice not having ads show up in the header/footer/sidebar anymore!

  20. 20

    Blogging with Desi Baba

    June 3, 2007 at 5:57 am

    I think Kontera’s way of showing ads is smart but lowers the user experience, and that’s why I took it off.

  21. 21

    latest technology news

    June 3, 2007 at 11:08 pm

    great tip John it will help us …however it never occured with me ..

  22. 22

    mr.bambang

    June 4, 2007 at 1:14 pm

    I use AdBrite for inline text ad :D

  23. 23

    Blogging with Desi Baba

    June 6, 2007 at 12:03 pm

    I tried it but it didn’t work out for me and also it makes the user experience bad; therefore, I just dumped the entire advertisement program.

  24. 24

    Greg Ashbaugh

    June 13, 2007 at 8:22 am

    If anyone is interested, here is a write up I did about Kontera and how you can take control of ContentLinks.

    Have something to say?




    Copyright ©2005-2008 JohnTP, All rights reserved.