ESS (Event Standard Syndication) library script in PHP