News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Evert Pot's Blog:
Converting ICalendar to XML
September 03, 2009 @ 10:40:13

Evert Pot has a new post to his blog today looking at a handy script he's developed to convert data formatted in the CalDAV syntax and push it back out as XML.

ICalendar objects have properties, components (such as VEVENT, VTODO) and attributes. This is awfully familiar to XML. So instead of trying to come up with a complicated parser and object structure, I decided to just convert it to XML and use PHP's simplexml.

The post includes the code that does the conversion, an example of CalDAV formatted data and the XML that it would output to.

0 comments voice your opinion now!
icalendar xml convert


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: The value of Web services for PHP

Community News: PHPWeekender Full Slides Posted

The OC Food Review Blog: Make your own geovisitor

Project: Aleksey Martynov's lexa-xml-serialization Tool for PHP 5.3

Andi Gutmans' Blog: PHP represented at SIGMOD 2006


Community Events





Don't see your event here?
Let us know!


laravel introduction list configure wordpress threedevsandamaybe series code podcast framework community developer application library language project bugfix release api interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework