root/trunk/OnThisDay/README.txt

Revision 278, 1.9 kB (checked in by bchoate, 2 years ago)

Initial checkin of the OnThisDay? plugin; updated for MT 4.0.

  • Property svn:keywords set to Id Revision
Line 
1OnThisDay
2A Plugin for Movable Type
3
4Release 2.0
5August 25, 2007
6
7
8From Brad Choate
9http://www.bradchoate.com/
10Copyright (c) 2002-2007, Brad Choate
11
12
13Installation:
14
15To install, place the following files in your Movable Type plugins
16directory:
17
18    (mt home)/plugins/OnThisDay/OnThisDay.pl
19    (mt home)/plugins/OnThisDay/lib/MTOnThisDay/Plugin.pm
20
21NOTE: This plugin does not support dynamic publishing yet.
22
23
24Tags made available through this plugin:
25
26
27<MTOnThisDay>
28
29This Movable Type plugin allows you to produce a "On This Day" list
30of all the blog entries that share the same day and month of the entry
31it's published for or the current day and month if published outside
32of an entry.
33
34If that didn't make sense, maybe this will:
35
36  <MTOnThisDay>
37    <MTDateHeader>
38      <a href="<$MTEntryLink archive_type="Daily"$>">
39        <$MTEntryDate format="%Y"$>
40      </a>
41    </MTDateHeader>
42  </MTOnThisDay>
43
44The above construct will list all the years that have blogs on the
45current month and day. It will link the year to the daily archive
46page.
47
48
49Here's an example that produces more information on the entries by
50listing their excerpts (and by displaying each entry found instead of
51just the year):
52
53  <MTOnThisDay>
54    <MTDateHeader>
55      <a href="<$MTEntryLink archive_type="Daily"$>">
56        <b><$MTEntryDate format="%Y"$></b>:
57      </a><br />
58    </MTDateHeader>
59    <div><$MTEntryExcerpt$></div>
60  </MTOnThisDay>
61
62
63You can use any of the tags you can normally use within the <MTEntries>
64container tag.
65
66You can also use the <MTOnThisDay> tag on your individual archive page
67to list for those entries any other entries that have the same creation
68month and day.
69
70
71The latest version of this plugin can be found here:
72
73    http://code.sixapart.com/svn/mtplugins/trunk/OnThisDay
74
75
76Brad Choate
77August 25, 2007
78
79
Note: See TracBrowser for help on using the browser.