[pmwiki-users] vCalendar
Crisses
crisses at kinhost.org
Wed Dec 19 06:56:32 CST 2007
(same hiccup -- due to a translation from hyphen to plus in email
addresses on my incoming mail, my reply-all went to pmwiki
+users at ....thus never made it to the list. Damn postfix+cyrus.)
On Dec 17, 2007, at 11:15 PM, Josh Miller wrote:
>
> Has anyone had any experience using PmWiki to create vCalendar files
> so
> a website user can click a link to add an event to their Outlook or
> PIM?
>
> If you can't do it in PmWiki does anyone have any knowledge or
> experience with other PHP scripts or applications that do this?
>
> I found the specs for vCalendar files at:
> http://www.phpbuilder.com/columns/chow20021007.php3
I actually discussed doing things the other way around with Patrick
not tooooooo long ago: using the vCalendar format to pull data into
PmWiki (PmCal &/or WikiCalendar). (and similar vCard format for a
business directory)
In short, yes of course this can be done. The question would be 1)
how to go about it in general 2) how much of the POSSIBLE vCalendar
data should it support? 3) should it work from a data perspective --
such as PageTextVariables? or a page attribute perspective? Or should
the recipe attempt to read data off the page in some other way? 4)
should it integrate with an existing calendar recipe or be something
that stands alone?
In the short term you may want to create calendar events in your own
application (iCal, Outlook, etc.), export a vCalendar event file, and
Attach:file.ext the vCalendar file to the wiki Calendar page
(regardless of which recipe for calendars/events you use, this will
work! :) ). It might require adding a new file extension/mime type to
your config.php -- but that's all -- and it would work as any
attachment would. This is the "you don't need to know php" version.
I also wonder if there's a DTD that translates vCalendar into a usable
XHTML display format, in which case maybe it could be in a popup
window or javascript frame?
Crisses
More information about the pmwiki-users
mailing list