RFC: Calendar plugin
[email protected] ("Marcelo E. Magallon") Sun, 22 May 2005 13:23:53 -0600
| Newsgroups | perl.kwiki |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I need a calendar thing for our wiki and I'm thinking about the
interface with the users.
What *I* need is a calendar that can be displayed on a specific page,
i.e. not a widget. In the way I see it, a WaflBlock would work best.
Now the question is how to input data. One option is directly in the
WaflBlock, with a syntax like (please comment!):
2005-06-10 KwikiEvent in Squeaky Town
2005-07-12 [Kwiki meeting at Kwiki hall http:?KwikiEvent]
2005-08-1:2005-08-3 KwikiGathering
[email protected] [KwikiGathering clean up! http:?KwikiGatheringCleanUp]
The problem I see with that is that it could get unhandy quickly. On
the plus side, all the *content* is kept inside the database, which
means Archive plug-ins just work.
Another option is something akin to Kwiki::Attachments, with a
plugin/calendar directory which would keep the per-page calendar data
and a special action to add and remove data.
Another question is how to browse the calendar if it's a WaflBlock.
Can I put an arbitrary parameter in the URL? Something like
"calendar_month=2005-02". Then I could add "previous" and "next"
buttons to the calendar. Along the same line, I could turn the month
view into a year view.
How does this sound?
Marcelo