<?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>Shepline Creative &#187; tips&#8217;n&#8217;tricks</title>
	<atom:link href="http://creative.shepline.com/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://creative.shepline.com</link>
	<description>design, maintenance and support for the online world</description>
	<lastBuildDate>Thu, 10 Mar 2011 15:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Aged Type Effect in Photoshop</title>
		<link>http://creative.shepline.com/2010/09/23/aged-type-effect-in-photoshop/</link>
		<comments>http://creative.shepline.com/2010/09/23/aged-type-effect-in-photoshop/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 13:26:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tips'n'tricks]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=290</guid>
		<description><![CDATA[A useful Photoshop technique for adding an aged effect onto type in Photoshop can be found here: ( aged type effect in photoshop ) Create your type as you normally would Rasterize the type Add noise, around 25%. Be sure the check the ‘Monochromatic’ checkbox. Adjust the Input Levels, bring the black level up to [...]]]></description>
			<content:encoded><![CDATA[<p>A useful Photoshop technique for adding an aged effect onto type in Photoshop can be found here:</p>
<p><strong>( <a href="http://www.gomediazine.com/tutorials/photoshop/aged-type-effect-photoshop-action/">aged type effect in photoshop</a> )</strong></p>
<ul>
<li>Create your type as you normally would</li>
<li>Rasterize the type</li>
<li><strong>Add noise</strong>, around 25%. Be sure the check the ‘Monochromatic’ checkbox.</li>
<li>Adjust the <strong>Input Levels</strong>, bring the black level up to about 70</li>
<li>Run a very slight <strong>Gaussian Blur</strong> on your type – like 1 or 2 px</li>
<li>Run <strong>Smart Sharpen</strong> to remove the blur but keep some  of the organic distressing / softening that occurs.  Like 200% for the  amount and about 15 for the radius.</li>
<li>Adjust <strong>Levels</strong> again – bring black up to about 50 and white down to 69.</li>
</ul>
<p>Or just download the <a href="http://www.gomediazine.com/wp-content/plugins/download-monitor/download.php?id=agedtype-bygomedia.atn">Aged Text Effect Photoshop Action</a> and never have to remember how to do it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2010/09/23/aged-type-effect-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting permalinks in WordPress</title>
		<link>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/</link>
		<comments>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 10:26:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[tips'n'tricks]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=232</guid>
		<description><![CDATA[For my sins, I use a webhost which works on Windows servers. For the most part, it makes not a jot of difference to me but does cause a few headaches when setting up sites using a wordpress install at the base of it. In particular setting nice pretty permalinks when I don&#8217;t have access [...]]]></description>
			<content:encoded><![CDATA[<p>For my sins, I use a webhost which works on Windows servers. For the most part, it makes not a jot of difference to me but does cause a few headaches when setting up sites using a wordpress install at the base of it. In particular setting nice pretty permalinks when I don&#8217;t have access to IIS mod rewrite rules&#8230;</p>
<p>I did manage it on <a href="http://creative.shepline.com">this very site</a>Â eventually, but it wasn&#8217;t straight forward particularly as I needed a separate 404 redirect for the subdomain (which I didn&#8217;t have access to). Setting up <a href="http://bvtoday.net">the new BVToday.net website</a>Â is more straight forward, but I thought I would post <a href="http://www.keyboardface.com/archives/2007/09/07/update-for-wordpress-permalinks-on-iis/">the solution here, partly for my own future benefit</a>:</p>
<h3>Requirements and Install instructions:</h3>
<ul>
<li>IIS for Windows</li>
<li>WordPress</li>
<li>Ability to change your 404 error page with your web host.</li>
</ul>
<p>To install, copy and paste this text into a file named <strong>wp-404-handler.php</strong>:</p>
<blockquote><p><code>&lt;?php<br />
$qs = $_SERVER['QUERY_STRING'];<br />
$_SERVER['REQUEST_URI'] = substr($qs, strpos($qs, ':80')+3);<br />
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];<br />
include('index.php');<br />
?&gt;</code></p></blockquote>
<p>Next set the 404 error page to /wp-404-handler.php. If it gives you a choice between <strong>file</strong> and <strong>url</strong>, choose <strong>url</strong>.</p>
<p>Lastly, make sure you enable permalinks in the WordPress control panel under Options &gt; Permalinks.</p>
<p>This solution supercedes <a href="http://www.keyboardface.com/iis-permalinks/">the ASP solution</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2009/09/23/permalinks-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lightbox vs. Twitter</title>
		<link>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/</link>
		<comments>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:34:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[tips'n'tricks]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://creative.shepline.com/?p=222</guid>
		<description><![CDATA[Whilst rolling out a new, spruced up, clean site design to my own website that conforms to both XHTML Strict DTDs and CSS 2.1, I encountered a conflict with the javascript scripting involved with the Lightbox that I was implementing. Although the pages continued to validate against the DTDÂ and the CSS was similarly fine, and [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst rolling out a new, spruced up, clean site design to my own website that conforms to both XHTML Strict DTDs and CSS 2.1, I encountered a conflict with the javascript scripting involved with the <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox that I was implementing</a>. Although the pages continued to <a href="http://validator.w3.org/">validate against the DTD</a>Â and the CSS was similarly fine, and indeed in Firefox and some instances of IE8 there were no display problems. However in some instance of IE8, having the lightbox running on the page caused some elements of the page to not load correctly, and for the footer to not display at all. Further more I had the <a href="http://support.microsoft.com/kb/927917" target="_blank">KB927917</a>Â error from Microsoft which was as inconprehensible as these things usually are.</p>
<p>By systematically deactivating the various scripts running on the page, I tracked down the problem to the Twitter provided javascript code.</p>
<p>I&#8217;ve now put in place a new <a href="http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/">Twitter feed service</a>, which has the advantage of both working with Lightbox <em>and</em> having an option to abort loading tweets if the site is down (something which was causing a problem during recent twitter outages).</p>
<h3>Details</h3>
<p>You can see the <a href="http://visuals.shepline.com/iceland/2004/gallery1.asp">scripts in action here</a>.</p>
<h3>InstallationÂ instructions</h3>
<p>These are ammended for my install (you can see the <a href="http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/">original instructions and download</a> the scripts here):</p>
<h4>Container HTML</h4>
<p>You need to insert a holder element for the twitters to go in to. In the example above, I&#8217;ve included some &#8216;waiting to load&#8217; content &#8211; but you don&#8217;t have to.</p>
<p>Here&#8217;s what I did:</p>
<blockquote><p><span>&lt;div </span><span>id</span><span>=</span><span>&#8220;tweet&#8221;</span><span>&gt;</span><span><br />
Â </span><span>&lt;p&gt;</span><span>Please wait while my tweets load </span><span>&lt;img </span><span>src</span><span>=</span><span>&#8220;/images/indicator.gif&#8221;</span><span> </span><span>/</span><span>&gt;&lt;/p&gt;</span><span><br />
<span>&lt;/div&gt;<br />
</span></span><span>&lt;p&gt;&lt;a href=</span>http://twitter.com/yourtwitterusername</span><span>&gt;</span><span>If you can&#8217;t wait &#8211; check out what I&#8217;ve been twittering</span><span>&lt;/a&gt;&lt;/p&gt;</span><span><br />
</span></p></blockquote>
<p>Here are some more <a href="http://ajaxload.info/">progress indicators</a>.</p>
<p>If you include contents inside the holder <code><span>div</span></code>, then you&#8217;ll need to set the &#8216;clearContents&#8217; flag.</p>
<h4>Add the script</h4>
<p>You should <a href="http://remysharp.com/wp-content/uploads/2007/05/twitter.js">download the twitter.js script</a>, and add the following code within the <code><span>head</span></code> or (best at the bottom of the) <code><span>body</span></code> tag:</p>
<p><span id="_marker">Â </span>(this example will generate my twitter status in quotes on a single line with the &#8216;ago&#8217; linkable back to the original twitter post)</p>
<blockquote><p><span>&lt;scriptÂ </span><span>src</span><span>=</span><span>&#8220;http://yourdomain.com/includes/js/twitter.js&#8221;</span><span>Â </span><span>type</span><span>=</span><span>&#8220;text/javascript&#8221;</span><span>&gt;</span><span>&lt;/script&gt;</span><span><br />
</span><span>&lt;script <span>src</span><span>=</span><span>&#8220;http://yourdomain.com/includes/js/twitter.tweet.js&#8221;</span><span>Â </span></span><span>type</span><span>=</span><span>&#8220;text/javascript&#8221;</span><span> </span><span>charset</span><span>=</span><span>&#8220;utf-8&#8243;</span><span>&gt;</span><span>&lt;/script&gt;</span></p></blockquote>
<p>Create a file called twitter.tweet.js and paste the following code into it:</p>
<blockquote><p>getTwitters<span>(</span><span>&#8216;tweet&#8217;</span><span>,</span><span> </span><span>{</span><span><br />
Â  id</span><span>:</span><span> </span><span>&#8216;yourtwitterusername&#8217;</span><span>,</span><span><br />
Â  count</span><span>:</span><span> </span><span>5</span><span>,</span><span><br />
Â  enableLinks</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  ignoreReplies</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  clearContents</span><span>:</span><span> </span><span>true</span><span>,</span><span><br />
Â  </span><span>template</span><span>:</span><span> </span><span>&#8216;%user_name% %text% &lt;a href=&#8221;http://twitter.com/%user_screen_name%/statuses/%id%/&#8221;&gt;%time%&lt;/a&gt;&#8217;</span><span><br />
</span><span>});</span></p></blockquote>
<p>Note that the getTwitters function will execute after the page has been loaded by your browser. It will fire once the <abbr title="Document Object Model">DOM</abbr> is loaded but before images are loaded.</p>
<p>And your&#8217;re done! <img src='http://creative.shepline.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://creative.shepline.com/2009/09/18/lightbox-vs-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

