<?xml version="1.0" encoding="UTF-8"?>
<MediaManDataSource>
	<Name>Barnes and Noble</Name>
	<Version>2008-07-01</Version>
	<Copyright>(C) 2008. He Shiming.</Copyright>
	<Encoding>ANSI</Encoding>
	<Nature>HTML</Nature>
	<Definition>
		<Stage>
			<Type>SearchResult</Type>
			<URL>http://search.barnesandnoble.com/booksearch/results.asp?WRD=[SearchKeyword]</URL>
			<RegularExpressionPreParse><![CDATA[Sort by:(.*)Sort by:]]></RegularExpressionPreParse>
			<RegularExpressionT1><![CDATA[<div class="bc-wrapper">.*?<div class="bc-desc"><h2><a href="(.*?)">(.*?)</a>.*?ISBN-13.*?</strong>(.*?)</li>.*?Add to wish list]]></RegularExpressionT1>
			<ResultMappingT1>x1000000e;x10000006;x10000010</ResultMappingT1>
		</Stage>
		<Stage>
			<Type>RecordPage</Type>
			<URL>http://search.barnesandnoble.com/booksearch/pfp.asp?ean=[x10000010]</URL>
			<RegularExpressionT1><![CDATA[<img border="0" src="(.*?)" alt="Cover Image".*?<h2>(.*?)<em class="nl">(.*?)</em>.*?<p class="format">(.*?)</p>.*?Customer Rating for this product is (.*?) out of 5"> \((.*?) ratings.*?Publisher: (.*?)</li>.*?Pub\. Date:(.*?)</li>.*?ISBN-13: (.*?)</li>.*?Sales Rank: (.*?)</li>.*?([0-9]+?) pp.*?</table>(<h4>.*?)<table width="100%" cellpadding="0" cellspacing="0" border="0">]]></RegularExpressionT1>
			<ResultMappingT1>x10000011;x10000006;x10000025;x1000000a;x1000002f;x10000030;x1000000b;x10000022;x10000010;x1000004f;x10000023;x10000014</ResultMappingT1>
		</Stage>
		<Stage>
			<Type>ImagePage</Type>
			<URL>http://search.barnesandnoble.com/booksearch/imageviewer.asp?ean=[x10000010]</URL>
			<RegularExpressionT1><![CDATA[<img src="([^"]*?)" alt="Cover Image"]]></RegularExpressionT1>
			<ResultMappingT1>x10000011</ResultMappingT1>
		</Stage>
		<Stage>
			<Type>Image</Type>
			<URL>[x10000011]</URL>
			<ResultMappingT1>1</ResultMappingT1>
		</Stage>
	</Definition>
</MediaManDataSource>

