<?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>Websiteforensics.com &#187; Programming</title>
	<atom:link href="http://websiteforensics.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://websiteforensics.com</link>
	<description>we remember when the web was in black and white ...</description>
	<lastBuildDate>Sun, 20 Nov 2011 05:54:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Error Level Analysis</title>
		<link>http://websiteforensics.com/code/error-level-analysis/</link>
		<comments>http://websiteforensics.com/code/error-level-analysis/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 19:26:20 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://websiteforensics.com/?p=328</guid>
		<description><![CDATA[A great image analyser : check out ErrorLevelAnalysis &#8211; errorlevelanalysis.com
Error level analysis allows you see to see the difference in quality level, represented by brightness. Things which are very bright have been edited most recently, whilst duller parts have been resaved multiple times. This allows you to see not just which parts of the image [...]]]></description>
			<content:encoded><![CDATA[<p><img title="web" src="http://websiteforensics.com/wp-content/uploads/2010/02/web.jpg" alt="" width="160" height="120" align="right" />A great image analyser : check out <a href="http://errorlevelanalysis.com">ErrorLevelAnalysis &#8211; errorlevelanalysis.com</a></p>
<p>Error level analysis allows you see to see the difference in quality level, represented by brightness. Things which are very bright have been edited most recently, whilst duller parts have been resaved multiple times. This allows you to see not just which parts of the image have been changed, but in what order the changes occurred.</p>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/error-level-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Bell Canada now hijacking DNS?</title>
		<link>http://websiteforensics.com/domain-hijacking/is-bell-canada-now-hijacking-dns/</link>
		<comments>http://websiteforensics.com/domain-hijacking/is-bell-canada-now-hijacking-dns/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 05:56:20 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Domain hijacking]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[bell]]></category>
		<category><![CDATA[bell.ca]]></category>
		<category><![CDATA[domainnotfound.ca]]></category>
		<category><![CDATA[hijacking]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/?p=67</guid>
		<description><![CDATA[Mistyped URLS or defunct domains are now being redirected by Bell Canada to an ad-rich search page. This new “service” is in fact DNS hijacking and a cheap cash grab by Canada’s ISP. Similar programs have been enacted by other ISPs in the United-States such as Comcast.
Bell’s service, DomainNotFound.ca, does offer an opt-out service by [...]]]></description>
			<content:encoded><![CDATA[<p><img title="Image 1" src="/wp-content/uploads/2009/08/Image-1.JPG" alt="Image 1" width="173" height="121" align="right" />Mistyped URLS or defunct domains are now being redirected by Bell Canada to an ad-rich search page. This new “service” is in fact DNS hijacking and a cheap cash grab by Canada’s ISP. Similar programs have been enacted by other ISPs in the United-States such as Comcast.</p>
<p>Bell’s service, DomainNotFound.ca, does offer an opt-out service by using a cookie: <em>Note: In order for opt-out to work properly, you need to accept a &#8220;cookie&#8221; indicating that you have opted out of this service. If you use a program that removes cookies, you will have to repeat this opt-out process when the cookie is deleted. The cookie placed on your computer will contain the site name: &#8220;www.domainnotfound.ca&#8221;.</em></p>
<p>This practice is not only surprising, it is an invasive service that has only one purpose: to raise advertising dollars for Bell.ca. Disappointing to say the least.</p>
<p>See also: <a href="http://www.theregister.co.uk/2009/07/28/comcast_dns_hijacker/">Comcast trials Domain Helper service DNS hijacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/domain-hijacking/is-bell-canada-now-hijacking-dns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Validation &amp; Compliance</title>
		<link>http://websiteforensics.com/code/resources/validation-compliance/</link>
		<comments>http://websiteforensics.com/code/resources/validation-compliance/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 01:03:55 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/standards/validation-compliance/</guid>
		<description><![CDATA[Validation, Cross-Browser Checking

 HTML                     2 Txt &#8211; html2txt: online service to convert web pages                     to [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">Validation, Cross-Browser Checking</h3>
<ul>
<li> <span class="contentext"><a href="http://cgi.w3.org/cgi-bin/html2txt">HTML                     2 Txt</a> &#8211; html2txt: online service to convert web pages                     to plain text</span></li>
<li> <span class="contentext"><a href="http://validator.w3.org/">W3C                     HTML validator</a> &#8211; This is the W3C Markup Validation Service,                     a free service that checks Web documents in formats like                     HTML and XHTML for conformance to W3C Recommendations and                     other standards.</span></li>
<li> <span class="contentext"><a href="http://jigsaw.w3.org/css-validator/validator.html.en">Jigsaw</a> &#8211;                   Enter the URI of a document (HTML with CSS or CSS only) you                   would like validated.</span></li>
<li> <span class="contentext"><a href="http://www.delorie.com/web/wpbcv.html">Backwards                     Compatibility Checker</a> &#8211; Web Page Backward Compatibility                     Viewer</span></li>
<li> <span class="contentext"><a href="http://www.analogpoint.com/tools/webpageheaders.php">Header                     Checker</a> &#8211; Enter a URI for a webpage and we&#8217;ll tell you                     what the headers for that page are. This is useful to check                     the status code for a webpage for SEO purposes. </span><span id="more-52"></span></li>
<li> <span class="contentext"><a href="http://www.walidator.com/">Walidator</a> &#8211;                   Validate your XHTML, HTML, CSS, RSS, RDF&#8230;</span></li>
<li> <span class="contentext"><a href="http://webxact.watchfire.com/">WebXCACT</a> &#8211;                   WebXACT is a free online service that lets you test single                   pages of web content for quality, accessibility, and privacy                   issues.</span></li>
<li> <span class="contentext"><a href="http://www.html-kit.com/favicon/validator/">Favicon                     validator</a> &#8211; Favicon Validator is a free online service                     that can be used to validate favicon files, link tags and                     related items on web pages. If you&#8217;d like to double check                     the favicon on your web page or if you&#8217;re having trouble                     viewing it, enter your web page address and click &#8220;Check&#8221;</span></li>
<li> <span class="contentext"><a href="http://www.openqa.org/selenium/">Selenium</a> &#8211;                   Selenium is a test tool for web applications. Selenium tests                   run directly in a browser, just as real users do. And they                   run in Internet Explorer, Mozilla and Firefox on Windows, Linux,                   and Macintosh. No other test tool covers such a wide array                   of platforms.</span></li>
<li> <span class="contentext"><a href="http://www.vischeck.com/vischeck/vischeckURL.php">Vischeck</a> &#8211;                   Vischeck URL is still under development. We know that it will                   fail on many websites. For example, it won&#8217;t work with sites                   that do an immediate redirect, use Macromedia Flash, or use                   certain javascript operations. Frames may also cause problems,                   but you can run each frame separately to get around this.</span></li>
<li> <span class="contentext"><a href="http://colorfilter.wickline.org/">Color                     Filter</a> &#8211; Use the colorblind colorlab to select safe colors                     earlier in the design process.</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/resources/validation-compliance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Resources</title>
		<link>http://websiteforensics.com/code/php-resources/</link>
		<comments>http://websiteforensics.com/code/php-resources/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 01:03:28 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/code/php-resources/</guid>
		<description><![CDATA[PHP

 Official                     Php site &#8211; PHP is a widely-used general-purpose scripting                     language that is especially [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">PHP</h3>
<ul>
<li> <span class="contentext"><a href="http://php.net/">Official                     Php site</a> &#8211; PHP is a widely-used general-purpose scripting                     language that is especially suited for Web development and                     can be embedded into HTML.</span></li>
<li>  <span class="contentext"><a href="http://www.php.net/manual/en/reserved.variables.php">Predefined                     variables</a> &#8211; Since PHP 4.1.0, the preferred method for                     retrieving external variables is with the superglobals mentioned                     below. Before this time, people relied on either register_globals                     or the long predefined PHP arrays ($HTTP_*_VARS). As of PHP                     5.0.0, the long PHP predefined variable arrays may be disabled                     with the register_long_arrays directive.</span></li>
<li> <span class="contentext"><a href="http://www.cakephp.org/">CakePhp</a> &#8211;                   Cake is a rapid development framework for PHP which uses commonly                   known design patterns like ActiveRecord, Association Data Mapping,                   Front Controller and MVC. </span></li>
<li> <span class="contentext"><a href="http://pear.php.net/">PEAR</a> &#8211;                   PEAR is a community-driven project governed by its developers.                   PEAR&#8217;s governing bodies are subdivided into the PEAR Group,                   Collectives, and a President. </span></li>
<li> <span class="contentext"><a href="http://smarty.php.net/">Smarty                     template engine</a> &#8211; One of Smartys primary design goals                     is to facilitate the separation of application code from                     presentation. Typically, the application code contains the                     business logic of your application, written and maintained                     in PHP code. </span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/php-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MYSQL Resources</title>
		<link>http://websiteforensics.com/code/mysql-resources/</link>
		<comments>http://websiteforensics.com/code/mysql-resources/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 01:03:02 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/database/mysql-resources/</guid>
		<description><![CDATA[MySQL / SQL

 Official                     MySQL Documentation &#8211; The MySQL Reference Manual covers                     most areas of MySQL [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">MySQL / SQL</h3>
<ul>
<li> <span class="contentext"><a href="http://dev.mysql.com/doc/">Official                     MySQL Documentation</a> &#8211; The MySQL Reference Manual covers                     most areas of MySQL use. This manual is for both MySQL Community                     Server and MySQL Enterprise Server. If you cannot find the                     answer(s) from the manual, you can get support by purchasing                     MySQL Enterprise, which provides comprehensive support and                     services. </span></li>
<li> <span class="contentext"><a href="http://www.phpmyadmin.net/">PhpMyAdmin</a> &#8211;                   phpMyAdmin is a tool written in PHP intended to handle the                   administration of MySQL over the Web. Currently it can create                   and drop databases, create/drop/alter tables, delete/edit/add                   fields, execute any SQL statement, manage keys on fields, manage                   privileges,export data into various formats and is available                   in 50 languages. GPL License information.</span></li>
<li> <span class="contentext"><a href="http://www.postgresql.org/docs/">PosgreSQL                     docs</a> &#8211; PostgreSQL is a powerful, open source relational                     database system. It has more than 15 years of active development                     and a proven architecture that has earned it a strong reputation                     for reliability, data integrity, and correctness. </span></li>
<li> <span class="contentext"><a href="http://phppgadmin.sourceforge.net/">PhpPGAdmin</a> &#8211;                   phpPgAdmin is a web-based administration tool for PostgreSQL.                   It is perfect for PostgreSQL DBAs, newbies and hosting services.</span></li>
<li> <span class="contentext"><a href="http://bluebat.dnsalias.org/howto/sql/">SQL                     Notes</a> &#8211; Some helpful hints on administrating and working                     with major linux sql-databases.</span></li>
</ul>
<h3 class="contentext"></h3>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/mysql-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO &amp; SEM Resources</title>
		<link>http://websiteforensics.com/code/seo-sem-resources/</link>
		<comments>http://websiteforensics.com/code/seo-sem-resources/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 01:02:22 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[SEO SEM]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/seo-sem/seo-sem-resources/</guid>
		<description><![CDATA[SEO / SEM

 Keyword                     suggestion tool &#8211; This is a handy little tool will show                     [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">SEO / SEM</h3>
<ul>
<li> <span class="contentext"></span><span class="contentext"><a href="http://www.digitalpoint.com/tools/suggestion/">Keyword                     suggestion tool</a> &#8211; This is a handy little tool will show                     you the results of your query from both Wordtracker and Overture                     for determining which phrases are searched most often.</span></li>
<li> <span class="contentext"><a href="http://www.digitalpoint.com/tools/keywords/">Keyword                     tracker</a> &#8211; This utility can be used to check search                     engines (currently supporting Google, Yahoo and MSN) for                     search engine ranking and track those ranking historically,                     which as you probably know is critical when doing Internet                     marketing for your website(s).</span></li>
<li>                    <span class="contentext" style="display: inline"><a href="http://www.digitalpoint.com/tools/ad-network/?s=535">Co-op                       ad network</a></span>                   <span class="contentext">- Many sites have a lot of content                   for users which could be used for a shared advertising network.                   So the way I figured it, is why not use it and create the first                   cooperative advertising network (it&#8217;s free by the way).</span></li>
<li> <span class="contentext"><a href="http://inventory.overture.com/d/searchinventory/suggestion/">Overture                     keyword tool</a> &#8211; Not sure what search terms to bid on?                     Enter a term related to your site and we will show you.</span></li>
<li> <span class="contentext"><a href="http://wordtracker.com/">Wordtracker</a> &#8211;                   With Wordtracker you&#8217;ll know which are the best keywords to                   drive more traffic to your sites.</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/seo-sem-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Domains</title>
		<link>http://websiteforensics.com/domains/domains/</link>
		<comments>http://websiteforensics.com/domains/domains/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:57:57 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Domains]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/domains/domains/</guid>
		<description><![CDATA[Domains

NSI &#8211;                   Web Hosting, web site design and domains from Network Solutions
 Sedo                         [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">Domains</h3>
<ul>
<li class="contentext"><a href="http://www.networksolutions.com/">NSI</a> &#8211;                   Web Hosting, web site design and domains from Network Solutions</li>
<li> <span class="contentext"><a href="http://www.sedo.com/">Sedo                         Domain parking</a> &#8211; Sedo is the leading marketplace for                         buying and selling domain names and websites</span></li>
<li> <span class="contentext"><a href="http://www.visibone.com/countrycodes/">Country                     code list</a> &#8211; VisiBone&#8217;s “split list” of Internet                     Country Codes</span></li>
<li> <span class="contentext"><a href="http://www.3character.com/priceguide.html">3Char                     domains</a> &#8211; Domain Name Valuations have always been a tricky                     task, and it&#8217;s often amazing to see the vast differences                     in valuations suggested from one source to another.</span></li>
<li>                   <span class="contentext"><a href="http://www.domaintools.com/">Domain                   Tools &amp; much                     more</a> &#8211; Whois history database, Detailed uptime reports                     on providers, Patent pending reverse IP search, Alerts when                     a domain use trademarks, DNS stuff, whois, traceroute, and                     ping. </span></li>
<li>
<p class="contentext"><a href="http://www.analogpoint.com/tools/domainlookup.php">Domain                       lookup</a> &#8211; Ajax-powered instant domain search. Start                       typing and you&#8217;ll see if the domains you want to buy are                       available or not.</p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/domains/domains/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tools For Networking and Webmasters</title>
		<link>http://websiteforensics.com/networking/tools-for-networking-and-webmasters/</link>
		<comments>http://websiteforensics.com/networking/tools-for-networking-and-webmasters/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:55:17 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/networking/tools-for-networking-and-webmasters/</guid>
		<description><![CDATA[Tools

 Project                     IP &#8211; Detailed information about you and your computer.                     In addition to your [...]]]></description>
			<content:encoded><![CDATA[<h3 class="contentext">Tools</h3>
<ul>
<li> <span class="contentext"><a href="http://projectip.com/">Project                     IP</a> &#8211; Detailed information about you and your computer.                     In addition to your IP address, Project IP                     lists just about everything a webserver can find out about                     your computer. Enjoy!</span></li>
<li> <span class="contentext"><a href="http://www.seochat.com/seo-tools/future-pagerank/">Future                     pagerank</a> &#8211; This tool will query Google&#8217;s various data                     centers to check for any changes in PageRank values for a                     given URL. Usually all data centers will output the same,                     but if queried during an update, you might get a glimpse                     of any upcoming changes in your chosen URL&#8217;s PageRank value. </span></li>
<li> <span class="contentext"><a href="http://www.seomoz.org/tools/page-strength.php">Page                     Strength</a> &#8211; The tool is designed to satisfy the curiosity                     of webmasters, surfers and web marketing professionals seeking                     a better metric to quickly assess a site/page&#8217;s relative                     importance and visibility. </span></li>
<li> <span class="contentext"><a href="http://www.websiteoptimization.com/services/analyze/">Web                     page analyzer</a> &#8211; The script calculates the size of individual                     elements and sums up each type of web page component. Based                     on these page characteristics the script then offers advice                     on how to improve page load time. </span><span id="more-45"></span></li>
<li> <span class="contentext"><a href="http://www.archive.org/">WayBack                     Machine</a> &#8211; Browse through 85 billion web pages archived                     from 1996 to a few months ago. </span></li>
<li> <span class="contentext"><a href="http://www.analogpoint.com/tools/domainip.php">Domain                     to IP</a> &#8211; Enter domains or full URLs (one per line) to                     look up their IP addresses. You may enter up to 50 domains. </span></li>
<li> <span class="contentext"><a href="http://www.database-search.com/sys/pre-check-en.php">Verify                     pagerank</a> &#8211; Different websites offer them every day &#8211;                     those &#8220;Super-PageRank Domains&#8221;. But beware: More                     and more dubious providers try to sell completely worthless                     domains to you with bogus tricks. Use this chance to check                     if the displayed PageRank is real.</span></li>
<li> <span class="contentext"><a href="http://www.webformfactory.com/">Web                     Form Factory</a> &#8211; Web Form Factory is an open source web                     form generator which automatically generates the necessary                     backend code to tie your form to a database.</span></li>
<li> <span class="contentext"><a href="http://www.faqs.org/rfcs/">RFC                     Ref</a> &#8211; Internet RFC/STD/FYI/BCP Archives</span></li>
<li> <span class="contentext"><a href="http://www.alexa.com/site/ds/movers_shakers?lang=en">Alexa</a> &#8211;                   The Top 10 Sites moving up or moving down in the traffic rankings,                   as measured by the change in the number of users visiting the                   site.</span></li>
<li class="contentext"><a href="http://mcdar.net/dance/index.php">Google                   dance tool</a> &#8211; Google Datacenter Watch Tool</li>
<li> <span class="contentext"><a href="http://www.iwebtool.com/visual_pagerank">Visual                     pagerank</a> &#8211; View the PageRank of links visually rather                     than in text.</span></li>
<li> <span class="contentext"><a href="http://www.rustybrick.com/pagerank-prediction.php">Rusty                     brick</a> &#8211; This tool attempts to determine a future Google                     PageRank value of a particular site. In other words, we try                     to determine the PageRank value of the URL you enter below,                     as it would be after the next Google PageRank update. The                     tools does several calculations to come to this figure. </span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/networking/tools-for-networking-and-webmasters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Resources</title>
		<link>http://websiteforensics.com/code/html-resources/</link>
		<comments>http://websiteforensics.com/code/html-resources/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:53:37 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/code/html/html-resources/</guid>
		<description><![CDATA[HTML

 Getting                       started with HTML &#8211; a short introduction to writing                       [...]]]></description>
			<content:encoded><![CDATA[<h3>HTML</h3>
<ul>
<li> <span><a href="http://www.w3.org/MarkUp/Guide/">Getting                       started with HTML</a> &#8211; a short introduction to writing                       HTML. What is HTML? It is a special kind of text document                       that is used by Web browsers to present text and graphics. </span></li>
<li><a href="http://www.w3.org/TR/REC-html40/">HTML                     4.01</a> &#8211; This specification defines the HyperText Markup                     Language (HTML), the publishing language of the World Wide                     Web. This specification defines HTML 4.01, which is a subversion                     of HTML 4.</li>
<li> <span><a href="http://www.visibone.com/htmlref/char/ceralpha.htm">HTML                     Characters</a> &#8211; Alpha Codes</span></li>
<li> <span><a href="http://www.oreillynet.com/lpt/a/163">Use                       the right DOCTYPE</a> &#8211; In case you aren&#8217;t familiar with                       the DOCTYPE element, it&#8217;s quite simply an element used                       to declare what language (and its level) a document uses,                       and optionally what document type definition (DTD) is to                       be used in its handling. </span></li>
<li> <span><a href="http://www.w3.org/International/O-charset.en.php">All                     about Character encoding</a> &#8211; a quick summary of key information                     related to character encodings in HTML and XML. </span></li>
<li> <span><a href="http://htmlplayground.com/">HMTL &amp; CSS                     tutorial by example</a> &#8211; htmlPlayground<br />
XHTML+CSS REFERENCE BY EXAMPLE<br />
0.3 BETA</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/html-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reveal source code with link</title>
		<link>http://websiteforensics.com/code/reveal-source-code-with-link/</link>
		<comments>http://websiteforensics.com/code/reveal-source-code-with-link/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 15:53:20 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/code/html/reveal-source-code-with-link/</guid>
		<description><![CDATA[Ever had to transfer a very large number of flat files to a CMS? There are many ways to achieve this, but sooner of later you will have to do some grunt work with code. One of the solutions involves creating a naked version of your content with a very basic navigation system and a [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had to transfer a very large number of flat files to a CMS? There are many ways to achieve this, but sooner of later you will have to do some grunt work with code. One of the solutions involves creating a naked version of your content with a very basic navigation system and a COPY CODE link.</p>
<p><span id="more-36"></span>If you create your archive using php, you can include this bit of code on your pages to make each one, just one click away from displaying source code:</p>
<p>1. Create this bloc of php in the top of the template file</p>
<blockquote><p> &lt;?phpfunction curPageURL() {<br />
$pageURL = &#8216;http&#8217;;<br />
if ($_SERVER["HTTPS"] == &#8220;on&#8221;) {$pageURL .= &#8220;s&#8221;;}<br />
$pageURL .= &#8220;://&#8221;;<br />
if ($_SERVER["SERVER_PORT"] != &#8220;80&#8243;) {<br />
$pageURL .= $_SERVER["SERVER_NAME"].&#8221;:&#8221;.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];<br />
} else {<br />
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];<br />
}<br />
return $pageURL;<br />
}<br />
?&gt;</p></blockquote>
<p>2. Add this link to all your pages</p>
<blockquote><p> &lt;a href=&#8221;view-source:&lt;?php echo curPageURL(); ?&gt;&#8221; target=&#8221;_blank&#8221;&gt;View source of current page&lt;/a&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/reveal-source-code-with-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

