<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Dave Dash</title>
 <link href="http://davedash.com/tag/github/atom.xml" rel="self"/>
 <link href="http://davedash.com/tag/github"/>
 <updated>2012-01-17T21:54:19-08:00</updated>
 <id>http://davedash.com/</id>
 <author>
   <name>Dave Dash</name>
   <email>dd+atom1@davedash.com</email>
 </author>

 
 <entry>
   <title>Have unique descriptive page titles</title>
   <link href="http://davedash.com/2009/07/31/have-unique-descriptive-page-titles/"/>
   <updated>2009-07-31T00:00:00-07:00</updated>
   <id>http://davedash.com/2009/07/31/have-unique-descriptive-page-titles</id>
   <content type="html">&lt;div style=&quot;float:right&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/44124375866@N01/3764074726&quot; title=&quot;View 'Sphinx - Free open-source SQL full-text search engine - (Build 20090715083437)' on Flickr.com&quot;&gt;&lt;div style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3588/3764074726_0c02ffd18c.jpg&quot; alt=&quot;Sphinx - Free open-source SQL full-text search engine - (Build 20090715083437)&quot; border=&quot;0&quot; width=&quot;483&quot; height=&quot;338&quot; /&gt;&lt;/div&gt;&lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;One of my internet pet-peeves is people using the same page title for every page on their web site.  Take a look at &lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=+site:www.sphinxsearch.com+sphinx+api+php&quot;&gt;this search for Sphinx&lt;/a&gt;.  As you can see virtually all the links for Sphinx are titled &quot;Sphinx - Free open-source SQL full-text search engine&quot; which blows for usability when it comes to searching, or even managing the various pages you might have open in your web browser.&lt;/p&gt;

&lt;p&gt;To get an idea of the page I want I need to look at the abstract which may or may not give me a clue.  Even the forum posts which usually have subjects, have their &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; set to the site-wide default.&lt;/p&gt;

&lt;!--more--&gt;


&lt;p&gt;The first step in solving this, is identifying you have a problem in the first place.  So I wrote &lt;a href=&quot;http://github.com/davedash/Title-Variance/tree&quot;&gt;a tool&lt;/a&gt; in python to determine how unique the page titles you have are:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% python measure.py sphinxsearch.com
1050 titles found for sphinxsearch.com
483 unique titles found for sphinxsearch.com
46% of the pages on sphinxsearch.com have unique titles
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is fairly telling.  It means over half the pages on sphinxsearch.com have a generic title.&lt;/p&gt;

&lt;p&gt;This site faired a bit better:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;% python measure.py spindrop.us
988 titles found for spindrop.us
822 unique titles found for spindrop.us
83% of the pages on spindrop.us have unique titles
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So please, think about people trying to use the information on your site.  Design your templates in such a way that you can come up with unique titles.&lt;/p&gt;

&lt;p&gt;Feel free to expand on this tool, it could easily output the offending pages or titles.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Comprehensive list of international dialing codes</title>
   <link href="http://davedash.com/2009/07/01/list-of-comprehensive-international-dialing-codes/"/>
   <updated>2009-07-01T00:00:00-07:00</updated>
   <id>http://davedash.com/2009/07/01/list-of-comprehensive-international-dialing-codes</id>
   <content type="html">&lt;p&gt;I get bored with mundane tasks.  So I create little adventures for myself.  I had to create a list of countries and country codes to use on the &lt;a href=&quot;http://mozilla.com/mobile&quot;&gt;Firefox mobile home page&lt;/a&gt;.  The first few lists were incomplete, so I made my own by parsing a list provided by the International Telecommunication Union.  I stripped it down to simple forms of the country names and removed codes that are very rare (satellite phones).&lt;/p&gt;

&lt;p&gt;Well this could be a boring task for most people, so I placed it on [github][http://github.com/davedash/International-Dialing-Codes/].  Feel free to use this in your own projects, I even include a perl one-liner in the README to convert this into a drop down HTML list.&lt;/p&gt;
</content>
 </entry>
 

</feed>

