Not a developer? Go to MovableType.com

Plugin and Theme Directory

Expired Entries v1.0.10

By Byrne Reese
Posted April 26, 2012, in Entry & Page.

Details

Overview

The Expired Entries plugin for Movable Type and Melody allows authors to select a date in the future at which an entry will be automatically unpublished and the site rebuilt.

Why unpublish something?

For a blog, unpublishing is sacriledge, but not everyone uses Movable Type to power a blog. Some people administer store fronts powered by Movable Type in which items are seasonal, or for which a vendor is only allowed to sell an item for certain period of time. Some people may want to orchestrate by automating the deployment of new web site content - in which they used scheduled posts and post expiration to remove outdated copy and publish new copy all at once. The truth is there are tons of reasons you might want automatically remove something from a web site.

Prerequisities

  • Your site must be running the tools/run-periodic-tasks script as a cronjob or in daemon mode.

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Usage

Once the plugin is installed a new option will appear on the Edit Entry screen under each entry and page's publish date field. Select a date, save the entry and done.

At the appointed time the entry's status will be changed to "Unpublished (Expired)," the entry will be removed from the web site and the necessary pages in your web site rebuilt to remove all trace of the entry or page.

Config Directives

  • ExpireEntryFrequency - The amount of time in minutes to wait before checking, expiring and unpublishing entries. The default is 1 (expressed in minutes).

Compatibility

Movable Type versions: 4.3


Back

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese