Selective Ads Plugin

"Benj. Mako Hill" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Greetings!

I've created a very simple plugin designed to include advertisement
text onto a page if, and only if the page request is referred from a
search engine. Basically, I want to show advertisements to those who
have found my blog by searching but not to my core readership and this
plugin does exactly that.

In reality, the machinery is more general. The plugin displays an
arbitrary string on your blog if the referrer of the requests matches
any of a set of patterns or regular expressions.

It's quick and simple but it solved my problem. Maybe it will solve
yours too.

You can grab the plugin on the page I've put for up for hosting my
PyBlosxom work (since I've been doing a bit of it lately):
  http://mako.cc/projects/pyblosxom/

You can read about it on the blog entry I just wrote about it:
  http://mako.cc/copyrighteous/freesoftware/20061024-00

Will, can you add it to the registry? Suitable text should be on the
page in question.

Later,
Mako



-- 
Benjamin Mako Hill
[email protected]
http://mako.cc/

Creativity can be a social contribution, but only in so
far as society is free to use the results. --RMS

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.