<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>By David</title>
	
	<link>http://davidspan.com</link>
	<description>Random ramblings from an incoherent mind!</description>
	<lastBuildDate>Sat, 14 Mar 2009 20:38:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ByDavid" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">ByDavid</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Changes in my priorities</title>
		<link>http://davidspan.com/2009/03/14/changes-in-my-priorities/</link>
		<comments>http://davidspan.com/2009/03/14/changes-in-my-priorities/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 20:30:57 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidspan.com/?p=161</guid>
		<description><![CDATA[After a great deal of soul searching and self discussion I have decide to drop all my open source activity. Over the last few years I have devoted a great deal of time working on various open source projects with a a great group of very talented coders. Unfortunately I ...]]></description>
			<content:encoded><![CDATA[<p>After a great deal of soul searching and self discussion I have decide to drop all my open source activity. Over the last few years I have devoted a great deal of time working on various open source projects with a a great group of very talented coders. Unfortunately I have spending more time than I really should.</p>
<p>I&#8217;ve come to realize that it has become almost an addiction; working more than four hours a day, just about everyday. I feel I have lost time with my family and other activities I wish to pursue.</p>
<p>I will still be coding, but only for personal projects and those for clients. Of course any bugs I find and fix I will happily offer to the community.</p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=161&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/gioKjuV1cV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2009/03/14/changes-in-my-priorities/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Build a quick template engine for your site</title>
		<link>http://davidspan.com/2008/04/09/build-a-quick-template-engine-for-your-site/</link>
		<comments>http://davidspan.com/2008/04/09/build-a-quick-template-engine-for-your-site/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 21:33:45 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[features]]></category>

		<guid isPermaLink="false">http://davidspan.com/?p=43</guid>
		<description><![CDATA[If you have a website with more than a few pages, you may want to consider using a template engine. Template engines allow you to edit one file on your site to make changes to your entire website. This comes in very handy when you wish to redesign your website, ...]]></description>
			<content:encoded><![CDATA[<p>If you have a website with more than a few pages, you may want to consider using a template engine. Template engines allow you to edit one file on your site to make changes to your entire website. This comes in very handy when you wish to redesign your website, or just make quick changes site wide.</p>
<p>There are a few open source option you can use like Smarty that come with a lot of features. However the learning curve can be very long. So I will show you how to build a quick and easy template engine.</p>
<p>First I want you to create 4 files: index.php, header.php, footer.php, and nav.php. The first file “index.php” will serve as your main file; it will also be a template for all the other pages on your site.</p>
<p>Files header.php, and footer.php will serve as the top and bottom of your web pages respectively. The nav.php file will be used for your navigation section on your web site.</p>
<p>Now open the first file (index.php) in a text editor and add the following:</p>
<p>&lt;?<br />
// This will add meta info so every page can have it’s on meta tags<br />
$PageTitle = “my page name”;<br />
$PageDescription = “my page description”;<br />
$PageKeywords = “my page keywords”;<br />
?&gt;</p>
<p>&lt;?php include(”header.php”); ?&gt;</p>
<p>&lt;?php include(”nav.php”); ?&gt;</p>
<p>Your main website contents would go here, of course you can use html tags anywhere in these files, just don’t use the within the PHP tags.</p>
<p>&lt;?php include(”footer.php”); ?&gt;</p>
<p>Next open the header.php file and add the following:</p>
<p>&lt;!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”&gt;<br />
&lt;HTML&gt;<br />
&lt;HEAD&gt;<br />
&lt;TITLE&gt; &lt;?php $PageTitle ?&gt; &lt;/TITLE&gt;<br />
&lt;META NAME=”Keywords” CONTENT=”&lt;?php $PageKeywords ?&gt; “&gt;<br />
&lt;META NAME=”Description” CONTENT=”=”&lt;?php $PageDescription ?&gt; “&gt;<br />
&lt;/HEAD&gt;</p>
<p>&lt;BODY&gt;</p>
<p>Now open the nav.php file and place this code into it:</p>
<p>&lt;A xhref=”index.php” mce_href=”index.php”&gt;Home&lt;/A&gt; &lt;A xhref=”page2.php” mce_href=”page2.php”&gt;Page2&lt;/A&gt; &lt;A xhref=”page3.php” mce_href=”page3.php”&gt;Page3&lt;/A&gt;</p>
<p>Now open the footer.php file and place this code in it:</p>
<p>&lt;/BODY&gt;<br />
&lt;/HTML&gt;</p>
<p>Now save all these files and make 2 more copies of the index.php file. Name them page2.php, and page3.php. Add some contain to these pages so you can see the differences between the pages.</p>
<p>Upload them all to one directory on your server, and view the index.php file with your browser. If it works you should see a very simple page with links, and some text.</p>
<p>You can add more pages by updating the nav.php file, and adding another file based on the index.php file.</p>
<p>Another tip I should include is to use cascading style sheets (CSS).</p>
<p>If this all seem too much for you, consider a content management system (CMS). There is a large selection of them to choose from. My favorite is Website Baker.</p>
<p>One last word of warning, never include a file as a variable like this:<br />
&lt;?php include($MyFile); ?&gt;</p>
<p>This will open a serious security hole that will allow users to include their own PHP files.</p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=43&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/20UhpZspcNw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2008/04/09/build-a-quick-template-engine-for-your-site/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Install Fireworks on Ubuntu</title>
		<link>http://davidspan.com/2006/10/31/install-fireworks-on-ubuntu/</link>
		<comments>http://davidspan.com/2006/10/31/install-fireworks-on-ubuntu/#comments</comments>
		<pubDate>Wed, 01 Nov 2006 05:45:57 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://davidspan.com/2006/10/31/install-fireworks-on-ubuntu/</guid>
		<description><![CDATA[
When I installed Ububto on my laptop I decided to learn Gimp. Well that didn&#8217;t go very well, so I tried a few others. But after a week I must say they just don&#8217;t toe the line, at least not for me.
Don&#8217;t get me wrong; they all have their benefits. ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://davidspan.com/photos/photo/284038334/Fireworks.html" class="tt-flickr"><img src="http://static.flickr.com/106/284038334_f555cc875d.jpg" alt="Fireworks" border="0" height="375" width="500" /></a></p>
<p>When I installed Ububto on my laptop I decided to learn Gimp. Well that didn&#8217;t go very well, so I tried a few others. But after a week I must say they just don&#8217;t toe the line, at least not for me.</p>
<p>Don&#8217;t get me wrong; they all have their benefits. However I have been using fireworks for a very long time. I know it to well and realy lack the time to learn gimp.</p>
<p>So what follows is how I installed fireworks.</p>
<p>First you need to install wine. I won&#8217;t go into that now but you can follow the directions here:  <a href="http://ubuntuguide.org/wiki/Dapper#How_to_install_Windows_Applications_in_Linux_.28Wine.29" title="http://ubuntuguide.org/wiki/Dapper#How_to_install_Windows_Applications_in_Linux_.28Wine.29" target="_blank">Ubuntu wiki</a><br />
Then insert the cd into your cdrom. cd to your cd dir and type: wine <em>setup.exe</em><br />
If all goes well the setup window will popup. Just follow the screens. When the install finishes open a terminal and type</p>
<p><em><code>wine '/home/david/.wine/drive_c/Program Files/Macromedia/Fireworks MX/Fireworks.exe'</code></em><br />
If you get an error like this:</p>
<p><code>err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\Macromedia\\Fireworks MX\\Plug-Ins\\Gemstone.dll") not found<br />
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\Macromedia\\Fireworks MX\\Plug-Ins\\Gemstone.dll") not found</code></p>
<p>You&#8217;ll need to download the missing dlls(MSVCP60.dll, MFC42.DLL). just search for them on google the put them in</p>
<p><code>/home/david/.wine/drive_c/windows/system32 (make sure you use your username)</code></p>
<p>Then try it again. You may get new dll errors just find the new missing dlls and repeat the process.</p>
<p>When your done you can add a custom launcher to your Panel:</p>
<p>left click on you panel and click &#8220;add to panel&#8221;  then &#8220;Custom Application Launcher&#8221;</p>
<p>under name put <code>Fireworks</code></p>
<p>under command:  <code>wine '/home/david/.wine/drive_c/Program Files/Macromedia/Fireworks MX/Fireworks.exe'</code></p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=4&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/TzS1oquykdI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2006/10/31/install-fireworks-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Strange Discovery….</title>
		<link>http://davidspan.com/2006/10/27/strange-discovery/</link>
		<comments>http://davidspan.com/2006/10/27/strange-discovery/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 22:33:13 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Daily Thoughts]]></category>

		<guid isPermaLink="false">http://davidspan.com/2006/10/27/strange-discovery%e2%80%a6/</guid>
		<description><![CDATA[There were rumors not to long ago about Google, Firefox &#38; Ubuntu working together to build a OS to rival MS Windows. The rumors were quickly shutdown by Google. However there may more to it than we all thought……
You see 2 weeks ago I installed Ubuntu on my laptop, and ...]]></description>
			<content:encoded><![CDATA[<p class="entry">There were rumors not to long ago about Google, Firefox &amp; Ubuntu working together to build a OS to rival MS Windows. The rumors were quickly shutdown by Google. However there may more to it than we all thought……</p>
<p>You see 2 weeks ago I installed Ubuntu on my laptop, and one of the first strange things I noticed was Google showed up strangely in Firefox It looks like this:</p>
<p><a href="http://web.archive.org/web/20061102211804/http://davidspan.com/photos/photo/281380430/Screenshotfree__Google_Search__Firefox.html" class="tt-flickr"><img src="http://web.archive.org/web/20061102211804/http://static.flickr.com/89/281380430_c260caa7d8.jpg" alt="Screenshot-free - Google Search - Firefox" border="0" height="340" width="500" /></a><br />
If you look closely you will see the search links that normally appear above the search box are running down the left side of the page.</p>
<p>Now if you view the page in a different browser while still using Ubuntu you will find the layout we are all familiar with. Now save the page and open it in Firefox. You’ll get this:</p>
<p><a href="http://web.archive.org/web/20061102211804/http://davidspan.com/photos/photo/281380431/Screenshotfree__Google_Search__Firefox1.html" class="tt-flickr"><img src="http://web.archive.org/web/20061102211804/http://static.flickr.com/82/281380431_ff2be8ac74.jpg" alt="Screenshot-free - Google Search - Firefox-1" border="0" height="340" width="500" /></a><br />
What does this mean…. Well you see Google is using server side software to to publish different layouts for users with both Firefox and Ubuntu.</p>
<p>I tried using Firefox on window, and I tried it with Firefox 1.6 and 2….</p>
<p>So it begs the question…. Why?……</p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=28&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/8Wqc-PyzY00" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2006/10/27/strange-discovery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How Not To Promote</title>
		<link>http://davidspan.com/2006/09/07/how-not-to-promote/</link>
		<comments>http://davidspan.com/2006/09/07/how-not-to-promote/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 22:25:38 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[features]]></category>

		<guid isPermaLink="false">http://davidspan.com/2006/09/07/how-not-to-promote/</guid>
		<description><![CDATA[How Not To Promote
I spend a good part of my day promoting my websites, and searching for new ways to promote them. And everyday I find a lot of really good ways ruin your site&#8217;s future success. Why you may ask? Well it&#8217;s really very simple, as you will see.
In ...]]></description>
			<content:encoded><![CDATA[<p><strong>How Not To Promote</strong></p>
<p>I spend a good part of my day promoting my websites, and searching for new ways to promote them. And everyday I find a lot of really good ways ruin your site&#8217;s future success. Why you may ask? Well it&#8217;s really very simple, as you will see.</p>
<p>In this article I will outline several promotional methods that just do not work, or will cause you headaches later.</p>
<p><strong>Click/Traffic Exchanges</strong></p>
<p>On the surface these sites look great, and can bring many visitors to your site. However most of these visitors will have absolutely NO interest in your site. In fact these visitors will not even read your well crafted content. There only purpose for their visit is to get someone else to view their site.</p>
<p>The other disadvantage is lack of targeting. Even exchanges that promise targeted visitors, cannot possible achieve this. Simply put; 98% of the users are tiring to sell you on the newest promotion techniques, or get rich quick schemes.</p>
<p><strong>Free-4-All Links</strong></p>
<p>These sites used to be a good way to get your site noticed &#8211; when Matt Wright first invented the concept. It was meant to be a rewarding thank you for visiting a web site. But like most great innovations it quickly soured.</p>
<p>You will be hard pressed to find a free4all links page that does not require an email address &#8211; in which to spam your socks off. Or will you find one that will keep your site listed for more than a few moments.</p>
<p>Between the spam you&#8217;ll receive, and the fact that your site will only be listed for the time it takes you to get your first wave of spam, your link will have expired. Not only will it waste your time today, but you will be on the spammer&#8217;s list for the life of your email account.</p>
<p>Owning a free4all links page isn&#8217;t much better! Sure you may send your message to thousands everyday, but that message has little chance of review. Most submitters use a second â€œfor spam onlyâ€ email address or use a spam box. Sure, they may login to that account, but just to clean it out.</p>
<p>Your only achievement of owning a free4all links page will be your email address and server blocked and banded from your customers servers. They will not get your conformation email when you send them with the details of their order.</p>
<p><strong>Link Trading/Reciprocal Links</strong></p>
<p>If you&#8217;ve owned a site for awhile you have no doubt received emails asking for a reciprocal link. In other words I&#8217;ll put a link on my site to your site, if you do the same for me. Take a look at these offers skeptically and you&#8217;ll find the offer is not quite what it seems.</p>
<p>First for the link to do you any good, it should be on a site that is related to your site. Would a link from a site that sells eggplant seeds send you qualified leads/clicks for your electronics website?</p>
<p>The second problem with this offer is the site offering the link, usually has a directory somewhere on his site that your link will go into. Most of the time they will have a link on their front page to that directory which few people will view.</p>
<p>You will often hear the term â€œPage Rankâ€ when offered a link trade request. Try not to put much weight on this ideal. Sure, page rank is important, however it will not help you sell your good or services if your page rank is built sloppily. Your links must be on relevant sites in order to be of any benefit.</p>
<p><strong>Safe List<br />
</strong><br />
Safe list marketing attracts a large portion of internet marketers. They are sold as a tried a true way to market your services. At some point it may have been, but not anymore. When you sign up for these lists they ask you for 2 emails addresses, one; your contact email, and the second; to receive ads for others using the safe list. What do you think happens to the ads you place in these safe lists? They never get read, so your speaking to deaf ear.</p>
<p>Safe lists come in many different forms. But they will all reveal the same results, a big waste of your time, and talent.</p>
<p><strong>In Closing </strong></p>
<p>Take your time to research promotional opportunities, and remember that good result come from hard work and time. There is no quick fix!  Anyone that offers you immediate results is not offering you targeted visitors.</p>
<p>When you take your time to find real ways to get your target audience to your site you will be rewarded.</p>
<p>David Span writes on many different topics. You can learn more about him at his website <a href="http://DavidSpan.com">http://DavidSpan.com</a> Here you will find more of his articles.</p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=16&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/tIQaKsrUgz0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2006/09/07/how-not-to-promote/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Advertising in forums</title>
		<link>http://davidspan.com/2006/08/25/advertising-in-forums/</link>
		<comments>http://davidspan.com/2006/08/25/advertising-in-forums/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 21:33:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Marketing]]></category>

		<guid isPermaLink="false">http://davidspan.com/?p=44</guid>
		<description><![CDATA[Most forum owners will not allow blatant advertisements on their site. However &#8211; with that in mind &#8211; there are a few ways to use forums to connect with your target audience, while keeping you from the blacklist.
Step 1, Finding the right forums
This is not just the first step; it’s ...]]></description>
			<content:encoded><![CDATA[<p>Most forum owners will not allow blatant advertisements on their site. However &#8211; with that in mind &#8211; there are a few ways to use forums to connect with your target audience, while keeping you from the blacklist.</p>
<p><strong>Step 1, Finding the right forums</strong></p>
<p>This is not just the first step; it’s the most crucial step. If you pick the wrong forum, you’re just wasting your time and effort. When searching for the appropriate forum, keep in mind your target audience. If you’re selling website design services, search Google for “html help form” or “css help forum”. It shouldn’t take you long to find the forms that fit your needs.</p>
<p><strong>Step 2, Find the rules</strong></p>
<p>Most forum owners have established rules that govern their site. You can find these rules in one of two places. The first place to look is in forum agreement, (above the check box you have to click before signing up.) or within the forum it’s self.</p>
<p>Some forums will have a spot for ads; others will not allow any advertising at all. But don’t worry I’ll show you how to get around this.</p>
<p>Make sure you know the rules toughly before you make your first post. Sometimes your first offence can have you banned for life.</p>
<p><strong>Step 3, Your Signature</strong></p>
<p>Within your profile on the forum you will find a place for your signature. Most users will use this spot for a joke, quote or even their contact info. But we are going to use it for something better. Here is your chance to add a subtle ad, one that will not get you banned. Take your time craft it cleverly! Remember you can always change it latter and with most forums’ software all your post will change with it.</p>
<p>Here is a good example:</p>
<blockquote><p>For a good read<br />
<a href="http://davidspan.com/wp-admin/davidspan.com" target="_blank">davidspan.com</a></p></blockquote>
<p>Keep it short and very simple. Most users will not take the time to read it, but will absorb it without thinking. The more post you make the more likely they will be to remember it.</p>
<p>Also make sure it’s clickable, the user will be more willing to click than  type.</p>
<p><strong>Step 4, Help out</strong></p>
<p>Know here’s how you’ll get your foot in the door. Find a user with a question you can answer, and help them. You’ll be amazed at all the help you can give. Your new friend will remember you as a friend that helped them with a difficult problem. The more you help, the more you advertise!</p>
<p>Plus you’ll be hanging out with people that you have something in common with. So not only are you working, you’re having fun doing it.</p>
<p><strong>One Last Word</strong></p>
<p>On many forums you’ll find a special place for advertising. These threads are helpful, but not very effective. Here’s why; only three types of users will see your ad here, those that are placing ads their self and those that are thinking of placing there ad. The first two users will look at your ads as a template for their own. The third user will be shoppers but, these shoppers will move on quickly thinking you haven’t invested in this ad so you have no money for advertising.</p>
<img src="http://davidspan.com/?ak_action=api_record_view&id=44&type=feed" alt="" /><img src="http://feeds.feedburner.com/~r/ByDavid/~4/nQKTRdIuNuw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://davidspan.com/2006/08/25/advertising-in-forums/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
