<?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>P Nash &#187; W3C</title> <atom:link href="http://pedronash.com/tag/w3c/feed/" rel="self" type="application/rss+xml" /><link>http://pedronash.com</link> <description>adventures of a gentleman</description> <lastBuildDate>Sun, 30 May 2010 14:05:20 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Mobile Optimised Website W3C Link Checker</title><link>http://pedronash.com/it/mobile-optimised-website-w3c-link-checker/</link> <comments>http://pedronash.com/it/mobile-optimised-website-w3c-link-checker/#comments</comments> <pubDate>Sun, 14 Feb 2010 22:55:39 +0000</pubDate> <dc:creator>peter</dc:creator> <category><![CDATA[IT]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[link checker]]></category> <category><![CDATA[W3C]]></category> <category><![CDATA[web]]></category> <category><![CDATA[web development]]></category><guid
isPermaLink="false">http://plumnash.com/?p=173</guid> <description><![CDATA[This post is about link checking your  mobile optimised site to W3C standard.W3C are a standards body who provides free link checking software, which can be run from their website. Link checking is a great way of improving a site&#8217;s quality and it can be done automatically! But where&#8217;s the support for mobile? I [...]]]></description> <content:encoded><![CDATA[<p>This post is about link checking your  mobile optimised site to W3C standard.W3C are a standards body who provides <a
title="W3C link checker" href="http://validator.w3.org/checklink">free link checking software</a>, which can be run from their website. Link checking is a great way of improving a site&#8217;s quality and it can be done automatically! But where&#8217;s the support for mobile? I found it hard to run any link checkers whilst developing our mobile optimized site, so I tweaked the existing W3C link checker&#8230;</p><p><strong>W3C Link Checker for Mobile</strong></p><p>Finding no mobile link checkers I extended the <a
title="W3C link checker" href="http://search.cpan.org/dist/W3C-LinkChecker/">W3C link checker</a> to do the job. For security reasons you should go to the official site and alter the Perl script manually, but for the trusting the edited script can be downloaded <a
title="Mobile W3C Link Checker" href="http://plumnash.com/checklink-m">here</a> (I&#8217;ve also removed the 1 page per second limit).</p><p>To extend checklink for mobile user agents, add a new line to <strong>line 1307</strong> of the checklink code containing:</p><pre>$request-&gt;header('User-Agent', 'Mobile');
</pre><p>To run this link checker across your entire site you&#8217;ll need to run it recursively (using -r), I run the script using (For -S0 to work you&#8217;ll need to alter the script again):</p><pre>checklink-m -Hbrq -S0 http://stripeylines.com &gt; release-12.2.m.html</pre><p><strong>Future Work<br
/> </strong></p><p>Ideally, the <em>checklink</em> script would be extended and the user-agent passes as a parameter (permitting both PC and mobile site checking). If anyone wishes to take this further I&#8217;d be interested in the end result. If I have no responses in the following weeks I&#8217;ll contact W3C with my suggestions.</p> ]]></content:encoded> <wfw:commentRss>http://pedronash.com/it/mobile-optimised-website-w3c-link-checker/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 4/12 queries in 0.001 seconds using disk

Served from: pjlnash.co.uk @ 2012-02-06 22:05:35 -->
