Changeset 7692 for trunk/src/index.php
- Timestamp:
- Apr 7, 2010, 12:24:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/index.php ¶
r7661 r7692 31 31 $kml->addPlacemark($kmlPlacemark1); 32 32 $kml->addPlacemark($kmlPlacemark2); 33 echo $kml->toString(); 34 35 echo "\r\n\r\n\r\n\r\n\r\n -------------------------------------------------- \r\n\r\n\r\n\r\n\r\n"; 33 /* 34 * For testing, echo the example KML file 35 * echo $kml->toString(); 36 * echo "\r\n\r\n\r\n\r\n\r\n -------------------------------------------------- \r\n\r\n\r\n\r\n\r\n"; 37 */ 36 38 37 39 // Now let's try reading from files and parsing the data in the files. … … 42 44 $nodeLocation = new FileHandler($config['node_location_file']); 43 45 $kmlFile->parseLocationFile($nodeLocation->getFile()); 44 echo $kmlFile->toString(); 45 46 echo "\r\n\r\n\r\n\r\n\r\n -------------------------------------------------- \r\n\r\n\r\n\r\n\r\n"; 46 /* 47 * For testing, echo the example KML file 48 * echo $kmlFile->toString(); 49 * echo "\r\n\r\n\r\n\r\n\r\n -------------------------------------------------- \r\n\r\n\r\n\r\n\r\n"; 50 */ 47 51 48 52 // Let's try to read the node status file … … 50 54 $kmlFile->parseStatusFile($nodeStatus->getFile()); 51 55 echo $kmlFile->toString(); 52 /*53 * TODO: Needs better parsing of the file now we have two seperate54 * files for the location and the status of the nodes55 */56 56 ?>
Note:
See TracChangeset
for help on using the changeset viewer.