thought
[ikiwiki] / doc / todo / tagging_with_a_publication_date.mdwn
1 Feature idea: I'd like to be able to tag pages in an ikiwiki blog with a
2 publication date, and have the option of building a blog that excludes
3 publication dates in the future.  (meta pubdate= ?)
4
5 I'm using ikiwiki on git for a "tip of the day" RSS feed, and I'd like to
6 be able to queue up a bunch of items instead of literally putting in one
7 tip per day.  In the future I think this will come in handy for other
8 Mainstream Media-oriented requirements such as "embargo dates" and "editor
9 on vacation".
10
11 > The problem with implementing a feature like this is that, since ikwiiki
12 > is a wiki compiler, if something causes content to change based on the
13 > date, then the wiki needs to be rebuilt periodically. So you'd need a
14 > cron job or something.
15 >
16 > Thinking about this some more, if you're going to have a cron job, you
17 > could just set up a branch containing the future post. The branch could
18 > have a name like 20080911. Then have the cron job git merge the day's
19 > branch, if any, into master each day. And voila, post is completly hidden
20 > until published. You'd want to avoid merge conflicts in your cron job ..
21 > but they'd be unlikely if you limited yourself to just adding new
22 > pages. Alternatively, for larger organisations wishing to deploy more
23 > sweeping changes on a given date, replace cron job with intern.. ;-)
24 > --[[Joey]]