bioneural.net site preferences

Accessibility

Toggle width/ text size:

style

Default/Alternate

Suits visual impairment, mobile devices

Styling

Change the theme:

layout

NB: may reduce functionality

Link behaviour

Links with an icon are off-site:

links

Right-click any link to optionally open in a new window or tab


Ads in your iBlog RSS feed

Google are currently beta-testing intergration of AdSense adverts with various blogging systems. A few of the feeds I subscribe to in NetNewsWire now carry ads (e.g. Engadget). Since I already use AdSense and it makes a (tiny) amount of $US, I applied to be a beta tester out of curiosity but was turned down. However, I decided to try and make it work anyway using iBlog...

This article refers to iBlog (version 1.x), a Mac blogging client that was formerly used to publish this site. It may refer to design elements and other features that have since been replaced.

Google AdSense

FeedPage.txt is the file that iBlog uses as a template to generate your RSS feed. It's just a text file so easy to edit. I simply copied the AdSense code I use in iBlog's Navigation Editor and pasted it into the file after the <$EntryAbstractOrBody$> placeholder tag.

It didn't work. I'm guessing because the AdSense code is a JavaScript and/ or contains multiple line breaks.

Amazon Associates

I also have an Amazon Associates account. With a small amount of editing you can make the iframe code generated by the link builder into valid XHTML. When you're done just paste the code into FeedPage.txt after the <$EntryAbstractOrBody$> tag; you might want to add a break before and after the iframe for cosmetic reasons.

Each iBlog entry in the feed displays a different ad. In NetNewsWire the ads appear at the bottom of the abstract (it works in Safari RSS too):

adsinfeed

0 responses to Ads in your iBlog RSS feed


  1. No comments

Something to say?

Comments may be moderated (e.g. no commercial promotion), are subject to spam filtering, and should be relevant to this post—otherwise make contact.

Usable tags include <a href=""> <blockquote> <em>. Select any text and click to quote.