Roger Binns wrote:
"Max M" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

http://www.mxm.dk/products/public/ical/

Any feedback would be welcome.


How well do you cope with the crud that real programs generate?  Does it work
with the different dialects uses out there?  Can it at least identify them?


It depends on how badly the data is screwed up. But generally it should be able to work on incorrect implementations.

It doesn't care of the spelling of property and parameter names. Though type conversions will need to be done slightly more manual.

If something like 'dtstart' is misspelled it will not return a datetime

>>> cal.decoded('datestart')

But if you know that it is misspelled you can get it, and convert it manually like:

>>> from PropertyValues import vDDDType
>>> vDDDType.from_ical(cal['datestart'])

--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to