Placing the Google Adsense script within a blog post

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
2tails

Placing the Google Adsense script within a blog post

Post by 2tails »

I have yet to do this right. Is it possible with Serendipity? Or is it just me?
I create my post and then place the code using the format <> but it just won't work for me. Nothing shows up.

Also, I've found that I have issues getting a script in some of my custom head nuggets.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Placing the Google Adsense script within a blog post

Post by garvinhicking »

If you are using the WYSIWYG editor, disable it. You can only input HTML code manully when in Non-WYSIWYG mode, or you have clicked on the "<>" icon of the WYSIWYG button control area.

About your scripts in head nuggets: Make sure you have no linebreaks in your scripts. They are transformed to <br />s if you have the NL2BR event plugin activated.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
2tails

Post by 2tails »

thank you so much! :)
Post Reply