<?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>[LINICKX].com &#187; css</title>
	<atom:link href="http://www.linickx.com/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:06:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Twittering with Tools</title>
		<link>http://www.linickx.com/385/twittering-with-tools</link>
		<comments>http://www.linickx.com/385/twittering-with-tools#comments</comments>
		<pubDate>Sat, 16 Feb 2008 19:12:57 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.linickx.com/archives/385/twittering-with-tools</guid>
		<description><![CDATA[LINICKX.com is evolving, I&#8217;m not sure how yet but I&#8217;ve started by introducing twitter tools, google has changed the face of websites, according to google analytics my home page is not longer the top landing page, i.e. most people visiting &#8230; <a href="http://www.linickx.com/385/twittering-with-tools">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>LINICKX.com is evolving, I&#8217;m not sure how yet but I&#8217;ve started by introducing <a href="http://alexking.org/projects/wordpress/readme?project=twitter-tools">twitter tools</a>, google has changed the face of websites, according to google analytics my home page is not longer the top landing page, i.e. most people visiting my site hit the content they want directly and don&#8217;t need to navigate through the site&#8230; with this in mind I&#8217;m thinking about turning linickx.com into a <a href="http://www.tumblr.com/">tumblr</a> type thing&#8230; twitter tools allows me to post short &#8220;thoughts&#8221; and &#8220;comments&#8221; without having to go through the full WordPress write post thing. </p>
<p>I started the idea along time ago when photomatt introduced asides, i.e. I&#8217;ve always had categories and different front page presentation styles for <a href="http://www.linickx.com/archives/category/blog">blog posts</a>, <a href="http://www.linickx.com/archives/category/firefox">firefox posts</a>, <a href="http://www.linickx.com/archives/category/delicious">delicious posts</a> and then everything else&#8230; so I&#8217;m thinking about taking the idea further by creating individual posts,feeds and styles for delicious links and rss shared items (<em>from google reader</em>).</p>
<p>Since I want to keep my feed clean (<em>it&#8217;s imported into many social networks like mugshot &#038; facebook</em>) I&#8217;ve used <a href="http://zeo.unic.net.my/notes/exclude-category-in-wordpress/">this post</a> to filter out my new &#8220;sync&#8221; category&#8230; sync as in I&#8217;m synchronising my web life with my website <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; Oh Yeah before I foget don&#8217;t add the code to functions.php as it creates a php warning, create a wordpress plugin.</p>
<p>My web/work/social life is quite busy &#8211; who&#8217;s isn&#8217;t!&#8230; so I&#8217;m a little worried about how to style the whole thing I found a nice way of <a href="http://www.htmlsource.co.uk/using-css-and-blockquote/">quote text with css</a>, so the tweets look good, but I&#8217;m worried that bookmarks and shared posts could make the site look cluttered or confusing, I&#8217;ve already had to add a &#8220;twitter reply&#8221; link to each post since the 1st thing people have asked me is what&#8217;s twitter.. doh must be a UK web-ignorance thing.</p>
<p>I guess we&#8217;ll just see how this pan&#8217;s out, I&#8217;ve just renewed this domain, so it&#8217;d be nice to finish for the domains birthday <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/385/twittering-with-tools/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Styling Apache Directory Listings.</title>
		<link>http://www.linickx.com/343/css-styling-apache-directory-listings</link>
		<comments>http://www.linickx.com/343/css-styling-apache-directory-listings#comments</comments>
		<pubDate>Thu, 11 Oct 2007 08:44:54 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.linickx.com/archives/343/css-styling-apache-directory-listings</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div style="float:right">
<table <tr>
<td><a href='http://www.linickx.com/files/2008/05/apachedirlisting_before.png' rel="lightbox[343]"><img src="http://www.linickx.com/files/2008/05/apachedirlisting_before-150x150.png" alt="Before I change Apache" title="Default Apache Directory Listing " width="150" height="150" class="alignnone size-thumbnail wp-image-409" /></a></td>
<tr>
<td style="text-align:center"><strong>Before.</strong></td>
</tr>
</table>
</div>
<p>As part of <a href="http://www.linickx.com/archives/336/website-changes">my website overhaul</a>, I&#8217;ve finally gotten round to styling my <a href="http://www.linickx.com/files/">/files/</a> directory. I was surprised at how easy it was actually, and the benefits far out way the time taken to set it up, not only does this part of the site now &#8220;fit in&#8221;, but I can apply analytics tracking and adsense <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I&#8217;m sure there probably is a wordpress plugin that can achieve the same thing&#8230; probably better, but I find my list of plugins ever growing and since I don&#8217;t <em>need</em> on for this I figure if Apache can do it, let Apache do it!</p>
<p>The work can be done in one of two ways either by pasting Apache directives into a .htaccess file (<em>in the directory you want to apply conf to</em>), or in your httpd.conf you can wrap it all up in a
<pre class="brush: plain; title: ; notranslate">&lt;Directory&gt; </pre>
<p> tag&#8230; something like
<pre class="brush: plain; title: ; notranslate">&lt;Directory &quot;/var/www/html/files/&quot;&gt; foobar&gt; &lt;/Directory&gt;</pre>
<p> below is an example of a .htaccess file as that will apply to most people:</p>
<pre class="brush: plain; title: ; notranslate">
        RewriteEngine Off
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options Indexes Includes
        IndexOptions FancyIndexing SuppressHTMLPreamble XHTML IconsAreLinks FoldersFirst SuppressDescription
        HeaderName /files/HEADER.shtml
        ReadmeName /files/README.shtml
</pre>
<p>Since my site uses wordpress with &#8220;pretty permalinks&#8221; enabled, the 1st thing I needed to do is disable mod re-write for the directory where I wanted listing enabled. Now if you check my <a href="http://www.linickx.com/files/">/files/</a> page you&#8217;ll notice that the page title and tag line under &#8220;[LINICKX].com&#8221; change depending on what directory you are viewing, this is done with &#8220;Server Side Includes&#8221; (<em>SSI</em>), so the next two options in the above config set that up.</p>
<p>Now to take a look at the actual directory listing setup, it might be worth you taking a look at the <a href="http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html">Apache documentation</a> for a full description, but the important ones to note are
<pre class="brush: plain; title: ; notranslate">Options Indexes Includes</pre>
<p> to enable directory listing and switch on SSI, then you need
<pre class="brush: plain; title: ; notranslate">IndexOptions SuppressHTMLPreamble XHTML</pre>
<p> to disable the default headers so that we can setup our style sheet and favour xHTML over HTML. Apache 2.2 users also have <a href="http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexstylesheet">IndexStyleSheet</a> available, but since I&#8217;m using CentOS4 we&#8217;ll do it this way. Finally you need the <b>HeaderName</b>, <b>ReadmeName</b> directives to tell Apache which file to look for (<em>by default Apache looks for README.html, but that won&#8217;t support SSI</em>)&#8230; note how my .shtml files are relative to my web root, these are not absolute paths on the file system, i.e. /files actually maps to /var/www/html/files. </p>
<p>You&#8217;re now good to go, HEADER.shtml should contain all the xHTML you want to appear before the directory listing, and README.html is everything after&#8230; make sure you include all the correct &lt;html&gt;, &lt;body&gt; and DOCTYPE tags.</p>
<p>Now you&#8217;ll want to get working is some dynamic content, for a simple &#8220;print current directory&#8221; you can use
<pre class="brush: plain; title: ; notranslate">&lt;!--#echo var=&quot;REQUEST_URI&quot;--&gt;</pre>
<p> in your html, further documentation on getting more magic is available <a href="http://webmaster.iu.edu/tool_guide_info/ssitutorial.shtml">here</a> &#038; <a href="http://www.georgedillon.com/web/ssivar.shtml">here</a>, I was able to knock up a simple line of code to print the current year at the bottom of the page&#8230;.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;!--#config timefmt=&quot;%Y&quot;--&gt;
&lt;small&gt;Nick Bettison 2005 - &lt;!--#echo var=&quot;DATE_LOCAL&quot;--&gt; &amp;amp;copy; &lt;/small&gt;;
</pre>
<p>Cool eh! The trick to watch out for is spaces in the above code, there should be no white space between
<pre class="brush: plain; title: ; notranslate">&lt;--#echo</pre>
<p> or the trailing
<pre class="brush: plain; title: ; notranslate">--&gt;</pre>
<div style="float:right">
<table <tr>
<td><a href='http://www.linickx.com/files/2008/05/apachedirlisting_after.png' rel="lightbox[343]"><img src="http://www.linickx.com/files/2008/05/apachedirlisting_after-150x150.png" alt="Looking much better" title="Linickx.com V2 Styled Listing!" width="150" height="150" class="alignnone size-thumbnail wp-image-410" /></a></td>
<tr>
<td style="text-align:center"><strong>After.</strong></td>
</tr>
</table>
</div>
<p>The final thing you&#8217;ll want to look at is those horible default icons! You have a couple of options: You can either simply replace/over-write the default ones (<em>on my flavour of linux they are in /var/www/icons</em>), or you can add
<pre class="brush: plain; title: ; notranslate">AddIcon /icons/tar.png .tar</pre>
<p> to your htaccess file telling apache to look at tar.png rather than the default tar.gif, I found some <a href="https://gna.org/projects/apache-icons/">deb archives</a> which I extracted with file-roller (<em>rather than trying to install anything</em>) and simply changed the ones I was going to use&#8230;. I&#8217;m very please with the final result, I think it makes a big difference.</p>
<p>Happy Styling One &amp; All!</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/343/css-styling-apache-directory-listings/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

