XCRI-CAP PHP Parser Library

Download project files

How do I verify a download?


v1.0-alpha1 release from the trunk series released 2009-12-04

Release information
Release notes:

This is an initial release for feedback and discussion. Some features may be incomplete or buggy.

TO test the library grab a copy of some XCRI-CAP data and use a code sample like this:
<?php
require_once("/path/to/libphp-xcri-cap-parser.php");

// buffer output for better performance
ob_start("ob_gzhandler");
// start document

echo "<html><body>";

// load the content of an XML file to a string variable

$xcricap_string = file_get_contents("/path/to/your/xcri-cap/data.xml");
// turn it into a SimpleXML object

$xcricap = simplexml_load_string($xcricap_string);
// get an instance of the parser

$xcri_cap_parser = new xcri_cap_parser();

// use it to extract the information

$catalog = $xcri_cap_parser->parse_xcri_cap($xcricap_string);
// print out the title of the catalogue (if more ...

File Description Downloads
download icon libphp-xcri-cap-parser-v1.0-alpha1.tar.gz (md5, sig) XCRI-CAP Parser PHP Library 24
last downloaded 8 weeks ago
Total downloads: 24