<?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/"
	>

<channel>
	<title>Barklund.org &#187; DOM 2 Traversal and Range</title>
	<atom:link href="http://www.barklund.org/blog/category/programming/xml/traversal-and-range/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barklund.org/blog</link>
	<description>work smarter when building current web trends</description>
	<lastBuildDate>Wed, 26 May 2010 09:49:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Copy-Paste Injection &#8211; January 2010 Ideas</title>
		<link>http://www.barklund.org/blog/2010/01/16/copy-paste-injection-january-2010-idea/</link>
		<comments>http://www.barklund.org/blog/2010/01/16/copy-paste-injection-january-2010-idea/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 08:00:50 +0000</pubDate>
		<dc:creator>Barklund</dc:creator>
				<category><![CDATA[DOM 2 Traversal and Range]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[January 2010 Ideas]]></category>
		<category><![CDATA[Online Rights]]></category>
		<category><![CDATA[Trends]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.barklund.org/blog/?p=614</guid>
		<description><![CDATA[The sixteenth idea for my 365 social ideas is an idea for a technical tool to assist everyone in getting the credit they deserve and the loyalty they can expect: a copy-paste injection script. It is the very same idea that tynt.com has &#8220;created&#8221;, but they keep the technology (how simple it may be) to [...]


Related posts:<ol><li><a href='http://www.barklund.org/blog/2010/01/22/social-traffic-analyzer-january-2010-idea/' rel='bookmark' title='Permanent Link: Social Traffic Analyzer &#8211; January 2010 Ideas'>Social Traffic Analyzer &#8211; January 2010 Ideas</a></li>
<li><a href='http://www.barklund.org/blog/2010/01/09/comment-on-everything-january-2010-idea/' rel='bookmark' title='Permanent Link: Comment On Everything &#8211; January 2010 Ideas'>Comment On Everything &#8211; January 2010 Ideas</a></li>
<li><a href='http://www.barklund.org/blog/2010/01/07/app-idea-store-january-2010-idea/' rel='bookmark' title='Permanent Link: App Idea Store &#8211; January 2010 Ideas'>App Idea Store &#8211; January 2010 Ideas</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The sixteenth idea for my <a href="/blog/365ideas/" title="365 Social Ideas from Barklund.org">365 social ideas</a> is an idea for a technical tool to assist everyone in getting the credit they deserve and the loyalty they can expect: a copy-paste injection script. It is the very same idea that <a href="http://www.tynt.com/" title="Tynt.com">tynt.com</a> has &#8220;created&#8221;, but they keep the technology (how simple it may be) to themselves and have <a href="http://www1.tynt.com/patents" title="Tynt.com about patents">even filed for a patent</a>.</p>
<p><span id="more-614"></span></p>
<p>Well, I have implemented a <a href="/examples/copypaste">very simple demo</a> of the first steps. So far, <a href="/examples/copypaste/jquery.copypaste.js">the script</a> only makes sure to add some extra text to the current selection when ever the mouse button is released (which is how most users select most text) and it only works in Firefox (tested in 3.6). Next steps include making the link direct to the actually selected content, record text copying in Google Analytics, add cross-browser checks etc.</p>
<p>The script is published under the same license as these ideas, CC-BY 3.0.</p>
<h4 id="toc-why">Why?</h4>
<p>Copy-paste is another quite common way of interacting with websites and allowing people to easily spread the word about your website in a new way ensures you credit where such is due. Creating a full-featured jQuery-plugin from this should be fairly easy and then making sure it integrates with Google Analytics if present &#8211; and then we&#8217;re actually done.</p>
<h4 id="toc-whats-next">What&#8217;s next?</h4>
<p>Do with this idea whatever you like &#8211; expand, implement, trash or forget. Just remember, that if you use it in anyway make sure to attribute me according to the Creative Commons Attribution 3.0 License, that all these <a href="/blog/365ideas" title="365 Social Ideas from Barklund.org">365 Social Ideas</a> are published under.</p>


<p>Related posts:<ol><li><a href='http://www.barklund.org/blog/2010/01/22/social-traffic-analyzer-january-2010-idea/' rel='bookmark' title='Permanent Link: Social Traffic Analyzer &#8211; January 2010 Ideas'>Social Traffic Analyzer &#8211; January 2010 Ideas</a></li>
<li><a href='http://www.barklund.org/blog/2010/01/09/comment-on-everything-january-2010-idea/' rel='bookmark' title='Permanent Link: Comment On Everything &#8211; January 2010 Ideas'>Comment On Everything &#8211; January 2010 Ideas</a></li>
<li><a href='http://www.barklund.org/blog/2010/01/07/app-idea-store-january-2010-idea/' rel='bookmark' title='Permanent Link: App Idea Store &#8211; January 2010 Ideas'>App Idea Store &#8211; January 2010 Ideas</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.barklund.org/blog/2010/01/16/copy-paste-injection-january-2010-idea/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Implementers of DOM Level 2 Traversal and Range</title>
		<link>http://www.barklund.org/blog/2009/09/08/implementors-dom-2-traversal-and-range/</link>
		<comments>http://www.barklund.org/blog/2009/09/08/implementors-dom-2-traversal-and-range/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:18:29 +0000</pubDate>
		<dc:creator>Barklund</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[DOM 2 Traversal and Range]]></category>

		<guid isPermaLink="false">http://www.barklund.org/blog/?p=356</guid>
		<description><![CDATA[Having found an interest in the DOM Level 2 Traversal and Range specification I will try to gather information about implementations first. Before even testing whether implementations are conformant and/or where their differences lie, I will try simply to list all implementations. A list of popular XML tools implementing DOM in some way Name Language [...]


Related posts:<ol><li><a href='http://www.barklund.org/blog/2009/06/22/cctlds-for-second-level-foreign-registration/' rel='bookmark' title='Permanent Link: ccTLD&#8217;s for second-level foreign registration'>ccTLD&#8217;s for second-level foreign registration</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Having <a href="http://lists.w3.org/Archives/Public/www-dom/2009JulSep/0259.html" title="My initial post on the www-dom@w3 mailing list">found an interest</a> in the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/" title="Document Object Model (DOM) Level 2 Traversal and Range Specification from w3.org">DOM Level 2 Traversal and Range specification</a> I will try to gather information about implementations first.</p>
<p>Before even testing whether implementations are conformant and/or where their differences lie, I will try simply to list all implementations.</p>
<p><span id="more-356"></span></p>
<table border="1">
<caption>A list of popular XML tools implementing DOM in some way</caption>
<col style="width: 100px" />
<col style="width: 100px" />
<col style="width: 70px" />
<col style="width: 70px" />
<thead>
<tr>
<th>Name</th>
<th>Language</th>
<th>Traversal</th>
<th>Range</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="http://pyxml.sourceforge.net/topics/">pyXML</a></td>
<td>Python</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td><a href="http://cpan.uwinnipeg.ca/htdocs/XML-LibXML-Iterator/XML/LibXML/Iterator.html">LibXML</a></td>
<td>Perl</td>
<td>Partial</td>
<td>No</td>
</tr>
<tr>
<td><a href="http://xerces.apache.org/">Xerces</a></td>
<td>Java</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>libxml2/gdome2</td>
<td>C</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td>MSXML</td>
<td>.NET</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td><a href="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/DOM">Data.DOM</a></td>
<td>Haskell</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Trident</td>
<td>JavaScript</td>
<td>No</td>
<td>No</td>
<tr>
<td>Tasman</td>
<td>JavaScript</td>
<td>Unknown</td>
<td>Unknown</td>
<tr>
<td>Gecko</td>
<td>JavaScript</td>
<td>Yes</td>
<td>Yes</td>
<tr>
<td>Webkit</td>
<td>JavaScript</td>
<td>Unknown</td>
<td>Yes</td>
</tr>
<tr>
<td>KHTML</td>
<td>JavaScript</td>
<td>Unknown</td>
<td>Unknown</td>
<tr>
<td>Presto</td>
<td>JavaScript</td>
<td>Yes</td>
<td>Yes</td>
<tr>
<td>iCab</td>
<td>JavaScript</td>
<td>Unknown</td>
<td>Unknown</td>
</tr>
</tbody>
</table>
<p>It is noteworthy, that while LibXML (like many other libraries) is based on libxml2 (which in itself does not implement either traversal nor range) LibXML has a partial implementation of DOM2 Traversal.</p>
<p>If you know of any other implementations of DOM and particularly implementations of either traversal or range, please comment.</p>
<h3 id="toc-references">References</h3>
<p>Some of this has been found simply by googling, some has been found through <a href="http://www.w3.org/DOM/Bindings">the DOM bindings list</a> and some found at <a href="http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28Document_Object_Model%29" title="Comparison of layout engines (Document Object Model) on Wikipedia">Wikipedia about DOM comparison</a>. Finally I found <a href="http://www.xml.com/pub/rg/DOM_Software">this list of DOM software</a>, which has many other open or commercial implementations, that I will have to look through &#8211; many of them seem to use one of the above-mentioned, many only support DOM1, but the list might add some relevant implementations.<br />


<p>Related posts:<ol><li><a href='http://www.barklund.org/blog/2009/06/22/cctlds-for-second-level-foreign-registration/' rel='bookmark' title='Permanent Link: ccTLD&#8217;s for second-level foreign registration'>ccTLD&#8217;s for second-level foreign registration</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.barklund.org/blog/2009/09/08/implementors-dom-2-traversal-and-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
