By brandon.corbin on Friday May 22nd, 2009

  URL Summary (4.2 KiB, 57 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, 57 hits)

0 Responses to “URLSummary php Class”

  1. Celeblatest says:

    John Mayer Must Be Doing Something Right:
    According to a source, Mayer hooked up with Taylor Swift when the… http://bit.ly/9a1dwR #celeb

  2. r00tman says:

    The Story Of Moza – Read more at the source: The Story Of Moza http://tumblr.com/xyp67y53o

  3. izaguirreesfy says:

    Acknowledge out Frappalo’s Can Enterprise 2. 0 Rift the Enlightenment Containment Culture Obstacle?: Source: Fredzimny039; s Blog url4j1U9 !

  4. TheNerdyTeacher says:

    @drmmtatom: Textbooks, Wikipedia, and Primary Source Research http://tinyurl.com/yabawmj #fhuedu508 #fhuedu320

  5. fRaNkO_ says:

    let’s go to the source de l’amour … where? … ush.. to the stupid Mcallen convention centers fountain….. thanks fo… http://lnk.ms/5sHPx

Leave a Reply

← By brandon.corbin

I am Brandon Corbin, a web entrepreneur with a background in advertising and design. For over a decade I have applied my passion for user experience, marketing and software design to industries like: radio, real estate, pharmaceuticals, recruiting and eCommerce.