News Feed
Jobs Feed
Sections




News Archive
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

Paul Stamatiou's Blog: How To: Parse XML with PHP5

VT\'s Tech Blog: A Few XML & PHP Tutorials

Matthew Weir O'Phinney's Blog: mbstring comes to the rescue

Konr Ness' Blog: Zend_Config Benchmark - JSON, Array, INI, XML, YAML

WebReference.com: XML and PHP Simplified - Formatting XML Documents


Community Events











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


framework symfony2 podcast language introduction opinion conference unittest community zendframework2 phpunit database interview release usergroup series testing functional rest development

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