Created
August 24, 2011 16:30
-
-
Save weierophinney/1168465 to your computer and use it in GitHub Desktop.
Simple parser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sxl = new SimpleXMLElement($url, 0, true); | |
$item = $sxl->item[0]; | |
$link = (string) $item->link; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment