Heal Your Church WebSite


Teaching, rebuking, correcting & training in righteous web design.

Automated Posting of Deferred MovableType Entries

SYNOPSIS
Trickle [-b blog_id] [-c category] [-p]

DESCRIPTION

Trickle allows automated posting of deferred Movable Type entries. To use, create a category called ‘Deferred’, place entries in ‘Draft’ status, add them to the ‘Deferred’ category, and set the created date to the date when the item should be posted.

Trickle can be used with cron or some other task scheduling mechanism.

In case you missed it in the above definition, Trickle is a nice little piece of Perl designed for those of us who have yet to upgrade to MovableType 3.x who want and/or need to defer posts.

For example, while I write my posts late at night, I prefer they were posted somewhere between 9:30 and 11AM EST. I also prefer to stay employed – Trickle gets this done for me. I write my post (late at night) and then:

  • save it as a draft
  • give it a date/time stamp in the future
  • assign the secondary category ‘Deferred’ to the post
  • wait for perl and crontab to do the rest.

So What?!

How does this relate to your church website? How about your sermons page? If your pastor is like mine, he’ll email you the sermon on Saturday night with a request not to post it until the sermon has been preached.

I can now defer posts to 1PM so individuals arriving home after a lunch at Ledo’s can enjoy a second serving of some tasty theology.

This code is also a good example of how to employ the MovableType API to write custom applications that work outside the definition of a plug-in.

Show your love

What about you? Does your publishing/blog tool provide a mechanism for deferred posts? If so, leave a comment. Can you think of another situation in which this might be useful? If so, leave a comment. Got a question … you get the picture.

Oh by the way, it is now 11:55 PM on August 25, 2004 … even though the timestamp of this post might say otherwise … thanks good’ol crontab:

0 9 * * * perl /home/useraccount/www/cgi-bin/mt/trickle.pl>/dev/null

11 Comments

  1. Does anyone know if WordPress can do this?

  2. At Lakeshore, we use MT-Trickle for a similar things, but we also use the DateTags and MT-Rebuild plug-ins to automatically update the front page to reflect next Sunday’s message every Monday morning.

  3. Both pMachine and ExpressionEngine just have an editable posting date and time on each entry. If you don’t want it immediately posted to the site, you just enter in the date and time when you do.

    I thin kthe “always pulling from the database” approach of pMachine makes this an easy feature for them to implement (trying not to open the “dyamic vs. cached” can o’ worms here…;)

  4. Yeah I’m with Don, anyone know if there’s something like this for WordPress?

    Actually I might look into it, see if I can find something. I’ll post back if I find something useful.

  5. I used the mambo cms to make http://www.imagemagazine.co.uk which allows you to publish and unpublish items at will. You can set publication start dates as well as expiry dates which means i can have an article appear for as little or as long as I like and more or less forget about it

  6. Okay so I haven’t yet found anything for doing this particular job but I did find for WordPress users a very useful site, http://wiki.wordpress.org/ which will probably have all you want to know about WordPress. Lots of good plugins and hacks there (including Scripturizer)… but not one for posting later! I’m sure there’s SOMEONE who’s talked about it.

  7. ahhhh yes. Well IF I had paid any attention to the WordPress posting screen, I would have noticed the “Edit Timestamp” area… so when you post, just change the timestamp to your preferred time and WHOLA! It works. So you don’t need any plugins or hacks. Nice :)

    I’m glad I worked on finding an answer. Now I have a bunch of cool new links!

  8. Pingback: Waileia

  9. Pingback: Waileia

  10. The Exordium Networks Inc agent program is a way for YOU to earn commissions from selling Exordium Hosted Voice over IP Phone Service.

    OUR BASIC PLAN:
    $200.00/Month – Includes
    5 Extensions, 5 Voice Mail Boxes, Voicemail to Email, Unlimited extension based calling. Plan also includes 1 IVR, 1 DID and 1 Fax. Up to 5000 Long Distance minutes per month.

    WHAT YOU EARN:

    Sell this above account on a minimum 1 year commitment and earn $30.00 / month per account for the life of the account.
    Sell this above account on a minimum 2 year commitment and earn $40.00 / month per account for the life of the account.
    Sell this above account on a minimum 3 year commitment and earn $50.00 / month per account for the life of the account.
    Each account is 5 extensions with 5 VM Boxes)

    RAMP UP PERIOD:
    You will be given a 3 month ramp up period to reach selling 50 accounts / month. The more you sell the more you earn for the life of the account.

    Send an email with your resume to “resellers@exordiumhosted.com”

    Must be self driven and money motivated.

    Call and ask for Ali : 1-972-573-1180 ext 251

  11. Hi everybody,

    My name is Tina, I am 41 yrs old, living in Austin, TX.

    I’d love to make good close friends here.

    Thanks,
    Tina.