URLSummary php Class
URL Summary (4.2 KiB, 41 hits)
I needed a way to extract additional content and details about any given website that a User might add to PickyList. So I sat down and wrote what is now dubbed URLSummary that takes a URL and outputs an XML document.
This class is written in PHP 5, and I cannot confirm or deny that it will work with any other version. Feel free to do anything you want with it – all I ask is that you consider leaving a comment letting me know if it was beneficial for you and your product.
Usage of URLSummary.php
<?
require('URLSummary.php');
// Get a URL paramater $url = $_GET['url'];
$url = 'http://icorbin.com/resume';
// Create the URLSummary Class
$urlsummary = new URLSummary();
$urlsummaryxml = $urlsummary->get($url,"xml");
// Output the Results to the browser as XML
header("Content-Type:application/xml");
echo $urlsummaryxml->asXML();
?>
A few notes
Currently URLSummary currently does not Cache any of the calls.
URL Summary (4.2 KiB, 41 hits)


John Mayer Must Be Doing Something Right:
According to a source, Mayer hooked up with Taylor Swift when the… http://bit.ly/9a1dwR #celeb
The Story Of Moza – Read more at the source: The Story Of Moza http://tumblr.com/xyp67y53o
Acknowledge out Frappalo’s Can Enterprise 2. 0 Rift the Enlightenment Containment Culture Obstacle?: Source: Fredzimny039; s Blog url4j1U9 !
@drmmtatom: Textbooks, Wikipedia, and Primary Source Research http://tinyurl.com/yabawmj #fhuedu508 #fhuedu320
let’s go to the source de l’amour … where? … ush.. to the stupid Mcallen convention centers fountain….. thanks fo… http://lnk.ms/5sHPx