<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JayGilford.com &#187; DOMDocument</title>
	<atom:link href="http://www.jaygilford.com/tag/domdocument/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaygilford.com</link>
	<description>Numerous articles on PHP, MySQL and Apache files</description>
	<lastBuildDate>Wed, 03 Feb 2010 20:07:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using the PHP Document Object Model (DOM) to get all page links</title>
		<link>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/</link>
		<comments>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 16:27:03 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Common questions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Document Object Model]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[DOMDocument]]></category>
		<category><![CDATA[Friends]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=103</guid>
		<description><![CDATA[Further to the article I wrote about parsing links from a html page, here is a more elegant and accurate solution to getting every link using the Document Object Model (DOM)

PHP Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * @author Jay Gilford
 */
&#160;
/**
 * get_links()
 * 
 * @param string $url
 * @return array
 */
function get_links&#40;$url&#41; &#123;
&#160;
    // [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
