l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2011 Jul 06 19:15

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] CalDAV
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] CalDAV

It's super-funky homebrew php.

Each event, listed in a php file, makes a func call that passes along
the args about the event (title, date, url, descr, etc.)

The func that actually gets called varies dep. on the viewer
(e.g., homepage, calendar page, ical)  Very funky & backwards, I know.
I would not design it that way if I were to start again. :)

The ical files are actually produced by the webservedr, via a links -dump
invocation from within a Makefile.

Yes, insane! I know! But it works & I have had almost no reason to change it

We have a web maint. how-to floating around somewhere
(apologies; emailing via cellphone from a toy store :) ) which explains
a litlte of this.

A db is not a bad solution, but for less headache & portability, I'd just
do tab-delim'd text files or something else insanely easy to read (human)
and parse (script). :)


On Sat, Jul 02, 2011 at 01:18:42AM -0700, Rick Moen wrote:
> Quoting Alex Mandel (tech_dev@wildintellect.com):
> > You are aware of http://www.lugod.org/calendar/lugod-only.ics
> > Other options on:
> > http://www.lugod.org/calendar/
> I'm curious:  How is that data generated and maintained?  And how is the
> RSS+XML generated?  Is the code available?
> I have my own calendar (BALE) back-ended by a custom MySQL
> setup that has events, event templates, and groups tables.  
> The data are served to the Web dynamically by a PHP snippet, though
> that's a bit wasteful of machine resources and I've been seriously 
> considering generating static HTML via cronjob, instead.
> Only after that did people start saying 'Hey, can you also produce iCAL?
> Can you also produce an RSS feed?'  Which would have been easier if it
> had been part of the design spec.
> I've hacked some Python that almost//sort-of produces correct iCAL
> output, but it requires some more work.
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Sent from my computer
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.