<?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>One Tip a Day &#187; Website administration</title>
	<atom:link href="http://onetipaday.alasource.org/category/website_administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://onetipaday.alasource.org</link>
	<description>On misc web development areas</description>
	<lastBuildDate>Thu, 16 Jul 2009 05:43:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web server monitoring: Munin</title>
		<link>http://onetipaday.alasource.org/2009/02/08/web-server-monitoring-munin/</link>
		<comments>http://onetipaday.alasource.org/2009/02/08/web-server-monitoring-munin/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 20:35:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Website administration]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[munin]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=158</guid>
		<description><![CDATA[A usefull tool to monitor your server(s): Munin
Gives you provision to easily monitor memory, proc, processes, apache, mysql and much more; and provides you a web interface to see all that at a glance.
And a usefull tutorial, in French: http://www.crashdump.fr/tutoriels/munin-le-top-du-monitoring-3/
(But I am sure there are plenty around in English!)
]]></description>
			<content:encoded><![CDATA[<p>A usefull tool to monitor your server(s): <a href="http://munin.projects.linpro.no/">Munin</a><br />
Gives you provision to easily monitor memory, proc, processes, apache, mysql and much more; and provides you a web interface to see all that at a glance.</p>
<p>And a usefull tutorial, in French: <a href="http://www.crashdump.fr/tutoriels/munin-le-top-du-monitoring-3/">http://www.crashdump.fr/tutoriels/munin-le-top-du-monitoring-3/</a><br />
(But I am sure there are plenty around in English!)</p>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2009/02/08/web-server-monitoring-munin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SEO</title>
		<link>http://onetipaday.alasource.org/2009/02/06/seo/</link>
		<comments>http://onetipaday.alasource.org/2009/02/06/seo/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 10:00:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website administration]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=108</guid>
		<description><![CDATA[Various resources on SEO (Search Engine Optimisation).
Any additional (valuable) suggestion welcome!
Online tools: start your SEO

Website Grader
Providing a url, returns a grade for the site, and a decent amount of tips to improve your SEO.
Google Keyword Tool
From either a URL or keywords, generate a list of popular search requests.
As Google does not use much the &#60;meta&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Various resources on SEO (Search Engine Optimisation).<br />
Any additional (valuable) suggestion welcome!</p>
<p><strong>Online tools: start your SEO</strong></p>
<ul>
<li><a href="http://website.grader.com/#ReportTop">Website Grader</a><br />
Providing a url, returns a grade for the site, and a decent amount of tips to improve your SEO.</li>
<li><a href="https://adwords.google.com/select/KeywordToolExternal">Google Keyword Tool</a><br />
From either a URL or keywords, generate a list of popular search requests.<br />
As Google does not use much the &lt;meta&gt; keywords, I guess those are rather to be smartly integrated in the site content.</li>
<li><a href="http://www.xml-sitemaps.com/">Sitemap builder</a><br />
Generate your sitemap from a url</li>
<li><a href="http://www.addthis.com/">AddThis</a><br />
a toolbar to let your users bookmark/share your site in plenty of social bookmark sites, and more.</li>
</ul>
<p><strong>Online tools: follow up your SEO</strong></p>
<ul>
<li><a href="http://website.grader.com/#ReportTop">Website Grader</a><br />
Can also be used to follow up your SEO progress.</li>
<li><a href="http://www.xinureturns.com/">xinureturns</a><br />
Quite complete tool, &#8220;Check PageRank, Backlinks, Indexed Pages, Rankings and more&#8221;</li>
<li><a href="http://popuri.us/">Popuri.us</a><br />
Check the rank/popularity of your website against several search engines / social bookmarks / subscribers</li>
<li><a href="http://seopro.com.au/free-seo-tools/link-checker/">Link checker</a><br />
Check the inbound links to your site</li>
<li><a href="http://www.backtags.com/">Backtags</a><br />
Check your site in 20 social bookmark sites</li>
</ul>
<p><strong>Directories</strong></p>
<ul>
<li><a href="http://www.dmoz.org/">DMOZ</a></li>
<li><a href="http://dir.yahoo.com/" target="_blank">Yahoo! Directory</a></li>
<li><a href="http://www.zoominfo.com/">Zoominfo</a><br />
Business directory</li>
</ul>
<p><strong>Resources</strong></p>
<ul>
<li><a href="http://www.searchmasters.co.nz/articles/169/7-seo-basics/">7 basic steps for your SEO</a><br />
A short summary of some basics of SEO</li>
<li><a href="http://www.hurricanesoftwares.com/32-seo-tips-to-boost-your-website-traffic/">32 SEO Tips<br />
</a></li>
<li><a href="http://www.pluginhq.com/website-health-check/">Website Health Check</a></li>
<li><a href="http://dsigntimes.com/2008/06/08/8-essential-markups-for-good-seo/">Markups for a good SEO</a><br />
How to make the best use of html tags for SEO</li>
<li><a href="http://www.seomoz.org/blog/the-web-developers-seo-cheat-sheet">SEO Cheat Sheet</a><br />
Cheat sheet for Web Developers</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2009/02/06/seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web analytics: piwik</title>
		<link>http://onetipaday.alasource.org/2009/02/06/web-analytics-piwik/</link>
		<comments>http://onetipaday.alasource.org/2009/02/06/web-analytics-piwik/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 23:07:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website administration]]></category>
		<category><![CDATA[piwik]]></category>
		<category><![CDATA[web analytics]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=105</guid>
		<description><![CDATA[A short one tonight, as it&#8217;s getting late:
A good alternative to Google Analytics, but with which you own your data (and much more):
piwik
]]></description>
			<content:encoded><![CDATA[<p>A short one tonight, as it&#8217;s getting late:</p>
<p>A good alternative to Google Analytics, but with which you own your data (and much more):</p>
<p><a href="http://piwik.org/">piwik</a></p>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2009/02/06/web-analytics-piwik/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Emails received in spam folder in hotmail</title>
		<link>http://onetipaday.alasource.org/2009/02/03/emails-received-in-spam-folder-in-hotmail/</link>
		<comments>http://onetipaday.alasource.org/2009/02/03/emails-received-in-spam-folder-in-hotmail/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 09:50:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website administration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[senderId]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=102</guid>
		<description><![CDATA[I faced recently a common problem I already had some time back: the mails I send from the website I am working on end up in the spam folder if the recipient uses Hotmail. The first time I met with this issue,  the same went for Gmail users &#8211; but not this time; either Google [...]]]></description>
			<content:encoded><![CDATA[<p>I faced recently a common problem I already had some time back: the mails I send from the website I am working on end up in the spam folder if the recipient uses Hotmail. The first time I met with this issue,  the same went for Gmail users &#8211; but not this time; either Google improved their filtering, or my messages content are more relevant.</p>
<p>Anyway: as per Microsoft website, a solution to that is to implement the <a href="http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx">SenderId</a> protocole.</p>
<p>It simply consists in adding to the DNS entry for your website a Text entry (called SPF Record), as per a format defined by the SenderId protocole. This record specifies which IP address is authorized to send mails for a specific domain name. It prevents an illigitimate mail server to send emails from a domainname it does not own.</p>
<p>Microsoft even provides a <a href="http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/">wizard</a> to generate the SPF Record.</p>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2009/02/03/emails-received-in-spam-folder-in-hotmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>postfix / sendmail</title>
		<link>http://onetipaday.alasource.org/2009/01/05/postfix-sendmail/</link>
		<comments>http://onetipaday.alasource.org/2009/01/05/postfix-sendmail/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 05:17:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website administration]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=67</guid>
		<description><![CDATA[I have got a php web application needing to be able to send mail. My hosted Debian server came naked tool-wise, so I first installed sendmail as a MTA.
I first run in the issue that sending a mail was taking ages (that is, one minute for each mail). Googling the problem with my log details [...]]]></description>
			<content:encoded><![CDATA[<p>I have got a php web application needing to be able to send mail. My hosted Debian server came naked tool-wise, so I first installed sendmail as a MTA.</p>
<p>I first run in the issue that sending a mail was taking ages (that is, one minute for each mail). Googling the problem with my log details (in /var/log/mail.log), I found that my /etc/hosts file was not properly configured: the entry for 127.0.0.1 was set to my (not fully qualified) machine hostname, so sendmail was waiting 1 min till using some default working setting as hostname. I changed it to</p>
<pre>127.0.0.1 localhost locahost.localdomain</pre>
<p>and it worked.<br />
I guess it would better be changed to some propel fully-qualified name &#8211; but I did not have time to dig much in the details at the moment.<br />
Then I could send a mail from command line &#8211; but not from the web application, for some wrongly-set permissions reasons.</p>
<p>Searching again on the web, I got the feeling that postfix was a bit better than sendmail &#8211; so I just used it instead &#8211; and it worked straight away &#8211; so I reckon I&#8217;ll stick to that.</p>
<p>I now need to get more in details in the configuration (I had quite some spam issue in a previous project, which I&#8217;d rather avoid this time&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2009/01/05/postfix-sendmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automated backup via subversion</title>
		<link>http://onetipaday.alasource.org/2008/10/14/automated-backup-via-subversion/</link>
		<comments>http://onetipaday.alasource.org/2008/10/14/automated-backup-via-subversion/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 04:46:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Website administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[msdos]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://onetipaday.alasource.org/?p=1</guid>
		<description><![CDATA[[EDIT: this script was not fully working, now corrected. see details in this post]
We are using Subversion as resource control for our (flash) projects, and we recently though we could use it to automate our backups.
The subversion server is in our local network, and the backup machine outside.
To make things easy, we ve got two [...]]]></description>
			<content:encoded><![CDATA[<p>[EDIT: this script was not fully working, now corrected. see details in <a href="http://onetipaday.alasource.org/2008/12/09/msdos-script-environment-variable-in-if-statement/">this post</a>]<br />
We are using Subversion as resource control for our (flash) projects, and we recently though we could use it to automate our backups.</p>
<p>The subversion server is in our local network, and the backup machine outside.</p>
<p>To make things easy, we ve got two ISPs, that we switch every 2 weeks (the ISPs being not terrible reliable here in New Zealand)</p>
<p>So I had to:</p>
<p>- configure the router in our local network so that the subversion server get always attributed the same ip<br />
- configure the router in our local network so that incoming request on the svn port get redirected to the subversion server (identified by its IP, hence the first step)<br />
- checkout all our projects in the backup server<br />
- install a command-line subversion client on the backup server<br />
- write a dos script on the backup server (a windows machine) to update all projects</p>
<p>As I did not know much about dos scripting, it took me a little while.<br />
I had to<br />
- check what is the current IP of our local router from outside (depeding on which ISP we&#8217;re plug at the moment of the update)<br />
- if required, relocate the subversion url of all projects<br />
- update all projects<br />
- log some error in case of failure</p>
<p>So below is the corresponding script.</p>
<pre><span style="text-decoration: line-through;">@echo off</span></pre>
<pre><span style="text-decoration: line-through;">REM set the two possible urls for fracture
SET URL1=https://1.2.3.4:8443/svn/
SET URL2=https://5.6.7.8:8443/svn/

REM get the current location: parse the file currentUrl.txt (which contains only one line) and set CURRENT_LOCATION
FOR /f %%a IN (currentUrl.txt) DO SET CURRENT_LOCATION=%%a
REM Current location set to... %CURRENT_LOCATION%</span></pre>
<pre><span style="text-decoration: line-through;">REM try updating a project
CD project1
svn update
REM ERRORLEVEL is changed by most of the commands upon execution, usually to 0 if success, 1 or more if failure
IF ERRORLEVEL 1 (
 cd ..
 REM Update the log file
 echo %DATE% Notice: changing url to %CURRENT_LOCATION% &gt;&gt; error.log
 REM Reset CURRENT_LOCATION
 SET OLD_LOCATION=%CURRENT_LOCATION%
 IF %CURRENT_LOCATION%==%URL1% (
  SET CURRENT_LOCATION=%URL2%
 ) ELSE (
  SET CURRENT_LOCATION=%URL1%
 )
 REM Update currentUrl file
 echo %CURRENT_LOCATION%&gt; currentUrl.txt
 REM Relocate all folders
 FOR /D %%b in (*) DO (
  cd %%b svn switch --relocate %OLD_LOCATION%/%%b/trunk %CURRENT_LOCATION%/%%b/trunk
  IF ERRORLEVEL 1 echo %DATE% WARNING: project %%b could not be relocated &gt;&gt; ../error.log
  cd ..
 )
) ELSE (
 cd ..
)

REM Update all projects
FOR /D %%b in (*) DO (
 cd %%b
 svn update
 IF ERRORLEVEL 1 echo %DATE% ERROR: project %%b could not be updated &gt;&gt; ../error.log
 cd ..
)

</span>@echo off
<strong>Setlocal ENABLEDELAYEDEXPANSION</strong>
REM set the two possible urls for fracture
Set URL1=https://125.236.208.239:8443/svn/
Set URL2=https://203.109.198.29:8443/svn/

REM get the current location
For /f %%a IN (currentUrl.txt) DO Set CURRENT_LOCATION=%%a

REM Current location set to... %CURRENT_LOCATION%

REM try updating a project
CD Debug
svn update
If ERRORLEVEL 1 (
CD ..
echo %DATE% Notice: changing url from %CURRENT_LOCATION% &gt;&gt; error.log
REM Reset CURRENT_LOCATION
Set OLD_LOCATION=%CURRENT_LOCATION%

If %CURRENT_LOCATION%==%URL1% (
Set CURRENT_LOCATION=%URL2%
) ELSE (
Set CURRENT_LOCATION=%URL1%
)

REM Update currentUrl file
echo !CURRENT_LOCATION! &gt; currentUrl.txt
REM Relocate all folders

For /D %%b IN (*) DO (
CD %%b
<strong>svn switch --relocate !OLD_LOCATION!/%%b/trunk !CURRENT_LOCATION!/%%b/trunk</strong>
If ERRORLEVEL 1 echo %DATE% WARNING: project %%b could not be relocated &gt;&gt; ../error.log
CD ..
)
) ELSE (
CD ..
)

REM Update all

For /D %%b IN (*) DO (
CD %%b
svn update
If ERRORLEVEL 1 echo %DATE% ERROR: project %%b could not be updated &gt;&gt; ../error.log
CD ..
)</pre>
]]></content:encoded>
			<wfw:commentRss>http://onetipaday.alasource.org/2008/10/14/automated-backup-via-subversion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
