<?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.techdug.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.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php</link> <description>Technology Blog For Computers, Software, Hardware and Devices</description> <lastBuildDate>Fri, 11 May 2012 07:24:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: admin</title><link>http://www.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1098</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-1098</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.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1097</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-1097</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.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1096</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-1096</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: Makeup DIY</title><link>http://www.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1094</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-1094</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: Joen Blad</title><link>http://www.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1092</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-1092</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://cdn1.techdug.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.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1091</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-1091</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.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1090</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-1090</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> <item><title>By: Jeevan</title><link>http://www.techdug.com/how-to-fetch-a-certain-part-of-html-text-or-php-from-outer-source-with-php#comment-1089</link> <dc:creator>Jeevan</dc:creator> <pubDate>Sun, 13 Dec 2009 13:40:45 +0000</pubDate> <guid isPermaLink="false">http://www.hamrobrt.com/?p=116#comment-1089</guid> <description>hi there what if the webpage changes inclemently constantly like www.example.com/1.html www.example.com/2.html and so on would this php code work in that case too? Also what if i want to save the page if the text like &quot;hello&quot; is found in the page if not move to next page? thanks in advance</description> <content:encoded><![CDATA[<p>hi there what if the webpage changes inclemently constantly like <a href="http://www.example.com/1.html" rel="nofollow">http://www.example.com/1.html</a> <a href="http://www.example.com/2.html" rel="nofollow">http://www.example.com/2.html</a> and so on would this php code work in that case too? Also what if i want to save the page if the text like &#8220;hello&#8221; is found in the page if not move to next page? thanks in advance</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 654/655 objects using disk: basic
Content Delivery Network via cdn1.techdug.com

Served from: www.techdug.com @ 2012-05-20 06:13:48 -->
