<?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>David Nash &#187; xhtml</title>
	<atom:link href="http://davidnash.com.au/category/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidnash.com.au</link>
	<description>Wordpress Guru Sydney</description>
	<lastBuildDate>Tue, 28 Feb 2012 06:12:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>HTML syntax highlighting for Silverstripe .ss template files in vim</title>
		<link>http://davidnash.com.au/2009/08/html-syntax-highlighting-for-silverstripe-ss-template-files-in-vim/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html-syntax-highlighting-for-silverstripe-ss-template-files-in-vim</link>
		<comments>http://davidnash.com.au/2009/08/html-syntax-highlighting-for-silverstripe-ss-template-files-in-vim/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 06:56:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[silverstripe]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[gvim]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=186</guid>
		<description><![CDATA[By default vim opens .ss files with some other file format syntax highlighting. To enable HTML (actually XHTML) syntax highlighting on your .SS Silverstripe template files, create (or edit) your ~/.vim/filetype.vim file. Then enter this: au BufNewFile,BufRead *.ss      setf xhtml Then open a .ss file and it&#8217;ll give you nice HTML syntax highlighting. And because [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/08/html-syntax-highlighting-for-silverstripe-ss-template-files-in-vim/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pixel Perfect Firefox Extension</title>
		<link>http://davidnash.com.au/2009/06/pixel-perfect-firefox-extension/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pixel-perfect-firefox-extension</link>
		<comments>http://davidnash.com.au/2009/06/pixel-perfect-firefox-extension/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 03:27:29 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=178</guid>
		<description><![CDATA[When I write HTML and CSS I&#8217;ll usually create a mockup &#8211; I take a high quality JPG of the design and put it into a very simple page that shows the JPG, centered on the screen. Then in Firefox I switch back and forth between the page I&#8217;m working on and the mockup so [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/06/pixel-perfect-firefox-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove empty LEGEND tags in Silverstripe search form</title>
		<link>http://davidnash.com.au/2009/05/remove-empty-legend-tags-in-silverstripe-search-form/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-empty-legend-tags-in-silverstripe-search-form</link>
		<comments>http://davidnash.com.au/2009/05/remove-empty-legend-tags-in-silverstripe-search-form/#comments</comments>
		<pubDate>Fri, 01 May 2009 01:28:41 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[silverstripe]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[semantic]]></category>
		<category><![CDATA[w3c valid]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=171</guid>
		<description><![CDATA[I&#8217;m pretty obsessive about my HTML validating with no errors and no warnings. It bugs me that when I use Silverstripe&#8217;s incredibly convenient $Searchform in the template that it outputs an empty legend tag inside the fieldset. There&#8217;s an easy way to fix this: Create a templates directory inside mysite. Copy sapphire/templates/SearchForm.ss to mysite/templates/SearchForm.ss Edit [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/05/remove-empty-legend-tags-in-silverstripe-search-form/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Strip &lt;span&gt; tags from HTML in vim</title>
		<link>http://davidnash.com.au/2009/04/strip-span-tags-from-html-in-vim/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strip-span-tags-from-html-in-vim</link>
		<comments>http://davidnash.com.au/2009/04/strip-span-tags-from-html-in-vim/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 05:04:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[gvim]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=159</guid>
		<description><![CDATA[When upgrading a website you might see source code like this: &#60;span style="font-family: Arial; color: #0000ff; font-size: small;"&#62;Some text goes here&#60;/span&#62; You&#8217;re using CSS now and all those &#60;span&#62; tags are ruining it. In gvim, do this search and substitute: %s/&#60;span.\{-}&#62;//g Then to get rid of the &#60;/span&#62; tags, do this: :%s/&#60;\/span&#62;//g]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/04/strip-span-tags-from-html-in-vim/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>1px high DIV in IE6</title>
		<link>http://davidnash.com.au/2009/02/1px-high-div-in-ie6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=1px-high-div-in-ie6</link>
		<comments>http://davidnash.com.au/2009/02/1px-high-div-in-ie6/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 02:57:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[high]]></category>
		<category><![CDATA[ie6]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=123</guid>
		<description><![CDATA[Very occasionally I&#8217;ll use an empty DIV for decoration, and in CSS use height: 1px. In IE6 to make this work you need to put comments inside the DIV, otherwise it&#8217;ll display at the height of the font you&#8217;re using. &#60;div class=&#8221;line&#8221;&#62;&#60;/div&#62; becomes &#60;div class=&#8221;line&#8221;&#62;&#60;!&#8211; &#8211;&#62;&#60;/div&#62; You don&#8217;t need any line-height fixes in the CSS. [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/02/1px-high-div-in-ie6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Assorted Handy vim Commands, Part 1</title>
		<link>http://davidnash.com.au/2009/01/assorted-handy-vim-commands-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=assorted-handy-vim-commands-part-1</link>
		<comments>http://davidnash.com.au/2009/01/assorted-handy-vim-commands-part-1/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 09:54:51 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=100</guid>
		<description><![CDATA[To reverse the order of lines, eg 1-5 : 1,5 g/^/m0 For example, one two three four five becomes five four three two one To remove blank lines : %g/^$/d Delete all lines that don&#8217;t contain &#8220;string&#8221; : %v/string/d]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/01/assorted-handy-vim-commands-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Turn all links in an HTML file into &#8216;#&#8217;</title>
		<link>http://davidnash.com.au/2009/01/turn-all-links-in-an-html-file-into/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=turn-all-links-in-an-html-file-into</link>
		<comments>http://davidnash.com.au/2009/01/turn-all-links-in-an-html-file-into/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 04:47:49 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=91</guid>
		<description><![CDATA[Replace all in the current file instances of: &#60;a href=&#8221;link_to_somewhere.html&#8221;&#62;link&#60;/a&#62; with: &#60;a href=&#8221;#&#8221;&#62;link&#60;/a&#62; :%s/\(a href="\)\(\S\+\)\("\)/\1#\3/g This is great if you&#8217;ve got a big HTML file that you want to demo to a client where you don&#8217;t want the links to do anything when clicked. You could also use javascript to do the same thing &#8211; [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/01/turn-all-links-in-an-html-file-into/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

