rsscalCreator
rsscalCreator is a PHP class that implements the rsscal (RDF) specification of iCal, RFC2445.
Only the calendar event component is implemented.
Knowledge of calendar and RFC2445 is necessary!
RFC2445 in text format: www.kigkonsult.se/iCalcreator/iCalDictionary/rfc2445.txt.
RFC2445 in HTML format: www.kigkonsult.se/iCalcreator/iCalDictionary/index.html.
For information about RSS, see RSS tutorial.
For information about RDF specification, see http://web.resource.org/rss/1.0/spec.
The 'Dublin Core' Namespace Declaration (explanation at http://dublincore.org/documents/dces/) allows optional subelements.
The EVENT Namespace Declaration (purl.org/rss/1.0/modules/event) describes event (optional) subelements for ITEM elements.
PHP Example
/* ensure the right path to class file */
require_once './rsscalCreator.class.php';
/* SETUP !!! directory to store feed file */
define( 'CACHE', './cache' );
/* initiate and set required elements */
$feed = new rsscalCreator( 'RSSCAL feed', 'http://www.domain.net', 'Sample feed' );
/* create and add some items */
$feed->addItem( new rsscalItem( 'Item no 1', 'http://www.domain.net/1' ));
$feed->addItem( new rsscalItem( 'Item no 2', 'http://www.domain.net/2' ));
$feed->addItem( new rsscalItem( 'Item no 3', 'http://www.domain.net/3' ));
/* create and redirect RSS feed to browser */
$feed->returnRSS( CACHE );
Create/edit/show iCal/xCal files
You can test iCalcreator online and produce iCal/xCal/rssCal files from a HTML form, eventCreator, create iCal event file on-the-fly, example of how to employ iCalcreator in software development.
An example how to present and display information, tinycal, from iCal files, using iCalcreator class in the server software.
Free images
