mephisto plugin: linklift

Linklift is like text-link-ads a marketplace to sell links on your website/blog. Put aside that Google doesn’t like it, just like China doesn’t like monks, it’s a nice extra-income from my small blogs and much better than AdSense.

A plugin for text-link-ads has been around for some time, but is not for multi-site installations of mephisto. There are a few posts on nano rails about getting tla into rails but found them a bit too late.

My linklift-plugin works perfect with mephisto and there are also helpers to use it in any erb-file thus any rails-application. It caches the xml-file from link-lift locally but to speed up processes when a link was sold you might want to delete the cached xml file and clear all caches of you blog.

To display the ads you put these lines into your layout.liquid:
1
2
3
4
5
<ul>
{% linklift website_key: your-key, plugin_secret: your-secret as link %}
  <li><a href="{{ link.url }}"{% if link.nofollow %} rel="nofollow"{% endif %}>{{link.text}}</a></li>
{% endlinklift %}
</ul>

Project website at rubyforge: http://rubyforge.org/projects/linklift-plugin/

Many thanks to Rayo at linklift who answered my questions quickly and was also so kind to fill my empty pockets :-)

1 Response to “mephisto plugin: linklift”

  1. Pablo Says:

    Hi!, I see you’ve a good understanding of Linklift so I’ll ask you something.

    What is website_key ? Why should I download an XML ? I’m confused because I’ve PHP integration in my websites,..so….

    I know there is a XML file but it’s generated by the PHP script and I’m NOT speaking about that XML before.

    Could you explain me ? thank you in advance!!! // Pablo

Leave a Reply