Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.

RSS Ads in Movable Type

Freshness Warning
This blog post is over 21 years old. It's possible that the information you read below isn't current and the links no longer work.

I’ve added a short ad for my consulting services to the RSS feed for Simplelinks. The problem with putting persistant content in RSS is that many news aggregators only show an item once unless it changes.

So your persistant item has to change regularly, but not too regularly. If the same item appears in the feed every day, people may get irritated and stop reading your feed. If the item only changes once a month, then the ad won’t have much impact.

I settled on changing the ad weekly. Then I had to figure out how to have content automatically changes once a week. My plan was to have link element use a query string that would be unique each week. Using the year and the week number for the current date would work fine.

MT’s date formatting commands will let me insert the day number (the tag <$MTDate format="%j"$> inserts 087), but not the week number. I considered writing a plugin to add a week number format command to MT (and I still might), but for a quick and dirty way of doing things I turned to the Regex plugin to convert the day number into a week number.

Here’s what ended up in my template, right after the final </MTEntries> tag.

<MTAddRegex name="weeknum">          s|(\d+)|int($1/7 + .9999)|e</MTAddRegex>    <item>        <title>Kalsey Consulting Group :: Web Sites With         Business Sense</title>        <description>Simplelinks is a product of Kalsey Consulting         Group. We build Web sites that solve real business problems.         To find out how we can help your business, ask for a         free quote at <a         href="<MTDate  format="%Y">-        <MTDate format="%j" regex="weeknum">      "></a></description>        <link><MTDate format="%Y">-        <MTDate format="%j" regex="weeknum"></link>    </item>

Business Intelligence Software
September 12, 2003 5:47 AM

Thanks for the Inputs on RSS, it makes lot more business sense to me now.

December 19, 2003 11:14 AM

RSSAds - is an ad network that makes it easy to sell advertising in RSS.

Kevin Donahue
August 9, 2004 12:39 AM

Adam - I know I"m a couple years late to the game, but how 'bout a full view of the code being used, that way we can see exactly how/where the insert goes in the template.

This discussion has been closed.

Recently Written

Great prodct managers own the outcomes (May 14)
Being a product manager means never having to say, "that's not my job."
Too Big To Fail (Apr 9)
When a company piles resources on a new product idea, it doesn't have room to fail. That keeps it from succeeding.
Go small (Apr 4)
The strengths of a large organization are the opposite of what makes innovation work. Starting something new requires that you start with a small team.
Start with a Belief (Apr 1)
You can't use data to build products unless you start with a hypothesis.
Mastery doesn’t come from perfect planning (Dec 21)
In a ceramics class, one group focused on a single perfect dish, while another made many with no quality focus. The result? A lesson in the value of practice over perfection.
The Dark Side of Input Metrics (Nov 27)
Using input metrics in the wrong way can cause unexpected behaviors, stifled creativity, and micromanagement.
Reframe How You Think About Users of your Internal Platform (Nov 13)
Changing from "Customers" to "Partners" will give you a better perspective on internal product development.
Measuring Feature success (Oct 17)
You're building features to solve problems. If you don't know what success looks like, how did you decide on that feature at all?


What I'm Reading


Adam Kalsey

+1 916 600 2497


Public Key

© 1999-2024 Adam Kalsey.