<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>intelligent internet agents</title>
	<atom:link href="http://inetagent.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://inetagent.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 14 Aug 2009 17:18:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='inetagent.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>intelligent internet agents</title>
		<link>http://inetagent.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://inetagent.wordpress.com/osd.xml" title="intelligent internet agents" />
	<atom:link rel='hub' href='http://inetagent.wordpress.com/?pushpress=hub'/>
		<item>
		<title>htmlunit</title>
		<link>http://inetagent.wordpress.com/2009/08/14/htmlunit/</link>
		<comments>http://inetagent.wordpress.com/2009/08/14/htmlunit/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 17:12:40 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[crawl]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[celerity]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[htmlunit]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=50</guid>
		<description><![CDATA[htmlunit repository &#8211; svn co https://htmlunit.svn.sourceforge.net/svnroot/htmlunit/trunk/htmlunit . open project in netbeans as marven2 project run test (from netbeans or command line mvn test) run build (from netbeans or from command line mvn build) This creates the library file needed for celerity which should then be placed in the htmlunit folder of the celerity folder. After [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=50&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>htmlunit repository &#8211; svn co https://htmlunit.svn.sourceforge.net/svnroot/htmlunit/trunk/htmlunit .<br />
open project in netbeans as marven2 project<br />
run test (from netbeans or command line mvn test)<br />
run build (from netbeans or from command line mvn build)</p>
<p>This creates the library file needed for celerity which should then be placed in the htmlunit folder of the celerity folder. After this build, test and install the gem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=50&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/14/htmlunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
		<item>
		<title>celerity</title>
		<link>http://inetagent.wordpress.com/2009/08/14/celerity/</link>
		<comments>http://inetagent.wordpress.com/2009/08/14/celerity/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 17:06:34 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[crawl]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[celerity]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=47</guid>
		<description><![CDATA[celerity &#8211; project home page celerity &#8211; source page celerity installation git clone git://github.com/jarib/celerity.git jruby -S gem install hoe &#8211; test dependencies jruby -S gem install sinatra &#8211; test dependencies jruby -S gem build &#8211; build the gem jruby -S rake watispec:init &#8211; to get the watir spec tests jruby -S rake spec (or jruby [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=47&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>celerity &#8211; <a href="http://celerity.rubyforge.org/">project home page</a></p>
<p>celerity &#8211; <a href="http://github.com/jarib/celerity/tree/master">source page</a></p>
<p><strong>celerity installation</strong></p>
<p>git clone <a rel="#git-clone" href="//github.com/jarib/celerity.git">git://github.com/jarib/celerity.git</a></p>
<p>jruby -S gem install hoe &#8211; test dependencies<br />
jruby -S gem install sinatra &#8211; test dependencies<br />
jruby -S gem build &#8211; build the gem<br />
jruby -S rake watispec:init &#8211; to get the watir spec tests<br />
jruby -S rake spec (or jruby -S spec spec/**/*_spec.rb) &#8211; to run test<br />
jruby -S gem install &#8211; to install the gem</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=47&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/14/celerity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
		<item>
		<title>Viewer</title>
		<link>http://inetagent.wordpress.com/2009/08/11/viewer/</link>
		<comments>http://inetagent.wordpress.com/2009/08/11/viewer/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 10:17:37 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[crawl]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[viewers]]></category>
		<category><![CDATA[celerity]]></category>
		<category><![CDATA[viewer]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=37</guid>
		<description><![CDATA[browser = Celerity::Browser.new(:viewer =&#62; "localhost:6429", :log_level =&#62; :off) Viewers available at: http://github.com/jarib/celerity-viewers/tree/master<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=37&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><code>
browser = Celerity::Browser.new(:viewer =&gt; "localhost:6429",
                                :log_level =&gt; :off)
</code></pre>
<p>Viewers available at: <a href="http://github.com/jarib/celerity-viewers/tree/master">http://github.com/jarib/celerity-viewers/tree/master</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=37&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/11/viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
		<item>
		<title>Page Caching</title>
		<link>http://inetagent.wordpress.com/2009/08/11/page-caching/</link>
		<comments>http://inetagent.wordpress.com/2009/08/11/page-caching/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 07:33:04 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[crawl]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[celerity]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=26</guid>
		<description><![CDATA[Note: This does not work. Only the pointer to the object gets marshaled, not the object itself. require "rubygems" require "celerity" browser = Celerity::Browser.new :browser =&#62; :firefox, :log_level =&#62; :off browser.clear_cookies browser.goto("http://www.google.com/") browser.resynchronized do browser.link(:text, "News").click end File.open("#{Dir.pwd}/monster.dmp", 'w') do &#124;f&#124; f.write(Marshal.dump(browser.page)) end File.open("#{Dir.pwd}/monster.dmp", 'r') do &#124;f&#124; browser.page = Marshal.load(f) end puts browser.url see also [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=26&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Note: This does not work. Only the pointer to the object gets marshaled, not the object itself. </p>
<pre><code>
require "rubygems"
require "celerity"

browser = Celerity::Browser.new :browser =&gt; :firefox, :log_level =&gt; :off
browser.clear_cookies

browser.goto("http://www.google.com/")

browser.resynchronized do
  browser.link(:text, "News").click
end

File.open("#{Dir.pwd}/monster.dmp", 'w') do |f|
  f.write(Marshal.dump(browser.page))
end

File.open("#{Dir.pwd}/monster.dmp", 'r') do |f|
  browser.page = Marshal.load(f)
end

puts browser.url
</code></pre>
<p>see also <a href="http://gist.github.com/165436">http://gist.github.com/165436</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=26&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/11/page-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
		<item>
		<title>Breadth first or Depth First.</title>
		<link>http://inetagent.wordpress.com/2009/08/10/breadth-first-of-depth-first/</link>
		<comments>http://inetagent.wordpress.com/2009/08/10/breadth-first-of-depth-first/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 20:53:26 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[crawl]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[breadth first]]></category>
		<category><![CDATA[crawl strategy]]></category>
		<category><![CDATA[depth first]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=20</guid>
		<description><![CDATA[Unless you can cache pages, a breadth first is more expensive that depth first. In a dynamic page environment it is more expensive to do a breadth first search (which you would normally do in a pure html environment). In the dynamic environment you must always be in the context of the page that contains [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=20&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unless you can cache pages, a breadth first is more expensive that depth first. In a dynamic page environment it is more expensive to do a breadth first search (which you would normally do in a pure html environment). In the dynamic environment you must always be in the context of the page that contains the link.</p>
<p>A breadth first will require a permanent rollback to the current position in the FIFO list of the breadth first search tree.</p>
<pre><code>
Root -&gt; Link a - current page root
Root -&gt; Link b - current page root
Root -&gt; link c - current page root
<strong>Click Link a</strong>
Link a -&gt; link d - current page a
Link a -&gt; link e - current page a
Link a -&gt; link f - current page a
<strong>Goto Root</strong>
<strong>Click link b</strong>
</code></pre>
<p>The deeper the tree get the more rollback needs to be done &#8211; from root to wherever the current tree position is.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=20&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/10/breadth-first-of-depth-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
		<item>
		<title>The form percept</title>
		<link>http://inetagent.wordpress.com/2009/08/10/the-form-percept/</link>
		<comments>http://inetagent.wordpress.com/2009/08/10/the-form-percept/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 14:33:27 +0000</pubDate>
		<dc:creator>jasoninclass</dc:creator>
				<category><![CDATA[forms]]></category>
		<category><![CDATA[percepts]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[percept]]></category>

		<guid isPermaLink="false">http://inetagent.wordpress.com/?p=3</guid>
		<description><![CDATA[In general the form tag has an method &#8220;GET&#8221; or &#8220;POST&#8221; that can be associated with and an action. The action is defined by a target URL (relative or absolute) behind which, some piece of software on the server side will pick up and process the data that the user provided through the input elements [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=3&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In general the form tag has an method &#8220;GET&#8221; or &#8220;POST&#8221; that can be associated with and an action. The action is defined by a target URL (relative or absolute) behind which, some piece of software on the server side will pick up and process the data that the user provided through the input elements from withing the form tags on the HTML page.</p>
<pre><code>&lt;form&gt;
  &lt;input/&gt;
  &lt;input/&gt;
  &lt;input/&gt;
&lt;/form&gt;
</code></pre>
<p>This specification does not specify all valid submission methods or <a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type">content types</a> that may be used with forms. However, HTML 4 user agents must support the established conventions in the following cases:</p>
<ul>
<li>If the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method"> method</a> is &#8220;get&#8221; and the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action">action</a> is an HTTP URI, the user agent takes the value of <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action">action</a>, appends a `?&#8217; to it, then appends the <a href="http://www.w3.org/TR/html401/interact/forms.html#form-data-set">form data set</a>, encoded using the &#8220;application/x-www-form-urlencoded&#8221; <a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type">content type</a>. The user agent then traverses the link to this URI. In this scenario, form data are restricted to ASCII codes.</li>
<li>If the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method"> method</a> is &#8220;post&#8221; and the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action">action</a> is an HTTP URI, the user agent conducts an HTTP &#8220;post&#8221; transaction using the value of the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action">action</a> attribute and a message created according to the <a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type"> content type</a> specified by the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-enctype">enctype</a> attribute.</li>
</ul>
<p>For any other value of <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action">action</a> or <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method">method</a>, behavior is unspecified.</p>
<p><strong>Inputs outside form tags.</strong></p>
<p>You might think that this is invalid:</p>
<pre><code>&lt;form&gt;
&lt;/form&gt;
&lt;div&gt;
  &lt;input&gt;
  &lt;input&gt;
&lt;/div&gt;
</code></pre>
<p>And of course it is.</p>
<p>What does it mean? Why are input elements outside a form tag valid.<br />
Actually in the case above the form tags are irrelevant because they have no elements within them.</p>
<p>So a more appropriate notation would be:</p>
<pre><code>&lt;div&gt;
  &lt;input&gt;
  &lt;input&gt;
&lt;/div&gt;
</code></pre>
<p>Inputs can be children of and block element. Why?, well you can of course let users input data, manipulate it and display the results using client side javascript without ever having to send it to the server. This is the idea behind inputs outside the form tags.</p>
<p>Think of a simple calculator on a Html page &#8211; this need no server side processing at all, put it does need input from the user.</p>
<p><strong>What does this mean?</strong></p>
<p>1. If input elements are outside a form then we can take for granted that they javascript will be processing them. <strong>BUT</strong> we do not know if they will be processed entirely by the client, partly by the client and partly by the server, or entirely by the server.</p>
<p>2. If input elements are within a form then we know that the inputs will be sent to the server <strong>IF</strong> there is a submit button defined. If there is no submit button defined then we can take it for granted that some client side javascript will be listening to some element like a link and will send some, or all &#8211; as is &#8211; or changed &#8211; parameters to the server, either using standard or custom javascript methods.</p>
<p>3. If input elements are outside a form then we can not identify which inputs belong together. Again, different pieces of javascript code could be responsible for sending different sets of input values to the server.</p>
<p><strong>The answer is clustering input using the DOM tree: </strong></p>
<p>This will have the best indication of what inputs belong together from a user perspective. This also has the advantage that a &#8220;unique set&#8221; can be identified &#8211; this means that we can identify the the form as being unique on any leaf of the website tree.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/inetagent.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/inetagent.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/inetagent.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=inetagent.wordpress.com&amp;blog=8947783&amp;post=3&amp;subd=inetagent&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://inetagent.wordpress.com/2009/08/10/the-form-percept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50f02102b3aa5572f14876cbc6bc550e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jasoninclass</media:title>
		</media:content>
	</item>
	</channel>
</rss>
