<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Extract All URLs From A Page Using PHP</title>
	<atom:link href="http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/</link>
	<description>Slightly Advanced Computer Stuff (and some magic)</description>
	<lastBuildDate>Fri, 20 Nov 2009 22:08:06 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ravi</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-32509</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Fri, 20 Nov 2009 18:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-32509</guid>
		<description>cud u plz help me by teling how to use these functions in my php page.
i&#039;m naive to all this.
but i need it for my project.. plz tell</description>
		<content:encoded><![CDATA[<p>cud u plz help me by teling how to use these functions in my php page.<br />
i&#8217;m naive to all this.<br />
but i need it for my project.. plz tell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31864</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31864</guid>
		<description>You could put some echo/print_r statements in the crawl_page function to see where and why it fails. For example, I&#039;d put one after curl_exec to display the loaded HTML and a &lt;pre lang=&quot;php&quot;&gt;print_r($m)&lt;/pre&gt; after the preg_match_all() call.</description>
		<content:encoded><![CDATA[<p>You could put some echo/print_r statements in the crawl_page function to see where and why it fails. For example, I&#8217;d put one after curl_exec to display the loaded HTML and a</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">print_r</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$m</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p> after the preg_match_all() call.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31863</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31863</guid>
		<description>I did that and the weird thing is the array outputs nothing. Just blank when using:

[code]
print_r(crawl_page(&quot;xxx.com/index.php&quot;, &quot;xxx.com&quot;));
[/code]</description>
		<content:encoded><![CDATA[<p>I did that and the weird thing is the array outputs nothing. Just blank when using:</p>
<p>[code]<br />
print_r(crawl_page("xxx.com/index.php", "xxx.com"));<br />
[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31862</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31862</guid>
		<description>Remove or comment out this line : &lt;pre lang=&quot;php&quot;&gt;
$url = relative2absolute($base_url, $url);  &lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Remove or comment out this line :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> relative2absolute<span style="color: #009900;">&#40;</span><span style="color: #000088;">$base_url</span><span style="color: #339933;">,</span> <span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31861</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 22 Oct 2009 08:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31861</guid>
		<description>What if I don&#039;t want it to translate back to absolute URL? I cant seem to find which portion should be removed.</description>
		<content:encoded><![CDATA[<p>What if I don&#8217;t want it to translate back to absolute URL? I cant seem to find which portion should be removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31382</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Sun, 06 Sep 2009 09:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31382</guid>
		<description>What do you mean by &quot;tree searching mode&quot;?</description>
		<content:encoded><![CDATA[<p>What do you mean by &#8220;tree searching mode&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: php help</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31381</link>
		<dc:creator>php help</dc:creator>
		<pubDate>Sun, 06 Sep 2009 07:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31381</guid>
		<description>This link extraction is working fine.
Thanks.

I want a tree searching code.
can you help me ?</description>
		<content:encoded><![CDATA[<p>This link extraction is working fine.<br />
Thanks.</p>
<p>I want a tree searching code.<br />
can you help me ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31089</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Sat, 08 Aug 2009 10:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31089</guid>
		<description>@ Praveen : Not a chance. I&#039;m not falling for that &quot;plz send me the codes&quot; nonsense.</description>
		<content:encoded><![CDATA[<p>@ Praveen : Not a chance. I&#8217;m not falling for that &#8220;plz send me the codes&#8221; nonsense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-31086</link>
		<dc:creator>Praveen</dc:creator>
		<pubDate>Sat, 08 Aug 2009 07:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-31086</guid>
		<description>pls send me a code regarding url fetch and store in mysql db</description>
		<content:encoded><![CDATA[<p>pls send me a code regarding url fetch and store in mysql db</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/comment-page-2/#comment-30687</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 28 Jun 2009 17:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/16/how-to-extract-all-urls-from-a-page-using-php/#comment-30687</guid>
		<description>That&#039;s great.

The new regexp now parses my URLs fine. 

Thank you for your very prompt response.

David.</description>
		<content:encoded><![CDATA[<p>That&#8217;s great.</p>
<p>The new regexp now parses my URLs fine. </p>
<p>Thank you for your very prompt response.</p>
<p>David.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
