URLSummary php Class

May 22, 2009 0 Comments Category: Open Source, Products

  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)

No Responses

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

    Celeblatest 7 February 2010 at 3:15 am Permalink
  2. The Story Of Moza – Read more at the source: The Story Of Moza http://tumblr.com/xyp67y53o

    r00tman 7 February 2010 at 3:19 pm Permalink
  3. Acknowledge out Frappalo’s Can Enterprise 2. 0 Rift the Enlightenment Containment Culture Obstacle?: Source: Fredzimny039; s Blog url4j1U9 !

    izaguirreesfy 8 February 2010 at 3:15 am Permalink
  4. @drmmtatom: Textbooks, Wikipedia, and Primary Source Research http://tinyurl.com/yabawmj #fhuedu508 #fhuedu320

    TheNerdyTeacher 8 February 2010 at 3:16 pm Permalink
  5. let’s go to the source de l’amour … where? … ush.. to the stupid Mcallen convention centers fountain….. thanks fo… http://lnk.ms/5sHPx

    fRaNkO_ 9 February 2010 at 3:15 am Permalink

Write a Comment

Commenter Gravatar