<?xml version="1.0" encoding="US-ASCII"?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" version="1.0"?>
<rss version="2.0">
<channel>
<title>WesDesign Blog</title>
<link>http://www.man-or-mouse.co.uk/</link>
<description>WesDesign Blog</description>
<language>en</language>
<item>
<title><![CDATA[A Batch File that Uploads/Backs&#45;up to FTP]]></title>
<description><![CDATA[<p>This is something really simple but I find it really useful for a number of tasks.</p>
<p>it&#145;s basically a batch file that connects to any FTP webspace and uploads files. The good thing about it is that you can give clients a means of uploading a file by just double&#45;clicking. You can also schedule the batch file to run using Task Scheduler in Windows.<br />
<br />
I have set it up on one of my dedicated servers as a Scheduled Task so that first a command&#45;line zip utility zips my clients entire website, I then use this Scheduled batch file to upload/backup to webspace hosted with the same company, which means the webspace is on the same network and therefore the upload takes a 30 seconds for a 200Mb backup, <i>and</i> the files are on a completely different server &#45; Great!</p>
<p>Batch file contents (FtpUpload.bat)<br />
<i>This is the file that you can schedule, it merely contains the location of the ftp instructions file that you wisdh to run (make sure you change the file path accordingly), and the ftp hostname.</i></p>
<p><code>ftp &#45;s:<br />
C:\PathofFiles\FtpAccountAndFiles.ftp<br />
yourhostname.com</code></p>
<p>Ftp instructions file contents (FtpAccountAndFiles.ftp)<br />
<i>This is the file that contains your ftp username, password and the files you wish to upload, in this case an example file (stored in the same directory as the batch file).</i></p>
<p><code>yourftpusername<br />
yourftppassword<br />
put ExampleFile.txt<br />
quit</code></p>
<p>Hey presto! There you go, a free upload or backup solution!</p>
<p><a href="/upload/file/BatchUpload.zip">Here are the files</a> (Zip, 1Kb)</p>
<p><big>Now to use it as a backup solution you will need compression software to make it easier! &#45; my solution...</big></p>
<p>First you will have to download and install WinRar <i>trial</i> (version 3.71 at time of writing) from <a href="http://www.rarlabs.com/download.htm">http://www.rarlabs.com/download.htm</a> &#45; This version hasn&#145;t changed for ages (years!?), if unregistered all you get is a small nag screen (no functionality is taken away). I think WinRar is the best archiving software availible! &#45; Why? because of the simple context menu (right&#45;click) operations for zipping and un&#45;zipping and also many powerful yet easy to use functions such as the self&#45;extracting executable setup and of course the command&#45;line archiving functionality of which we are going to use..</p>
<p>When we have WinRar installed, the below code, when added to the top of your batch file will compress your files (into one file) so you can upload it with the above batch script.</p>
<p><code>c:\Program Files\WinRar\winrar a &#45;r0 &#45;x*.dll &#45;x*.rws &#45;x*.rar &quot;D:\BackupsForUpload\YourWebsite.rar&quot; &quot;D:\home\yourwebsite.co.uk\htdocs\*.*&quot;</code></p>
<p><i>(Note: the above is all on one line if it appears differently on the page)</i></p>
<p>Basically the aboveline is telling WinRar to create an archive and add all the files from the mentioned location to the rar file. Voila!</p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=6]]></link>
<category><![CDATA[FTP]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=6&comments=show]]></comments>
<pubDate>Tue, 15 Jan 2008 12:35:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Finally I&#145;ve found a decent bit of FTP software &#45; and it&#145;s free!]]></title>
<description><![CDATA[<p>Over the years developing websites, I&#145;ve struggled to find a decent bit of FTP software that meets all the criteria that I wish for, all I ask is that it does a couple of things..</p>
<p>1. It&#145;s freeee.</p>
<p>2. It&#145;s reliable.</p>
<p>3. The layout is relatively easy to use, i.e. pretty standard, left&#45;to&#45;right drag and drop functionality.</p>
<p>4. It can store a (managable) directory of my sites.<br />
<br />
5. It allows me to back up the many sites that I have stored.</p>
<p>Well <a target="_blank" href="http://filezilla&#45;project.org">Filezilla</a> is the answer! The backup utility is great! &#45; it exports all your sites into an xml file, ready for import or backup. No longer will I kick my computer because I&#145;ve lost all my FTP site entries, well done Tom Kosse!<br />
<br />
<img height="48" alt="FileZilla Logo" width="48" border="0" src="http://www.man&#45;or&#45;mouse.co.uk/upload/image/filezilla_logo.gif" /></p>
<p>Website: <a target="_blank" href="http://www.filezilla&#45;project.org">http://filezilla&#45;project.org</a> </p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=5]]></link>
<category><![CDATA[FTP]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=5&comments=show]]></comments>
<pubDate>Tue, 15 Jan 2008 12:34:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Home Antivirus Software? Free?]]></title>
<description><![CDATA[<p>There is loads of antivirus software out there, ranging from stuff that has loads of adware built in, is watching your every move and reports hugely exagerated results (ahem SystemDoctor) to stuff that costs you &pound;300+.</p>
<p>For the home market I&#145;ve tried numerous antivirus software products and I&#145;ve found one that&#145;s free and I&#145;m happy to stick with. Avast Antivirus from Alwil Software.</p>
<p>All you have to do is download the home edition from the downloads section of the Avast website. (<a target="_blank" href="http://www.avast.com/eng/programs.html">http://www.avast.com/eng/programs.html</a>), register your email address and they send you a home license code. Presto!</p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=14]]></link>
<category><![CDATA[PC Maintenance/General]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=14&comments=show]]></comments>
<pubDate>Mon, 14 Jan 2008 16:49:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Places to get Stock Photography for Cheap or Free!]]></title>
<description><![CDATA[<p>Im going to use this page as a place of reference for image librarys that I&#145;ve found to be good value.</p>
<p><b>Stock Exchange</b><br />
Website: <a href="http://sxc.hu">http://sxc.hu</a> <br />
<i>Free pictures, vast collection &#45; some pics need uploaders&#145; concent.</i></p>
<p><b>Stock Expert<br />
</b>Website:<b> </b><a href="http://www.stockexpert.com">www.stockexpert.com</a><br />
<i>Stock exchanges sister company, excellent quality pictures from $1 (Approx 50p) Just sign up an account and away you go!</i></p>
<p><b>Morgue File<br />
</b>Website: <a href="http://www.morguefile.com">www.morguefile.com</a><br />
<i>Another free site for stock photography.</i></p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=13]]></link>
<category><![CDATA[Photography/Images]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=13&comments=show]]></comments>
<pubDate>Mon, 14 Jan 2008 16:16:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[A few tips on achieving a higher ranking in the mighty Google (maybe)]]></title>
<description><![CDATA[<p>It seems no&#45;one can guarantee high google rankings (excluding adwords etc) but here are a few tips I picked up that can possibly help.</p>
<ol>
  <li>Each page will need to have an individual title tag. &ndash; This is the single most important aspect and the quickest way to get penalized in Google.<br />
   </li>
  <li>Each page will need to have an individual description tag. &ndash; This is very important and is another way of getting penalized in Google and MSN<br />
   </li>
  <li>Each page will need to have an individual keywords tag. &ndash; Not hugely important now but has been in the past and may well become important soon.<br />
   </li>
  <li>Each page needs a document structure that comprises of a series of H1, H2, and H3 tags. &ndash; This emphasises the key terms in a way that Google expects.<br />
   </li>
  <li>Each page needs to have individual alt tag information. &ndash; Important as it is a good way to get diversity of keywords.<br />
   </li>
  <li>Google site map, this will need code adding to pages.<br />
   </li>
  <li>I&#145;ve found it may also help if the key words that you want your site to be found by are also in the url of the page, I&#145;ve looked into this somewhat and have found that the folder structure or file name can be used e.g. <a href="http://www.wesdesign.co.uk/how&#45;to&#45;create&#45;a&#45;database/">www.wesdesign.co.uk/how&#45;to&#45;create&#45;a&#45;database/</a> would probably fair well when someone is searching for &quot;how to create a database&quot;.<br />
   </li>
  <li>A resources page to enable linking strategy to be implemented. &ndash; Link popularity is a key part of Goggles ranking mechanism, this page will need regular editing as proposals are received for linking.<br />
   </li>
  <li>In addition it is advisable to create a mechanism for natural inbound linking to take place, we would look to add this mechanism to an internal dedicated page and reference it from the homepage if possible. This would provide the code and the text for other webmasters who may link to you.</li>
</ol>
<p>To summarise, it seems that as long as you focus on promoting your site with some kind of linking strategy and you have well&#45;structured content you&#145;re well on your way! On the same note, Google is forever changing the way their search engine works to enable the most accurate information to become closer to the top as developers catch on.</p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=12]]></link>
<category><![CDATA[Google Stuff]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=12&comments=show]]></comments>
<pubDate>Sun, 13 Jan 2008 14:45:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Stylesheet Based on Browser..]]></title>
<description><![CDATA[<p>Just a small piece of JavaScript that detects which of the main web browsers you are using (Firefox, Safari, Opera or Internet Explorer) and selects a stylesheet accordingly. It&#145;s fairly vague i.e. it doesn&#145;t take into account different versions/releases of these browsers, but if you want a quick fix so you can manage how your site looks in all the latest browsers, this is the one to use..</p>
<p><code>&lt;script type=&quot;text/javascript&quot;&gt;<br />
//Below are the main browser appName strings..<br />
//&#145;Microsoft Internet Explorer&#145; (all versions)<br />
</code><code>//&#145;Netscape&#145; (for Firefox)<br />
//&#145;Opera&#145;<br />
//&#145;Mozilla&#145;<br />
<br />
</code><code>var csshref</code></p>
<p><code>if(navigator.appName==&#145;Netscape&#145;){</code><code>csshref=&#145;css/firefox.css&#145;</code><code>}<br />
else if(navigator.appName==&#145;Opera&#145;){csshref=&#145;css/opera.css&#145;}<br />
</code><code>else{csshref=&#145;css/normal.css&#145;}</code></p>
<p><code>csslink = document.createElement(&#145;link&#145;)<br />
csslink.rel=&#145;stylesheet&#145;<br />
csslink.href = csshref<br />
document.getElementsByTagName(&#145;head&#145;)[0].appendChild(csslink)</code></p>
<p><code>&lt;/script&gt;</code></p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=11]]></link>
<category><![CDATA[Useful Javascript Snippets]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=11&comments=show]]></comments>
<pubDate>Sun, 13 Jan 2008 13:08:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Will Your Email get Through Spam Filters?]]></title>
<description><![CDATA[<p>..a great service offered by sitesell.com is one way of finding out!</p>
<p>All you have to do is send the email that you want to test to: <a href="mailto:spamcheck@sitesell.net">spamcheck@sitesell.net</a></p>
<p>with a subject <i>beginning</i> &ldquo;TEST&rdquo;</p>
<p>..and the return address will receive a spam score/report on the message sent. Cool!</p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=10]]></link>
<category><![CDATA[Email Related]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=10&comments=show]]></comments>
<pubDate>Sat, 12 Jan 2008 12:58:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Good, Free Website Statistics..]]></title>
<description><![CDATA[<p>I just thought I&#145;d share with you <a target="_blank" href="http://www.statcounter.com">www.statcounter.com</a> I&#145;ve been using them for 6 months or so now for website visitor/hits monitoring &#45; and it&#145;s great!..</p>
<ol>
  <li>It&#145;s free.<br />
   </li>
  <li>It&#145;s hidden (you can choose an invisible counter so your visitors are un&#45;aware you are using statcounter)<br />
   </li>
  <li>It&#145;s concise &#45; you can see all you need &#45; unique visitors, page loads, browsers and much, much more.<br />
   </li>
  <li>It has some great features like the facility to set up a &quot;stats viewer&quot; account which means you can give your clients access to the stats to their website only, while managing all your clints under one admin account.</li>
</ol>
<p>OK, it&#145;s obviously statcounter branded when viewing the stats but for a free, easy to install instant solution to concise website statistics, it&#145;s a no brainer!</p>
<p><img height="296" alt="" width="548" src="http://www.man&#45;or&#45;mouse.co.uk/upload/image/statcounter.jpg" /></p>
<p><i>I believe they make their money from google ads on the stats pages.</i></p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=9]]></link>
<category><![CDATA[Statistics]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=9&comments=show]]></comments>
<pubDate>Sat, 12 Jan 2008 12:38:00 +0100</pubDate>
</item>
<item>
<title><![CDATA[Simple Guide to put a Google Location Map on Your Website]]></title>
<description><![CDATA[<p>Why draw or pay for a location map for your client when you can quite simply and easily give them a google location map that looks stunning and works great.</p>
<p>The google maps API has absolutely loads of options e.g. multiple markers, journeys etc but all I&#145;m demonstrating is a simple map, with an address marker.</p>
<p>You have to put the following into the start tag of your &lt;body&gt; marker..</p>
<p><code>onload=&quot;load()&quot;</code></p>
<p> ..so it might look a bit like this..</p>
<p><code>&lt;body onload=&quot;load()&quot;&gt;</code></p>
<p>..all this does is load the google map.</p>
<p>You then need to paste the below code into your main page content area (or where you want the map to appear). <i>Note will you have to change a couple of variables before your map will appear &#45; listed below.</i></p>
<p><code><tt>&lt;script src=&quot;</tt><a href="http://maps.google.com/maps?file=apiv=2key=YOURKEYHERE"><tt>http://maps.google.com/maps?file=apiv=2key=YOURKEYHERE</tt></a><tt>&quot; type=&quot;text/javascript&quot;&gt;<br />
&lt;/script&gt;</tt></code></p>
<p><code><tt>&lt;script type=&quot;text/javascript&quot;&gt;<br />
 <br />
var WINDOW_HTML = &#145;&lt;div style=&quot;width: 200px; padding&#45;right: 10px&quot;&gt;&lt;strong&gt;My Clients Company Name&lt;/strong&gt;&lt;br&gt;Address1&lt;br&gt;Address 2&lt;br&gt;Postcode etc.&lt;/div&gt;&#145;; <br />
    //&lt;![CDATA[<br />
    function load() {<br />
      if (GBrowserIsCompatible()) {<br />
        var map = new GMap2(document.getElementById(&quot;map&quot;));<br />
      map.addControl(new GSmallMapControl());</tt></code></p>
<p><code><tt>      map.setCenter(new GLatLng(<span class="latitude">51.36445</span>,<span class="longitude">0.3698</span>), 13);<br />
      var marker = new GMarker(new GLatLng(<span class="latitude">51.36445</span>,<span class="longitude">0.3698</span>));<br />
      map.addOverlay(marker);<br />
      GEvent.addListener(marker, &quot;click&quot;, function() {<br />
        marker.openInfoWindowHtml(WINDOW_HTML);<br />
      });<br />
      marker.openInfoWindowHtml(WINDOW_HTML);<br />
      }<br />
    }<br />
    //]]&gt;<br />
&lt;/script&gt;<br />
</tt></code></p>
<p><code><tt>&lt;div id=&quot;map&quot; style=&quot;border: 1px solid #979797; background&#45;color: #e5e3df; width: 540px; height: 360px; margin: auto; margin&#45;top: 2em; margin&#45;bottom: 2em&quot;&gt;<br />
&lt;div style=&quot;padding: 1em; color: gray&quot;&gt;Loading...&lt;/div&gt;<br />
&lt;/div&gt;</tt></code></p>
<p>1) get your API Key by visiting <a target="_blank" href="http://code.google.com/apis/maps/signup.html">http://code.google.com/apis/maps/signup.html</a> all you have to do is tick a box and enter the URL of your website to get your key. You will need to paste your key <i>OVER </i>the YOURKEYHERE part of the above code.</p>
<p>2) Change the WINDOW_HTML value to the address (and maybe phone number) of your location (or anything you wish for that matter) &#45; you can use html. </p>
<p>3) You see that there are two numerical values following the <font face="Courier New">GLatLng(lat, and long)</font> &#45;in the code above. You need to do is replace these with the co&#45;ordinates of the place you wish to center on the map. How do I get these? I hear you ask. The way I get these is go to <a target="_blank" href="http://www.multimap.com">www.multimap.com</a>, type in the postcode and then scroll to the bottom of the page for the &quot;lat&quot; and &quot;long&quot; numbers.</p>
<p>4) You can set the height, width and border of your map by editing the last &lt;div&gt; of the above code. </p>]]></description>
<link><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=7]]></link>
<category><![CDATA[Google Stuff]]></category>
<author><![CDATA[Westley Cooper&#45;Thorn]]></author>
<comments><![CDATA[http://www.man&#45;or&#45;mouse.co.uk/blog/default.asp?id=7&comments=show]]></comments>
<pubDate>Thu, 10 Jan 2008 12:36:00 +0100</pubDate>
</item>
</channel>
</rss>

