rsscalCreator
rsscalCreator is a PHP class that implements the rsscal (RDF) specification of iCal, RFC2445 / RFC5545.
Only the calendar event component is implemented.
Knowledge of calendar and
RFC2445 /
RFC5545
is necessary!
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.
Download rsscalCreator here.
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
Click on an image to download. To download all, click here!
