<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for observances</title>
	<atom:link href="http://krahulg.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://krahulg.wordpress.com</link>
	<description>web * programming * the higher end</description>
	<lastBuildDate>Thu, 18 Jun 2009 23:38:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Social Networking Websites &#8211; Revenue Models by MiKu</title>
		<link>http://krahulg.wordpress.com/2008/06/26/social-networking-websites-revenue-models/#comment-118</link>
		<dc:creator>MiKu</dc:creator>
		<pubDate>Thu, 18 Jun 2009 23:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/?p=27#comment-118</guid>
		<description>Fair initial insight but i really wonder if per-clicks model do not work. since the free user base on yahoo and rest have significant revenue share for such per-click type of models. (Of course it requires, if not huge, bigger user base to work out.</description>
		<content:encoded><![CDATA[<p>Fair initial insight but i really wonder if per-clicks model do not work. since the free user base on yahoo and rest have significant revenue share for such per-click type of models. (Of course it requires, if not huge, bigger user base to work out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Social Networking Websites &#8211; Revenue Models by tw</title>
		<link>http://krahulg.wordpress.com/2008/06/26/social-networking-websites-revenue-models/#comment-116</link>
		<dc:creator>tw</dc:creator>
		<pubDate>Fri, 15 May 2009 18:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/?p=27#comment-116</guid>
		<description>Youtube is less thank three years old, and facebook is less than 6 years old.  Though its better to have a business model to begin with there is much to say about the ability to acquire a user-base and monetize later...if you can afford it.</description>
		<content:encoded><![CDATA[<p>Youtube is less thank three years old, and facebook is less than 6 years old.  Though its better to have a business model to begin with there is much to say about the ability to acquire a user-base and monetize later&#8230;if you can afford it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Social Networking Websites &#8211; Revenue Models by How to Get Six Pack Fast</title>
		<link>http://krahulg.wordpress.com/2008/06/26/social-networking-websites-revenue-models/#comment-115</link>
		<dc:creator>How to Get Six Pack Fast</dc:creator>
		<pubDate>Wed, 15 Apr 2009 16:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/?p=27#comment-115</guid>
		<description>Not that I&#039;m totally impressed, but this is   more than I expected for when I found a link on Furl telling that the info   is awesome. Thanks.</description>
		<content:encoded><![CDATA[<p>Not that I&#8217;m totally impressed, but this is   more than I expected for when I found a link on Furl telling that the info   is awesome. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Preparing a secure login form with PHP &amp; JavaScript by Thorix &#187; Sicheres Login mit PHP und Javascript</title>
		<link>http://krahulg.wordpress.com/2007/12/26/preparing-a-secure-login-form-with-php-javascript/#comment-111</link>
		<dc:creator>Thorix &#187; Sicheres Login mit PHP und Javascript</dc:creator>
		<pubDate>Fri, 16 Jan 2009 22:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/26/preparing-a-secure-login-form-with-php-javascript/#comment-111</guid>
		<description>[...] ‚Preparing a secure login form with PHP &amp; JavaScript‘ by Kumar Rahul (observances): Beschreibt die Clientseitige Verschlüsselung des Passwortes mit MD5 (SHA-1 wäre auch möglich), „gesalzen“ mit einem Timestamp aus PHP::time() [...]</description>
		<content:encoded><![CDATA[<p>[...] ‚Preparing a secure login form with PHP &amp; JavaScript‘ by Kumar Rahul (observances): Beschreibt die Clientseitige Verschlüsselung des Passwortes mit MD5 (SHA-1 wäre auch möglich), „gesalzen“ mit einem Timestamp aus PHP::time() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Walking the HTML DOM tree in PHP by Stefan Wagner</title>
		<link>http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-109</link>
		<dc:creator>Stefan Wagner</dc:creator>
		<pubDate>Tue, 09 Dec 2008 18:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-109</guid>
		<description>loadHTML($myWebSite);
walkDom($doc);
?&gt;</description>
		<content:encoded><![CDATA[<p>loadHTML($myWebSite);<br />
walkDom($doc);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Walking the HTML DOM tree in PHP by Stefan Wagner</title>
		<link>http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-108</link>
		<dc:creator>Stefan Wagner</dc:creator>
		<pubDate>Tue, 09 Dec 2008 18:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-108</guid>
		<description>Hello!

I fixed it! My ISP blocks external loadHTMLFile. Getting the error took me two days, because of the @!!
Replaced the call by, the function works fine: :) :)

Thanks a lot to the autor! There are hundrets of this scripts for JavaScript on the web, but I found no one else for PHP!! 

Greetings from Ukraine

Stefan Wagner


&lt;code&gt;
loadHTML($myWebSite);
walkDom($doc);
?&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I fixed it! My ISP blocks external loadHTMLFile. Getting the error took me two days, because of the @!!<br />
Replaced the call by, the function works fine: <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks a lot to the autor! There are hundrets of this scripts for JavaScript on the web, but I found no one else for PHP!! </p>
<p>Greetings from Ukraine</p>
<p>Stefan Wagner</p>
<p><code><br />
loadHTML($myWebSite);<br />
walkDom($doc);<br />
?&gt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Walking the HTML DOM tree in PHP by Stefan Wagner</title>
		<link>http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-107</link>
		<dc:creator>Stefan Wagner</dc:creator>
		<pubDate>Mon, 08 Dec 2008 00:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-107</guid>
		<description>Hi all! Doesn&#039;t work for me, I only get a #document!
Useing php 5.2.6
Anybody any ideas?
Thanks for any help!

Here is my code, maybe anyone can copy and ty out?:

&lt;?php
function walkDom($node, $level = 0)
{
$indent =&#039;&#039;;
for ($i = 0; $i nodeType != XML_TEXT_NODE)
{
echo $indent.&#039;&lt;b&gt;&#039;.$node-&gt;nodeName.&#039;&lt;/b&gt;&#039;;
if( $node-&gt;nodeType == XML_ELEMENT_NODE )
{
$attributes = $node-&gt;attributes; // get all the attributes(eg: id, class …)
foreach($attributes as $attribute)
{
echo &#039;, &#039;.$attribute-&gt;name.&#039;=&#039;.$attribute-&gt;value;
// $attribute-&gt;name is usually one of these:
// src, type, rel, link, name, value, href, onclick,
// id, class, style, title
// You can add your custom handlers depending on the Attribute.
}
if( strlen(trim($node-&gt;childNodes-&gt;item(0)-&gt;nodeValue)) &gt; 0 &amp;&amp; count($cNodes) == 1 )
echo &#039;&#039;.$indent.&#039;(contains=&#039;.$node-&gt;childNodes-&gt;item(0)-&gt;nodeValue.&#039;)&#039;; // do this to print the contents of a node, which maybe the link text, contents of div and so on.
}
echo &#039;&#039;;
}
$cNodes = $node-&gt;childNodes;
if (count($cNodes) &gt; 0)
{
$level++ ; // go one level deeper
foreach($cNodes as $cNode)
walkDom($cNode, $level); //so this is recursion my professor kept talkin&#039; about
$level = $level - 1; // come a level up, and had to do it this way or else wordpress would take away one dash. :(
}
}

$doc = new DOMDocument();
@$doc-&gt;loadHTMLFile(&#039;http://www.google.de&#039;);
walkDom($doc);
?&gt;</description>
		<content:encoded><![CDATA[<p>Hi all! Doesn&#8217;t work for me, I only get a #document!<br />
Useing php 5.2.6<br />
Anybody any ideas?<br />
Thanks for any help!</p>
<p>Here is my code, maybe anyone can copy and ty out?:</p>
<p>&lt;?php<br />
function walkDom($node, $level = 0)<br />
{<br />
$indent =&#8221;;<br />
for ($i = 0; $i nodeType != XML_TEXT_NODE)<br />
{<br />
echo $indent.&#8217;<b>&#8216;.$node-&gt;nodeName.&#8217;</b>&#8216;;<br />
if( $node-&gt;nodeType == XML_ELEMENT_NODE )<br />
{<br />
$attributes = $node-&gt;attributes; // get all the attributes(eg: id, class …)<br />
foreach($attributes as $attribute)<br />
{<br />
echo &#8216;, &#8216;.$attribute-&gt;name.&#8217;=&#8217;.$attribute-&gt;value;<br />
// $attribute-&gt;name is usually one of these:<br />
// src, type, rel, link, name, value, href, onclick,<br />
// id, class, style, title<br />
// You can add your custom handlers depending on the Attribute.<br />
}<br />
if( strlen(trim($node-&gt;childNodes-&gt;item(0)-&gt;nodeValue)) &gt; 0 &amp;&amp; count($cNodes) == 1 )<br />
echo &#8221;.$indent.&#8217;(contains=&#8217;.$node-&gt;childNodes-&gt;item(0)-&gt;nodeValue.&#8217;)'; // do this to print the contents of a node, which maybe the link text, contents of div and so on.<br />
}<br />
echo &#8221;;<br />
}<br />
$cNodes = $node-&gt;childNodes;<br />
if (count($cNodes) &gt; 0)<br />
{<br />
$level++ ; // go one level deeper<br />
foreach($cNodes as $cNode)<br />
walkDom($cNode, $level); //so this is recursion my professor kept talkin&#8217; about<br />
$level = $level &#8211; 1; // come a level up, and had to do it this way or else wordpress would take away one dash. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
}<br />
}</p>
<p>$doc = new DOMDocument();<br />
@$doc-&gt;loadHTMLFile(&#8216;http://www.google.de&#8217;);<br />
walkDom($doc);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Walking the HTML DOM tree in PHP by krahulg</title>
		<link>http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-106</link>
		<dc:creator>krahulg</dc:creator>
		<pubDate>Thu, 04 Dec 2008 08:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-106</guid>
		<description>That&#039;s great Melvin. I had to do this just to escape regexing[and i suck at regexes] through html files.</description>
		<content:encoded><![CDATA[<p>That&#8217;s great Melvin. I had to do this just to escape regexing[and i suck at regexes] through html files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Walking the HTML DOM tree in PHP by Melvin J.</title>
		<link>http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-105</link>
		<dc:creator>Melvin J.</dc:creator>
		<pubDate>Thu, 04 Dec 2008 00:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/30/walking-the-html-dom-tree-in-php/#comment-105</guid>
		<description>Thanks Kumar! This actually came in handy when I was debugging a PHP script I use to parse data from a website. I found out (using your &quot;walker&quot;) that somehow the table I was trying to parse cannot be seen by the PHP DOM! Must a malformed HTML markup.</description>
		<content:encoded><![CDATA[<p>Thanks Kumar! This actually came in handy when I was debugging a PHP script I use to parse data from a website. I found out (using your &#8220;walker&#8221;) that somehow the table I was trying to parse cannot be seen by the PHP DOM! Must a malformed HTML markup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Javascript Bug Reporting Using AJAX by krahulg</title>
		<link>http://krahulg.wordpress.com/2007/12/24/automatic-javascript-bug-reporting-using-ajax/#comment-104</link>
		<dc:creator>krahulg</dc:creator>
		<pubDate>Sun, 09 Nov 2008 09:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://krahulg.wordpress.com/2007/12/24/automatic-javascript-bug-reporting-to-server/#comment-104</guid>
		<description>@Hakan just whatever fits you. i will make two more interesting posts in a day or two about ajax form submission and something else. just fyi, in case it interests you.</description>
		<content:encoded><![CDATA[<p>@Hakan just whatever fits you. i will make two more interesting posts in a day or two about ajax form submission and something else. just fyi, in case it interests you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
