<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>xtfer</title>
	<atom:link href="http://xtfer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xtfer.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Apr 2009 06:08:39 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='xtfer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/152d09b9d717decd5d7eb6aaca51c83b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>xtfer</title>
		<link>http://xtfer.wordpress.com</link>
	</image>
			<item>
		<title>Export RSS feeds from Apple Mail</title>
		<link>http://xtfer.wordpress.com/2009/04/12/export-rss-feeds-from-apple-mail/</link>
		<comments>http://xtfer.wordpress.com/2009/04/12/export-rss-feeds-from-apple-mail/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 06:05:19 +0000</pubDate>
		<dc:creator>xtfer</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Attention Technology]]></category>

		<guid isPermaLink="false">http://xtfer.wordpress.com/?p=26</guid>
		<description><![CDATA[I&#8217;ve been moving my feeds from Apple Mail and Eventbox into a dedicated feed reader, to make it easier to manage and filter them. This was all going well until I tried to get my feeds out of Mail and discovered no OPML import or export ability (apparently, if you are a mac user, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=26&subd=xtfer&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been moving my feeds from Apple Mail and <a href="http://thecosmicmachine.com/">Eventbox</a> into a dedicated feed reader, to make it easier to manage and filter them. This was all going well until I tried to get my feeds out of Mail and discovered no OPML import or export ability (apparently, if you are a mac user, you won&#8217;t want this basic capability).</p>
<p>Thankfully, with the help of a very simple workout in Terminal (or an apple script) and a quick trip to the internet, this can all be fixed.<span id="more-26"></span><strong>Exporting the list</strong></p>
<p>First of all, you have to get your feeds out of Mail. This can be done using a simple piece of code in Terminal:</p>
<p>http://www.mactipper.com/2008/04/leopard-only-export-mails-rss-feeds.html (or)<br />
http://nasvel.wordpress.com/2008/06/19/export-rss-feeds-from-mac-mail/</p>
<p>The MacTipper link also includes a small applescript, which, when run, will export your list of feeds to a file or clipboard. Either is fine.</p>
<h2>Making it OPML</h2>
<p>You&#8217;ll still need this list in OPML format if you wish to bring it into another feed reader however, and for this there Peter Unold&#8217;s <a href="http://http://unold.dk/code/opmlgen/" target="_self">Plain Text to OPML Generator</a>. Paste your list in here and then save the output back to a text file called feeds.opml using a text editor, somewhere you can find it easily.</p>
<p>It&#8217;s then a simple case of importing the OPML file into your feed reader (mine is now <a href="http://www.vienna-rss.org" target="_self">Vienna</a>) of choice using its built in import capability.</p>
Posted in Apple, Attention Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtfer.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtfer.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtfer.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtfer.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtfer.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtfer.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtfer.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtfer.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtfer.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtfer.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=26&subd=xtfer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xtfer.wordpress.com/2009/04/12/export-rss-feeds-from-apple-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/babdf467dac04e2ca41be014f2e95169?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">xtfer</media:title>
		</media:content>
	</item>
		<item>
		<title>Improved Safari 4 rendering trips WordPress</title>
		<link>http://xtfer.wordpress.com/2009/02/28/improved-safari-4-rendering-trips-wordpress/</link>
		<comments>http://xtfer.wordpress.com/2009/02/28/improved-safari-4-rendering-trips-wordpress/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 02:53:51 +0000</pubDate>
		<dc:creator>xtfer</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://xtfer.wordpress.com/?p=20</guid>
		<description><![CDATA[UPDATE (12th April 2009): The WordPress folks seemed to have solved this problem now, despite their earlier refusal to do so. Cheers to them!
Newer, faster JavaScript engines pose a new minefield for web developers. Unlike XHTML or CSS, there is no JavaScript standard to rely upon.
For example, some of WordPress&#8217;s buttons and pop-ups seem to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=20&subd=xtfer&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATE (12th April 2009): The WordPress folks seemed to have solved this problem now, despite their earlier refusal to do so. Cheers to them!</strong></p>
<p>Newer, faster JavaScript engines pose a new minefield for web developers. Unlike XHTML or CSS, there is no JavaScript standard to rely upon.</p>
<p>For example, some of WordPress&#8217;s buttons and pop-ups seem to have broken in Safari 4.  Basically, it looks like the new JavaScript rendering engine doesn&#8217;t like their code.</p>
<p>The pop-up&#8217;s don&#8217;t seem to work, locking the window behind the pop-up mask, and some of the buttons seem to be non-functional.</p>
<p>I reported the issue and was told they &#8220;can&#8217;t&#8221; support beta browsers, but the issue goes deeper than that. If the code fails now it may also fail when that &#8220;beta&#8221; browser goes mainstream, and there was no indication that they had any intention of checking it.</p>
<p><strong>UPDATE : WordPress responded to this post via email, so I won&#8217;t post their generally balanced but slightly grumpy response&#8230;</strong></p>
<p>I&#8217;m really sorry I annoyed the folks at WordPress. They do have a great product, and I thought they&#8217;d like to know that it wasn&#8217;t working properly in Apple&#8217;s new browser.</p>
<p>Apparently not. Maybe I should explain myself further&#8230;</p>
<p>I guess we&#8217;ll just have to wait and see whether WordPress is still broken when Safari 4 gets a proper release, but my point was actually about Standards, and how developers can get tripped by them from time to time.</p>
<p>Automattic have claimed, correctly, that because this is a Beta release they won&#8217;t be supporting it. However Safari 4 Beta is the only browser (excluding developer-only nightly builds) to <a href="http://www.anomalousanomaly.com/2008/03/06/acid-3/">pass the Acid3 test</a> for rendering. Acid3 specifically tests ECMAScript and DOM rendering. The browser&#8217;s WordPress currently support get at best 75%, so there will be some changes, and Safari 4 is likely to herald them, just as Firefox 3 forced some sites to change their CSS. There&#8217;s a good chance that the issues affecting WordPress will be seen elsewhere too.</p>
<p>Microsoft has been through a similar issue recently, trying to decide how Internet Explorer 8 should render old websites aimed at Explorer 7.</p>
<p>I&#8217;m sure the folks at Automattic know all this, other <a href="http://wordpress.org/support/topic/247462">WordPress users have found the problem</a> also. I did seem to annoy them however.</p>
Posted in Apple, Marketing, Web 2.0  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtfer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtfer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtfer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtfer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtfer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtfer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtfer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtfer.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtfer.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtfer.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=20&subd=xtfer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xtfer.wordpress.com/2009/02/28/improved-safari-4-rendering-trips-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/babdf467dac04e2ca41be014f2e95169?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">xtfer</media:title>
		</media:content>
	</item>
		<item>
		<title>Safari 4 Tabs. Fail.</title>
		<link>http://xtfer.wordpress.com/2009/02/28/safari-4-tabs-fail/</link>
		<comments>http://xtfer.wordpress.com/2009/02/28/safari-4-tabs-fail/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 01:05:23 +0000</pubDate>
		<dc:creator>xtfer</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://xtfer.wordpress.com/?p=16</guid>
		<description><![CDATA[Safari 4 beta is fast, nifty and&#8230; has different tabs. You may like that, but I certainly didn&#8217;t. Here&#8217;s what&#8217;s wrong with Tabs along the top&#8230;

With multiple tabs open you can&#8217;t read the full title of the page. Fail!
Double clicking the title area minimises the window, so with Tabs on top, accidentally clicking twice while [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=16&subd=xtfer&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Safari 4 beta is fast, nifty and&#8230; has different tabs. You may like that, but I certainly didn&#8217;t. Here&#8217;s what&#8217;s wrong with Tabs along the top&#8230;</p>
<ol>
<li>With multiple tabs open you can&#8217;t read the full title of the page. Fail!</li>
<li>Double clicking the title area minimises the window, so with Tabs on top, accidentally clicking twice while selecting a tab minimises it completely. Fail!</li>
<li>Information about WHAT you are looking at is now truncated (1) as well as being further from the window. This is important, because it requires more work to scan across the bookmark and URL bars than it does to simply meet the top of the browser chrome. Fail!</li>
<li>The same goes for targeting a tab with a mouse or pointer. Fail!</li>
<li>The close button for the first tab is a hairs-width from the &#8220;close everything&#8221; button. Don&#8217;t hit the wrong one! Fail.</li>
</ol>
<p>One proposed advantage of having tabs at the top is that it takes up less screen real estate. But then, have you seen how big some mac screens are?? Most Mac users (except for smaller laptops) would run Safari at less than full screen anyway, just so it useable.</p>
<p>This seems like a big usability blunder for Apple, probably so that Safari 4 looked &#8220;New&#8221; or something. Ironically, the best menu bar feature for Chrome, its two control icons on the right of screen, don&#8217;t even appear in the Mac version of Safari 4. Safari on a PC can be run without menu&#8217;s on, which is tidy.</p>
<p>I don&#8217;t get it, Tabs weren&#8217;t broken. Why change them?</p>
<p>Thankfully, <a href="http://swedishcampground.com/safari-4-hidden-preferences">Random Genius</a>. has found a fix. Just open a Terminal window, type&#8230;</p>
<pre><code>defaults write com.apple.Safari DebugSafari4TabBarIsOnTop -bool NO</code>
<span style="font-family:0;">
</span></pre>
<p>And restart Safari. Your normal tabs are restored, and you now get all the benefits of a very fast CSS and JavaScript rendering engine without the frustration.</p>
<p>For more ways to revert bits of Safari 4 you don&#8217;t like, visit <a href="http://swedishcampground.com/safari-4-hidden-preferences">Random Genius</a>.</p>
Posted in Apple Tagged: Safari <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtfer.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtfer.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtfer.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtfer.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtfer.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtfer.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtfer.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtfer.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtfer.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtfer.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=16&subd=xtfer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xtfer.wordpress.com/2009/02/28/safari-4-tabs-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/babdf467dac04e2ca41be014f2e95169?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">xtfer</media:title>
		</media:content>
	</item>
		<item>
		<title>Sorting the CSS Mess</title>
		<link>http://xtfer.wordpress.com/2009/02/18/sorting-the-css-mess/</link>
		<comments>http://xtfer.wordpress.com/2009/02/18/sorting-the-css-mess/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 01:47:59 +0000</pubDate>
		<dc:creator>xtfer</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://xtfer.wordpress.com/?p=8</guid>
		<description><![CDATA[You&#8217;ve just updated a website design or finished a lengthy series of design iterations, and your CSS file has grown with every move, but chances are you don&#8217;t need half the selectors that are in there. This can be especially true if you have adapted a default theme, or are using a templating system that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=8&subd=xtfer&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You&#8217;ve just updated a website design or finished a lengthy series of design iterations, and your CSS file has grown with every move, but chances are you don&#8217;t need half the selectors that are in there. This can be especially true if you have adapted a default theme, or are using a templating system that has inheritance, like that used by Drupal.</p>
<p>Using the combination of a good CSS Optimizer, DustMeSelectors, and a little bit of PHP, however, you can fix it in no time at all.<br />
<span id="more-8"></span></p>
<h2>Optimize your CSS</h2>
<p>Running your CSS through an optimizer is good practice. It will reduce file size, sort selectors, remove incorrect properties and generally tidy your mess. There are several available on the interwebs, but my favourite is <a title="CSS Optimizer" href="http://floele.flyspray.org/csstidy/" target="_blank">Optimizer over at Flyspray</a>.</p>
<p>Some good settings for the Floele@Flyspray CSS Optimizer are:</p>
<ul>
<li>Compression: High (puts each selector on its own line)</li>
<li>Sort both selectors and properties</li>
<li>Choose lowercase selectors and properties (always make your selectors lowercase)</li>
<li>Remove last ;</li>
</ul>
<p>This should spit out a nice, clean CSS file sorted by ID&#8217;s, classes and elements, and then alphabetically.  Once you get used to this, it makes finding your selectors a piece of cake, and ensures that the <a href="http://www.w3.org/TR/CSS21/cascade.html#specificity" target="_blank">CSS specificity</a> is uniform.</p>
<p>If you didn&#8217;t write your CSS like this in the first place, you may find that your site has now changed(?!), so you may need to go back and correctly weight or remove selectors (I usually find myself able to remove properties after ordering my CSS, rather than adding them).</p>
<h2>Dust off </h2>
<p>Next, you want to know which selectors you don&#8217;t actually need. Thankfully, there is <a href="http://www.sitepoint.com/dustmeselectors/" target="_blank">a Firefox extension which makes this dead easy, Dust-Me Selectors</a>. </p>
<p>Once you have installed Dust-Me, simply visit each type of page on your site and click the Dust-Me icon to scan your css. I usually visit some combination of:</p>
<ul>
<li>The home page</li>
<li>One of every content type</li>
<li>Administration pages</li>
<li>Channel or aggregation pages</li>
<li>Forums</li>
<li>Log in page</li>
<li>Any other special or unique page</li>
</ul>
<p>At the end, you should be able to export a list of unused selectors to CSV from Dust-Me.</p>
<h2>Cross Check</h2>
<p>Here&#8217;s the annoying bit. Now, using the CSV list of selectors, cross-check this line-by-line with your original CSS file and remove anything that appears in both.</p>
<p>That&#8217;s what I started doing, but by line 10 of 256 I was over it, and decided it would be quicker to use PHP. So, here is the solution.</p>
<p>The code below will cross check your Optimized CSS file with a text file of Selector names to remove. </p>
<p>There are some caveats with this script:</p>
<ul>
<li>It assumes you have <a href="http://floele.flyspray.org/csstidy/" target="_blank">optimized</a> first, to remove errors.</li>
<li>Selectors and their properties must be on a single line e.g.</li>
<pre> .style{width:100%;height:20px)
<em>not</em>
.style {
   width:100%;
   height:20px;
}</pre>
<li> There are no comments in your files</li>
<li>The selectors to remove (from Dust-Me) are in a simple list inside a text file, with a new selector on each line, e.g.</li>
<pre>.style
.style a
.style h2 </pre>
</ul>
<p>Save the script in a new file called process.php, save your css into the same folder in a file called style.css, and your list of selectors to selectors.txt.</p>
<p>Hit process.php in your browser, and it should spit out a list of the remaining selectors, which you can copy back over your original stylesheet (but save a backup of the original as well).</p>
<p>You may want to run this list back through the Optimizer to remove duplicate properties and make it a bit smaller again.</p>
<pre>&lt;?php
/**
 * Compares a css file with a list of selectors and removes matching
 * Files must be in this directory
*/

process();

function process() {
<span>	</span>// Get CSS file (style.css) and read into a starter array
<span>	</span>$css_original = "style.css";
<span>	</span>$style_setup = file($css_original,FILE_SKIP_EMPTY_LINES);

<span>	</span>// Transfer that into a key, value array
<span>	</span>$styles = array();

<span>	</span>foreach($style_setup as $line) {
<span>		</span>//pull the definition off the end
<span>		</span>$kv = explode("{",$line);
<span>		</span>$selectors = $kv[0];
<span>		</span>$definition = "{".$kv[1];

<span>		</span>//break up the selectors
<span>		</span>$s = explode(",", $selectors);

<span>		</span>//add the selectors and definitions to the styles array
<span>		</span>foreach ($s as $item){
<span>			</span>$key = trim($item);
<span>			</span>$styles[$key] = $definition;
<span>		</span>}
<span>	</span>}
<span>	</span>// remove duplicates
<span>	</span>$styles = array_unique($styles);

<span>	</span>echo "Style.css completed\n";
<span>	</span>echo '&lt;h1&gt;Original Styles&lt;/h1&gt;';
<span>	</span>print_styles($styles);

<span>	</span>// Get Selectors list (selectors.txt) and read into a single column array
<span>	</span>$css_remove = "selectors.txt";
<span>	</span>$selectorslist = file($css_remove,FILE_SKIP_EMPTY_LINES);

<span>	</span>//remove dupes and trim whitespace
<span>	</span>$selectorslist = array_unique($selectorslist);
<span>	</span>foreach($selectorslist as $item) {
<span>		</span>$discardlist[] = trim($item);
<span>	</span>}

<span>	</span>// Find matches in both files and create a keep and discard array
<span>	</span>$css_discard = array();
<span>	</span>$css_keep = array();\

<span>	</span>foreach($styles as $key =&gt; $value){
<span>		</span>if(in_array($key,$discardlist)){
<span>			</span>$css_discard[$key] = $value;
<span>		</span>} else {
<span>			</span>$css_keep[$key] = $value;
<span>		</span>}
<span>	</span>}

<span>	</span>// print remaining style to screen
<span>	</span>echo '&lt;h1&gt;Remaining CSS&lt;/h1&gt;';
<span>	</span>print_styles($css_keep);

}

function print_styles($items) {
<span>	</span>foreach($items as $key =&gt; $value){
<span>		</span>echo $key.' '.$value.'&lt;br /&gt;';
<span>	</span>}
}
?&gt;</pre>
<p>This is a simple script, and intended for a specific purpose, so you may find it doesn&#8217;t work in some situations &#8211; I haven&#8217;t tested it extensively. I also am not responsible if you accidentally delete CSS you really needed&#8230; you need to make those calls yourself. Best of luck.</p>
Posted in Web Design Tagged: css, php <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtfer.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtfer.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtfer.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtfer.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtfer.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtfer.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtfer.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtfer.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtfer.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtfer.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=8&subd=xtfer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xtfer.wordpress.com/2009/02/18/sorting-the-css-mess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/babdf467dac04e2ca41be014f2e95169?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">xtfer</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with Drupal: Multisites</title>
		<link>http://xtfer.wordpress.com/2008/11/15/working-with-drupal-multisites/</link>
		<comments>http://xtfer.wordpress.com/2008/11/15/working-with-drupal-multisites/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 01:32:28 +0000</pubDate>
		<dc:creator>xtfer</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://xtfer.wordpress.com/?p=4</guid>
		<description><![CDATA[Multisite installations in Drupal 5 were either simple or dangerously complicated. With Drupal 6, however, its much easier to create simple, inheritance-based multisite setups, using only a couple of modules and some theming know-how.

Domain Access and Virtual Sites
The two modules that make all this much simpler are Domain Access and Virtual Sites. Only one is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=4&subd=xtfer&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Multisite installations in Drupal 5 were either simple or dangerously complicated. With Drupal 6, however, its much easier to create simple, inheritance-based multisite setups, using only a couple of modules and some theming know-how.</p>
<p><span id="more-4"></span></p>
<h2>Domain Access and Virtual Sites</h2>
<p>The two modules that make all this much simpler are <a title="Domain Access" href="http://drupal.org/project/domain" target="_blank">Domain Access</a> and <a title="Virtual Sites" href="http://drupal.org/project/virtual_site" target="_blank">Virtual Sites</a>. Only one is required and they both have a different set of features, but each allows you to configure websites on different domains which share Users, Content and other basic features, without table prefixing or other nasties.</p>
<h3>Domain Access</h3>
<p><strong>Domain Access</strong> is designed to manage &#8220;affiliate sites&#8221;, which may or may not need to share content and users. It&#8217;s very powerful and flexible, but add&#8217;s a requirement that all content is associated with at least one site. This can be set by default, but if you have a large backlog of content and its not all on the one site you have to configure this manually. Depending on how many nodes you have this may be a big job.</p>
<p>Otherwise, Domain Access has a strong feature set:</p>
<ul>
<li>Multiple hostnames per domain</li>
<li>Configure offline &amp; footer messages, as well as default homepage</li>
<li>Provides menu blocks for each domain</li>
<li>Optional table prefixing functions</li>
<li>Set a default domain for site links</li>
<li>Optionally require users to belong to a domain to see content for it</li>
<li>Set the domain theme</li>
<li>Automatically creates subdomains for each user</li>
<li>Integration with Views, Organic Groups and Taxonomy Access Control </li>
</ul>
<p>To get Domain Access to work does require adding a few lines of code to your site settings file, and it will require a rebuild of your node access permission on install.</p>
<h3>Virtual Sites</h3>
<p>On the other hand, if you want a simpler solution, <strong>Virtual Sites</strong> is a good option. This module leverages the Condition module to check for various conditions and returns a Site configuration as a result.</p>
<p>While Virtual Sites doesn&#8217;t limit content or users the way Domain Access does, it gives you more configuration options and allows you to switch &#8220;site&#8221; based on any rule (or combination of rules) set in Condition (currently Hostname, Path, Site Folder or Custom PHP, which could be used to set on Taxonomy options as well)&#8230;</p>
<ul>
<li>Set different themes and theme settings</li>
<li>Set different site information</li>
<li>Add custom CSS or JS</li>
<li>Set custom drupal variables</li>
<li>Force a base url</li>
<li>Set the site language</li>
</ul>
<h3>Conclusions</h3>
<p>Both <strong>Virtual Sites</strong> and <strong>Domain Access</strong> offer a powerful set of features that allow the user to easily create new sites from their drupal installation. Domain Access is more suited to affiliated sites which want to control access and posting across domains, while Virtual Sites is suited to control and display of content at the theme level.</p>
Posted in Drupal Tagged: Drupal <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xtfer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xtfer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xtfer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xtfer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xtfer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xtfer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xtfer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xtfer.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xtfer.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xtfer.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xtfer.wordpress.com&blog=3772776&post=4&subd=xtfer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xtfer.wordpress.com/2008/11/15/working-with-drupal-multisites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/babdf467dac04e2ca41be014f2e95169?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">xtfer</media:title>
		</media:content>
	</item>
	</channel>
</rss>