
<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: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>Chris Higgins &#187; admin</title>
	<atom:link href="http://www.chrishigginsthatsme.com/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chrishigginsthatsme.com</link>
	<description>thats me</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:12:05 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Competition winners</title>
		<link>http://www.chrishigginsthatsme.com/competition-winners</link>
		<comments>http://www.chrishigginsthatsme.com/competition-winners#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:16:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[competition]]></category>

		<guid isPermaLink="false">http://www.chrishigginsthatsme.com/?p=234</guid>
		<description><![CDATA[To celebrate the brand new book coming August 2011 called He’s After Me, we ran a competition offering five lucky &#8230; <a href="http://www.chrishigginsthatsme.com/competition-winners">click here to read more</a>.]]></description>
			<content:encoded><![CDATA[<p>To celebrate the brand new book coming August 2011 called <em><a href="http://www.chrishigginsthatsme.com/books/hes-after-me">He’s After Me</a></em>, we ran a competition offering five lucky fans the chance to get their hands on a copy before anyone else. To enter the competition, they simply had answer the below question:</p>
<p><em><a href="http://www.chrishigginsthatsme.com/books/hes-after-me">He’s After Me</a></em> features a character called Jem. In which Chris Higgins book has he appeared before?</p>
<p>The competition closed on July 15th 2011, and we chose our winners from the correct answers. So congratulations to Bethany, Peta, Laura, Caroline and Harriet! You can get reading before anyone else!</p>
<p>There&#8217;ll be a new competition up soon &#8211; watch this space!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishigginsthatsme.com/competition-winners/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All new books</title>
		<link>http://www.chrishigginsthatsme.com/hello-world</link>
		<comments>http://www.chrishigginsthatsme.com/hello-world#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:12:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://staging.cutcopypaste.co.uk/hachette/higgins/?p=1</guid>
		<description><![CDATA[All my books are being re-issued with new jackets! Check them out in the book section. In the front my &#8230; <a href="http://www.chrishigginsthatsme.com/hello-world">click here to read more</a>.]]></description>
			<content:encoded><![CDATA[<p>All my books are being re-issued with new jackets! Check them out in the book section. In the front my publisher has put some of the nice quotes that people have given my books &#8230;</p>
<p>‘Another fab book by Chris Higgins.’ Clara, 13<br />
‘Chris Higgins writes in a dead-on emulation of a teenage girl’s voice, her prose salted with pithy observations.’ Financial Times<br />
‘Higgins packs a lot into an easily-read book, taking the issues seriously but presenting them with a welcomelightness of touch.’ Books for Keeps<br />
‘A strong plotline, characters you can really relate to and the right mix of emotional tension and romance.’ Julia Eccleshare, Lovereading4kids<br />
‘She has a light touch and an easy style that absorbs you right from the very start.’ The Book Bag<br />
‘This story contains some incredible twists which will keep you gripped from start to finish.’ Sugar Magazine<br />
‘A poignant story about standing up for what you believe in.’Waterstone’s Books Quarterly</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishigginsthatsme.com/hello-world/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

