forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: ical output plugin - sitemap feedback wanted
Date Wed, 19 Aug 2009 13:30:57 GMT
Sjur Moshagen wrote:
> Hello all,
> 
> For a long time our project group has been using an ical output  
> project module that I'm now converting to a real plugin, which I  
> intend to add to the whiteboard. For historical reasons, the url  
> pattern matched against presupposes a certain file naming scheme, as  
> follows:
> 
> <!--   Will match weekly meeting files {2}, and extract the tasks for  
> the
> person in {3}, returning the task list as an iCal TODO list -->
> <map:match pattern="**/Tasks_*_*.ics">
>     <map:generate src="cocoon://{1}/Meeting_{2}.xml" />
>     <map:transform src="{lm:ical.transform.document.ics}">
>         <map:parameter name="date" value="{2}" />
>         <map:parameter name="person" value="{3}" />
>     </map:transform>
>     <map:serialize type="ical" />
> </map:match>
> 
> That is, the meeting date is encoded in the filename, and the person  
> for which the ical file should be created is encoded in the URL in  
> addition to the date. Also, the filename is fixed to the pattern  
> "Meeting_{DATE}.xml (or actually *.jspwiki in our case). Is this ok,  
> or should I change to a more general pattern? One reasoning is that it  
> doesn't make sense to create an ical file for a non-meeting document,  
> and this dependency is expressed in the URL and filename patterns. But  
> then again, the whole plugin depends on certain conventions in the  
> source document, so you can anyway add non-working links (ie link to  
> meeting documents that do not follow these conventions).
> 
> Comments on the URL or filename patterns? Other comments?

This is exiting. That seems like a fine approach to me.

> General note:
> 
> This is an excellent example of the flexibility and usefulness of  
> Forrest. We (a project team geographically distributed) have regular  
> meetings using voicechat software + a collaborative editor (usually  
> SubEthaEdit because we are on Macs, but Gobby will do fine), we write  
> in jspwiki format, ie structured, plain text (the KISS principle),  
> which is transformed by Forrest to online meeting memos (pdf, html)  
> and task lists in iCal format using the plugin described above.

This is very interesting. Thanks so much for sharing a
situation for how you use Forrest. That should encourage.

This is very timely for me. I need to help with forming a
co-operative and they will need to conduct their first meeting
of distributed members.

I did a net search and found some of your explanations
at divvun.no ... will see what tips i can glean. Thanks.

-David

Mime
View raw message