Exemplo n.º 1
0
	Last update: <?php 
echo $parsed->getDatePublished();
?>
<br />
	Size: <?php 
echo $parsed->getSize();
?>
<br />
	Software Version:  <?php 
echo $parsed->getSoftvareVersion();
?>
<br />
	<h3>About:</h3>
	<p>
	<?php 
if ($parsed->getBanner()) {
    ?>
	<img src="<?php 
    echo $parsed->getBanner();
    ?>
" alt="<?php 
    echo $parsed->getTitle();
    ?>
" align="left" width="300px"/>
	<?php 
}
?>
	<?php 
echo $parsed->getAbout();
?>
	</p>
Exemplo n.º 2
0
$parsed->allowDownloadImages(true);
//enable caching
$parsed->setCacheTime(86400);
//in seconds
//set temp directory to save temp files
$parsed->setTemp('temp');
//start parsing
$parsed->parseUrl();
//get company name
echo $parsed->getCompany();
//get title
echo $parsed->getTitle();
//get size of build
echo $parsed->getSize();
//get banner image
echo $parsed->getBanner();
//get last software version
echo $parsed->getSoftvareVersion();
//get text
echo $parsed->getAbout();
//get icon image
echo $parsed->getIcon();
//get last published date
echo $parsed->getDatePublished();
//get all reviews
foreach ($parsed->getReviews() as $review) {
    //review author
    echo $review['author'];
    //review date
    echo $review['date'];
    //review title