Location: PHPKode > scripts > Easy ODS Read > index.php
<?php 
include "./easyODS.php";

/**
 * We unpacking the *.ods files ZIP arhive to find content.xml path
 * 
 * @var String File path of the *.ods file
 * @var String Directory path where we choose to store the unpacked files must have write permissions
 */
$path = easy_ods_read::extract_content_xml("./example.ods","./temp");

/**
 * We create the $easy_ods_read object
 *  
 * @param Integer 0 First spreadsheet
 * @param String $path File path of the content.xml file
 * 
 * @return Object $easy_ods_read Object of the class
 */
$easy_ods_read = new easy_ods_read(0,$path);

/**
 * We take the needed data from the file
 */
print_r($easy_ods_read->extract_data("1","20"));
?>
Return current item: Easy ODS Read