<?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]: Fetch a certain part of HTML, Text or PHP From Outer Source With PHP</title>
	<atom:link href="http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/</link>
	<description>Because Right Tech Matters</description>
	<lastBuildDate>Mon, 06 Sep 2010 02:36:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: xyz</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-4621</link>
		<dc:creator>xyz</dc:creator>
		<pubDate>Fri, 09 Jul 2010 17:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-4621</guid>
		<description>nice info!! thanks</description>
		<content:encoded><![CDATA[<p>nice info!! thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1403</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1403</guid>
		<description>@gandip
Thanks for the info. Nice</description>
		<content:encoded><![CDATA[<p>@gandip<br />
Thanks for the info. Nice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gandip</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1354</link>
		<dc:creator>Gandip</dc:creator>
		<pubDate>Sat, 27 Feb 2010 15:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1354</guid>
		<description>Great tut. I was thinking in different way.How about creating Socket to connect to site and fetch some HTML contain that would be easy . Like fopen($site). Just an alternate.</description>
		<content:encoded><![CDATA[<p>Great tut. I was thinking in different way.How about creating Socket to connect to site and fetch some HTML contain that would be easy . Like fopen($site). Just an alternate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1219</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 14 Feb 2010 09:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1219</guid>
		<description>Yes of course. But not by PHP code but by the HTML code of the search bar.</description>
		<content:encoded><![CDATA[<p>Yes of course. But not by PHP code but by the HTML code of the search bar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subash</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1210</link>
		<dc:creator>Subash</dc:creator>
		<pubDate>Sat, 13 Feb 2010 10:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1210</guid>
		<description>Can I pick the search bar from your site hamrobrt.com if yes then how? Please tell the process.</description>
		<content:encoded><![CDATA[<p>Can I pick the search bar from your site hamrobrt.com if yes then how? Please tell the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Makeup DIY</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1162</link>
		<dc:creator>Makeup DIY</dc:creator>
		<pubDate>Sat, 06 Feb 2010 05:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1162</guid>
		<description>Hey hun, sweet website! I really appreciate this blog post.. I was curious about this for a while now. This cleared a lot up for me! Do you have a rss feed that I can add?</description>
		<content:encoded><![CDATA[<p>Hey hun, sweet website! I really appreciate this blog post.. I was curious about this for a while now. This cleared a lot up for me! Do you have a rss feed that I can add?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonka</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1029</link>
		<dc:creator>Tonka</dc:creator>
		<pubDate>Sun, 24 Jan 2010 14:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1029</guid>
		<description>very nice post, thanks</description>
		<content:encoded><![CDATA[<p>very nice post, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joen Blad</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-1027</link>
		<dc:creator>Joen Blad</dc:creator>
		<pubDate>Sun, 24 Jan 2010 08:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1027</guid>
		<description>The author of www.hamrobrt.com has written an excellent article. You have made your point and there is not much to argue about. It is like the following universal truth that you can not argue with: Intelligence is knowing that a tomato is a fruit, wisdom is not putting it in a fruit salad :P Thanks for the info.</description>
		<content:encoded><![CDATA[<p>The author of <a href="http://www.hamrobrt.com" rel="nofollow">http://www.hamrobrt.com</a> has written an excellent article. You have made your point and there is not much to argue about. It is like the following universal truth that you can not argue with: Intelligence is knowing that a tomato is a fruit, wisdom is not putting it in a fruit salad <img src='http://www.hamrobrt.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Thanks for the info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brianna</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-849</link>
		<dc:creator>Brianna</dc:creator>
		<pubDate>Sat, 16 Jan 2010 15:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-849</guid>
		<description>Awesome post. Help for my development.</description>
		<content:encoded><![CDATA[<p>Awesome post. Help for my development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.hamrobrt.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php/comment-page-1/#comment-531</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 14 Dec 2009 07:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-531</guid>
		<description>Dear Jeevan,
The final output is stored in &quot;$new_pos&quot; and it is the complete set of text present in the content fetched from site. We have a PHP function named &quot;strpos&quot; which checks the position of the content like:

$aslipos=strpos($newpos, &quot;Your text as hello&quot;);

and it gets the position of the text that u have searched like &quot;hello&quot;. And next line code would be:

if ($aslipos) {
echo &quot;This means the searched text is in the website&quot;;
}
else {
echo &quot;This means the searched term is not found in the website then you can kep the code that you like.&quot;;
}

If you had any problem then you can comment here for that.</description>
		<content:encoded><![CDATA[<p>Dear Jeevan,<br />
The final output is stored in &#8220;$new_pos&#8221; and it is the complete set of text present in the content fetched from site. We have a PHP function named &#8220;strpos&#8221; which checks the position of the content like:</p>
<p>$aslipos=strpos($newpos, &#8220;Your text as hello&#8221;);</p>
<p>and it gets the position of the text that u have searched like &#8220;hello&#8221;. And next line code would be:</p>
<p>if ($aslipos) {<br />
echo &#8220;This means the searched text is in the website&#8221;;<br />
}<br />
else {<br />
echo &#8220;This means the searched term is not found in the website then you can kep the code that you like.&#8221;;<br />
}</p>
<p>If you had any problem then you can comment here for that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
