<?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; html</title>
	<atom:link href="http://websiteforensics.com/category/code/html/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>Thu, 19 Apr 2012 19:04:11 +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>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>
		<item>
		<title>HTTP CODES EXPLAINED</title>
		<link>http://websiteforensics.com/code/html/http-codes-explained/</link>
		<comments>http://websiteforensics.com/code/html/http-codes-explained/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 01:59:46 +0000</pubDate>
		<dc:creator>Mark MacKinnon</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.websiteforensics.com/?p=21</guid>
		<description><![CDATA[HTTP (Hypertext Transfer Protocol)    response                 status codes and standard associated explanations.


1xx Informational &#8211; Request received, continuing process.                 

100:   [...]]]></description>
			<content:encoded><![CDATA[<p>HTTP (Hypertext Transfer Protocol)    response                 status codes and standard associated explanations.</p>
<p><span id="more-21"></span></p>
<ul class="contentext">
<li><strong>1xx Informational &#8211; Request received, continuing process.                 </strong>
<ul>
<li>100:                         Continue</li>
<li>101: Switching Protocols</li>
</ul>
</li>
<li><strong>2xx Success &#8211; The action was successfully                       received, understood, and accepted.                     </strong>
<ul>
<li>200: OK</li>
<li>201: Created</li>
<li>202: Accepted</li>
<li>203: Non-Authoritative Information</li>
<li>204: No Content</li>
<li>205: Reset Content</li>
<li>206: Partial Content</li>
</ul>
</li>
<li><strong>3xx Redirection &#8211; The client must take additional action                       to complete the request.                     </strong>
<ul>
<li>300: Multiple Choices</li>
<li>301: Moved Permanently</li>
<li>302: Moved Temporarily (HTTP/1.0)</li>
<li>302: Found (HTTP/1.1)</li>
<li>303: See Other (HTTP/1.1)</li>
<li>304: Not Modified</li>
<li>305: Use Proxy</li>
<li>307: Temporary Redirect</li>
</ul>
</li>
<li><strong>4xx Client Error &#8211; The request contains bad syntax or                       cannot be fulfilled.                     </strong>
<ul>
<li>400: Bad Request</li>
<li>401: Unauthorized</li>
<li>403: Forbidden</li>
<li>404: Not Found</li>
<li>405: Method Not Allowed</li>
<li>406: Not Acceptable</li>
<li>407: Proxy Authentication Required</li>
<li>408: Request Timeout</li>
<li>409: Conflict</li>
<li>410: Gone</li>
<li>411: Length Required</li>
<li>412: Precondition Failed</li>
<li>413: Request Entity Too Large</li>
<li>414: Request-URI Too Long</li>
<li>415: Unsupported Media Type</li>
<li>416: Requested Range Not Satisfiable</li>
<li>417: Expectation                             Failed</li>
</ul>
</li>
<li><strong>5xx Server Error &#8211; The server failed to fulfill an apparently                       valid request.                     </strong>
<ul>
<li>500: Internal Server Error</li>
<li>501: Not Implemented</li>
<li>502: Bad Gateway</li>
<li>503: Service Unavailable</li>
<li>504: Gateway Timeout</li>
<li>505: HTTP Version Not Supported</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://websiteforensics.com/code/html/http-codes-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

