
<script language="javascript">
function isEmail(emailAddress){
emailAddressValue=emailAddress.value.toLowerCase();
var countryTLDs=/^(ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cat|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$/;
var gTLDs=/^(aero|asia|biz|cat|com|coop|edu|geo|gov|info|int|jobs|mil|mobi|museum|name|net|org|post|pro|tel|travel)$/;
var basicAddress=/^(.+)@(.+)$/;
var specialChars='\\(\\)><@,;:\\\\\\\"\\.\\[\\]';
var validChars='\[^\\s'+specialChars+'\]';
var validCharset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzöå0123456789\'-_.+';
var quotedUser='(\"[^\"]*\")';
var atom=validChars+'+';
var word='('+atom+'|'+quotedUser+')';
var validUser=new RegExp('^'+word+'(\.'+word+')*$');
var symDomain=new RegExp('^'+atom+'(\.'+atom+')*$');
var matchArray=emailAddressValue.match(basicAddress);
if(emailAddress.value==''||emailAddress==null){
return true;
}
if(matchArray==null){
alert('The Email address doesn\'t seem to be correct,\nplease check syntax.');
emailAddress.focus();
return false;
}else{
var user=matchArray[1];
var domain=matchArray[2];
for(i=0;i<user.length;i++){
if(validCharset.indexOf(user.charAt(i))==-1){
alert('The Email address contains invalid characters,\nplease check the username.');
emailAddress.focus();
return false;
}
}
for(i=0;i<domain.length;i++){
if(validCharset.indexOf(domain.charAt(i))==-1){
alert('The Email address contains invalid characters,\nplease check the domain.');
emailAddress.focus();
return false;
}
}
if(user.match(validUser)==null){
alert('The Email address doesn\'t seem to be correct,\nplease check the username.');
emailAddress.focus();
return false;
}
var atomPat=new RegExp('^'+atom+'$');
var domArr=domain.split('.');
var len=domArr.length;
for(i=0;i<len;i++){
if(domArr[i].search(atomPat)==-1){
alert('The Email address doesn\'t seem to be correct,\nplease check the domain name.');
emailAddress.focus();
return false;
}
}
if((domArr[domArr.length-1].length==2)&&(domArr[domArr.length-1].search(countryTLDs)==-1)){
alert('The Email address doesn\'t seem to be correct,\nplease check domain suffix.');
emailAddress.focus();
return false;
}
if((domArr[domArr.length-1].length>2)&&(domArr[domArr.length-1].search(gTLDs)==-1)){
alert('The Email address doesn\'t seem to be correct,\nplease check domain suffix.');
emailAddress.focus();
return false;
}
if((domArr[domArr.length-1].length<2)||(domArr[domArr.length-1].length>6)){
alert('The Email address doesn\'t seem to be correct,\nplease check domain suffix.');
emailAddress.focus();
return false;
}
if(len<2){
alert('The Email address doesn\'t seem to be correct,\nplease check missing hostname.');
emailAddress.focus();
return false;
}
}
return true;
}
String.prototype.trim = function() { return this.replace(/^\s*(\b.*\b|)\s*$/, "$1");	}
function mandatoryText(input,fieldName){
if(input.value.trim()==''||input==null){
alert('Please enter your '+fieldName+'.');
input.focus();
return false;
} else {
return true;
}
}
function validForm(){
if(!mandatoryText(document.getElementById('EMAIL_FIELD'), 'Email Address:')) return;
if(!isEmail(document.getElementById('EMAIL_FIELD'))) return;
document.getElementById('emvForm').submit();
}
</script>

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: All new books</title>
	<atom:link href="http://www.chrishigginsthatsme.com/hello-world/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chrishigginsthatsme.com/hello-world</link>
	<description>thats me</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:41:32 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Isabel</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-78</link>
		<dc:creator>Isabel</dc:creator>
		<pubDate>Wed, 14 Apr 2010 13:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-78</guid>
		<description>I think you should try and get your books made into films, too, but maybe try for a TV series first...</description>
		<content:encoded><![CDATA[<p>I think you should try and get your books made into films, too, but maybe try for a TV series first&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isabel</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-77</link>
		<dc:creator>Isabel</dc:creator>
		<pubDate>Wed, 14 Apr 2010 13:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-77</guid>
		<description>I love your books!!! I think it was a great idea that walking the walls was published as a world book day book, because a lot more people will notice it. Thats how I found out LOL!!</description>
		<content:encoded><![CDATA[<p>I love your books!!! I think it was a great idea that walking the walls was published as a world book day book, because a lot more people will notice it. Thats how I found out LOL!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivia</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-21</link>
		<dc:creator>Olivia</dc:creator>
		<pubDate>Mon, 05 Apr 2010 10:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-21</guid>
		<description>I love your books so much! The first one I read was &#039;A Perfect Ten&#039; and I loved it so I found more of your books! I haven&#039;t read 32c that&#039;s me, pride and penalties or tapas and tears yet but I will read them soon! My fave one so far is &#039;would you rather&#039;; I really wanted to find out what happened next. I think you should make some of your books into films!xxx
P.S. I prefered the book covers before but I still like the new ones!xxx</description>
		<content:encoded><![CDATA[<p>I love your books so much! The first one I read was &#8216;A Perfect Ten&#8217; and I loved it so I found more of your books! I haven&#8217;t read 32c that&#8217;s me, pride and penalties or tapas and tears yet but I will read them soon! My fave one so far is &#8216;would you rather&#8217;; I really wanted to find out what happened next. I think you should make some of your books into films!xxx<br />
P.S. I prefered the book covers before but I still like the new ones!xxx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellie Walby</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-20</link>
		<dc:creator>Ellie Walby</dc:creator>
		<pubDate>Fri, 02 Apr 2010 17:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-20</guid>
		<description>I love ALL of your books ive read so far!!!!!!!!!!!!! My favourite was...well i cant choose be tween its a 50/50 thing and 32c thats me they&#039;re both great!!!!!!!!!!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p>I love ALL of your books ive read so far!!!!!!!!!!!!! My favourite was&#8230;well i cant choose be tween its a 50/50 thing and 32c thats me they&#8217;re both great!!!!!!!!!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Morris</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-4</link>
		<dc:creator>Tom Morris</dc:creator>
		<pubDate>Sat, 06 Mar 2010 18:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-4</guid>
		<description>Just read Walking the Walls.
It owned.
I&#039;m going to read all your books now!
</description>
		<content:encoded><![CDATA[<p>Just read Walking the Walls.<br />
It owned.<br />
I&#8217;m going to read all your books now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caitlin</title>
		<link>http://www.chrishigginsthatsme.com/hello-world/comment-page-1#comment-2</link>
		<dc:creator>Caitlin</dc:creator>
		<pubDate>Fri, 19 Feb 2010 16:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1#comment-2</guid>
		<description>A great book by Chris Higgins...AGAIN! I loved the newest book Tapas and Tears!! Love the new covers too!! My teacher was over the moon that I&#039;d found another Chris Higgins for her to read!! You&#039;re a great author!!</description>
		<content:encoded><![CDATA[<p>A great book by Chris Higgins&#8230;AGAIN! I loved the newest book Tapas and Tears!! Love the new covers too!! My teacher was over the moon that I&#8217;d found another Chris Higgins for her to read!! You&#8217;re a great author!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

