icalWebize.py 2.27 KB
#!/usr/bin/python
"""icalWebize.py -- interpret iCalendar data as RDF
"""

from warnings import warn

warn "obsolete in favor of fromIcal.py"


# $Log: icalWebize.py,v $
# Revision 1.12  2004/02/11 16:40:23  connolly
# finish renaming icalWebize.py to fromIcal.py
#
# Revision 1.11  2004/02/09 23:09:11  connolly
# - more refined X- property handling
# - generate fragids for uid, TZID
# - fixed utf-8 reading (thx MK for move test data!)
# - noted RDF API, name change TODOs per discussion with timbl
# - allow blank lines, space after names, (warn about possible confict with RFC)
# - pass over VALUE parameter in doText
#
# Revision 1.10  2004/02/08 19:14:39  connolly
# handles all of cal01.ics, though not quite the same way
# that ical2rdf.pl does
# - elaborated comment about declarations and rfc2445-formal
# - elaborated @@symbol comment
# - fixed tzoffsetfrom decl bug
# - handle X- properties
# - handle DATE value type
# - changed calAddress to use, rather than mention, ala ical2rdf.pl
# - handle (and test) Z on dateTimes
# - more uniform handling of case insensitivity (still not tested)
#
# Revision 1.9  2004/02/08 05:17:56  connolly
# working except X- props
# symbols are still text; not (yet?) interpreted as URIs
# treating Valarm as a class; leading toward changing it this way
#
# Revision 1.8  2004/02/08 04:28:43  connolly
# removed i: prefix
# enough property declarations with value types for cal01.ics
# added <component> elements and parseType to fix striping
# factored out text property code
#
# Revision 1.7  2004/02/08 00:10:00  connolly
# data-driven processing of components
#
# Revision 1.6  2004/02/07 06:28:35  connolly
# note a bug with unescaping TEXT values
#
# Revision 1.5  2004/02/07 03:40:17  connolly
# note intention to use generators
# rearrange module docstring
#
# Revision 1.4  2004/02/06 07:41:41  connolly
# syntax bug in one of the "not implemented" warnings
#
# Revision 1.3  2004/02/06 07:13:24  connolly
# started support for VEVENT
#   - TODO: reformat dates
#   - non-text properties; e.g. organizer
# moved main() before Namespace class
#
# Revision 1.2  2004/02/06 06:56:38  connolly
# lines are arranged into components
# calendar object and its properties are written as RDF
#
# Revision 1.1  2004/02/06 05:22:11  connolly
# parses lines into name, params, value
#