[conspire] July schedule posted

Tony Godshall tony at of.net
Wed Jul 1 22:23:13 PDT 2009


...
> I have to go back to actually paying work, but I did get this far...
>
> wget -O- http://linuxmafia.com/bale/ |perl -ne
> 'while(s{<tr><td[^>]*>([^<]*)</td><td[^>]*>([^<]*)</td><td[^>]*>([^<]*)</td>(.*)</tr>}{}){print
> "date:$1 times:$2 city:$3 rest:$4\n";}'
>
> I figured since cabal calendar is a subset of bale, might as well do
> bale and we can just filter for cabal
...


OK, so here's a better start (stole some time)

So far I'm generating stuff like this with the python attached (and
yes, before anybody starts on the style criticism, this is being
written under the assumption that it's a one-time-use one-way hack
with better code being used to regularly build html and hCalendar from
that)...

bad start: 0 in ['Wed. Jul. 1', '-', '', 'Canada Day (was: Dominion Day)']
BEGIN:VEVENT
DTSTART:20090701T190000
DTEND:20090701T213000
DESCRIPTION: Mountain View: <a href="#svlug"> SVLUG</a> gen. meeting
at Symantec (formerly Veritas):  Luke S. Crawford on "Xen: A View from
the Trenches"
END:VEVENT
BEGIN:VEVENT
DTSTART:20090702T190000
DTEND:20090702T214500
DESCRIPTION: San Jose: <a href="#svbug"> SVBUG</a> meeting: TBA <a
href="map-svbug-carls.jpeg">(map)</a>
END:VEVENT
BEGIN:VEVENT
DTSTART:20090702T190000
DTEND:20090702T210000
DESCRIPTION: Berkeley: <a href="#buug">BUUG</a> meeting  <a
href="map-aucoquelet.jpeg">(map)</a>
END:VEVENT
bad start: 0 in ['Sat. Jul. 4', '-', '', 'Independence Day']
BEGIN:VEVENT
DTSTART:20090704T140000
DTEND:20090704T180000
DESCRIPTION: Felton: <a href="#feltonlug">FeltonLUG</a>  meeting at
Felton Firehouse, 131 Kirby St.
END:VEVENT
BEGIN:VEVENT
DTSTART:20090705T110000
DTEND:20090705T130000
DESCRIPTION: San Francisco: <a href="#sflug">SF-LUG</a> social meeting
at Cafe Enchant<E9>, 6157 Geary at 26th
END:VEVENT
BEGIN:VEVENT
DTSTART:20090706T200000
DTEND:20090706T220000
DESCRIPTION: Santa Cruz: <a href="#smaug">Smaug</a> dinner &
meeting at Pacific Pizza and Grille, 1415 Pacific Avenue nr. Locust
St.
END:VEVENT
...

And the file "t" is made by (of course)...

wget -O- http://linuxmafia.com/bale/ >t


Best Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.py
Type: text/x-python
Size: 3722 bytes
Desc: not available
URL: <http://linuxmafia.com/pipermail/conspire/attachments/20090701/426bf5ae/attachment.py>


More information about the conspire mailing list