<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sundgaard.dk</title>
	<atom:link href="http://esbensundgaard.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://esbensundgaard.wordpress.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Thu, 27 Jan 2011 20:49:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='esbensundgaard.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sundgaard.dk</title>
		<link>http://esbensundgaard.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://esbensundgaard.wordpress.com/osd.xml" title="Sundgaard.dk" />
	<atom:link rel='hub' href='http://esbensundgaard.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Website search (SearchEngine)</title>
		<link>http://esbensundgaard.wordpress.com/2011/01/27/website-search-searchengine/</link>
		<comments>http://esbensundgaard.wordpress.com/2011/01/27/website-search-searchengine/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 15:41:02 +0000</pubDate>
		<dc:creator>esbensundgaard</dc:creator>
				<category><![CDATA[Ikke kategoriseret]]></category>

		<guid isPermaLink="false">https://esbensundgaard.wordpress.com/?p=19</guid>
		<description><![CDATA[I have developed a search engine that is optimized for crawling and searching websites. The search engine and the source code can be downloaded from codeplex.com. Here is a short post about how to install and use the search engine. Hopefully I will have time to describe the search engine in more details another time. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=esbensundgaard.wordpress.com&amp;blog=18704797&amp;post=19&amp;subd=esbensundgaard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have developed a search engine that is optimized for crawling and searching websites. The search engine and the source code can be <a href="http://searchengine.codeplex.com/releases" target="_blank">downloaded from codeplex.com</a>.</p>
<p>Here is a short post about how to install and use the search engine. Hopefully I will have time to describe the search engine in more details another time.</p>
<p>You need MS SQL Server to run the Search engine.</p>
<h2>Installing the Indexer (Crawler)</h2>
<p>Installing the indexer is very easy. Download the <a href="http://searchengine.codeplex.com/releases/view/59745" target="_blank">Setup Website Search</a> and install it. </p>
<p>After the installation you will have this folder in your Programs:</p>
<p><a href="http://esbensundgaard.files.wordpress.com/2011/01/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb.png?w=244&#038;h=241" width="244" height="241"></a></p>
<p><em>If you have Visual Studio 2010 and do not want to install the program then you can download the source code and run the program from Visual Studio. The SearchDB.sql is also included in the project.</em></p>
<p>&nbsp;</p>
<h3>Creating the database</h3>
<p>The first thing you need to do is creating the database. Open the SearchDB.sql in SQL Server Management and Execute the sql.</p>
<p><a href="http://esbensundgaard.files.wordpress.com/2011/01/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb1.png?w=613&#038;h=390" width="613" height="390"></a></p>
<p>This will create the Search database.</p>
<p><font><em>You can change the name of the database by replacing [Search] with a new name.</em></font></p>
<p>&nbsp;</p>
<h3>Indexing</h3>
<p>Now you are ready to run the indexer program. Open the Website Search program.</p>
<p><a href="http://esbensundgaard.files.wordpress.com/2011/01/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb2.png?w=617&#038;h=357" width="617" height="357"></a></p>
<p>Enter the urls that you want to index in the Starting point box. You can create an index that combines two or more domains by entering one url on each line.</p>
<p>The crawler starts when you click the Go button and you will see the status in the bottom area of the program.</p>
<p>When the crawler is finish you can see the result in the database.</p>
<p>If you check the “Save Html”-checkbox then the indexer will also save the HTML from each page in the database.</p>
<p>The program will create a log file in the program folder. The program will also create temporary files in the program folder when searching pdf and Office files. Therefore you need to make sure that the current users have Edit access to the program folder: “C:\Program Files (x86)\SearchEngine\Website Search”. If the default user do not have access then you will not be able to index these file types and no log will be created.</p>
<p>The program will uses this default connection string “Data Source=.\SQLEXPRESS;Initial Catalog=Search;Integrated Security=True”. You can change this in the “SearchProgram.exe.config”-file in the program folder.</p>
<p>The program respects Metatags:</p>
<ul>
<li>Description metatag. The page will get a description from this tag if the tag is found.
<li>Robots metatags. Noindex and nofollow metags are respected.</li>
</ul>
<p>&nbsp;</p>
<h2>Searching</h2>
<p>In my next post I will show how to search using the search engine. But until then you can download the source code and see the sample website. It contains two searching samples.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/esbensundgaard.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/esbensundgaard.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/esbensundgaard.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=esbensundgaard.wordpress.com&amp;blog=18704797&amp;post=19&amp;subd=esbensundgaard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://esbensundgaard.wordpress.com/2011/01/27/website-search-searchengine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bf7cb63e04a6be1ced95d55bc9c61d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">esbensundgaard</media:title>
		</media:content>

		<media:content url="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://esbensundgaard.files.wordpress.com/2011/01/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Styling the ValidatorCalloutExtender</title>
		<link>http://esbensundgaard.wordpress.com/2010/09/22/styling-the-validatorcalloutextender/</link>
		<comments>http://esbensundgaard.wordpress.com/2010/09/22/styling-the-validatorcalloutextender/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 20:54:04 +0000</pubDate>
		<dc:creator>esbensundgaard</dc:creator>
				<category><![CDATA[Computere og internet]]></category>

		<guid isPermaLink="false">http://esbensundgaard.wordpress.com/2010/09/22/styling-the-validatorcalloutextender</guid>
		<description><![CDATA[  I think the ValidatorCalloutExtender from the AJAX Control Toolkit is a very nice control. For those who don’t know the control the ValidatorCallout is an ASP.NET AJAX extender that enhances the functionality of existing ASP.NET validators (text taken from the sample on the AJAX Control Toolkit sample site): http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ValidatorCallout/ValidatorCallout.aspx But I don’t think the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=esbensundgaard.wordpress.com&amp;blog=18704797&amp;post=5&amp;subd=esbensundgaard&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="msgcns!911577502211C20C!652" class="bvMsg">
<h3> </h3>
<p>I think the ValidatorCalloutExtender from the AJAX Control Toolkit is a very nice control. For those who don’t know the control the ValidatorCallout is an ASP.NET AJAX extender that enhances the functionality of existing ASP.NET validators (text taken from the sample on the AJAX Control Toolkit sample site): <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ValidatorCallout/ValidatorCallout.aspx">http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ValidatorCallout/ValidatorCallout.aspx</a>
<p>But I don’t think the default styling of the ValidatorCallout is very nice:
<p><a href="http://esbensundgaard.files.wordpress.com/2010/09/309a7eb117fed0d0eddce3da78324927.jpg" rel="WLPP"><img border="0" src="http://esbensundgaard.files.wordpress.com/2010/09/309a7eb117fed0d0eddce3da78324927.jpg?w=300" /></a>
<p>Fortunately it is very easy to change the basic styling. As the sample shows we can change the border and background color by specifying our own custom style:
<p>.customvalidatorcallout div, .customvalidatorcallout td &#123; border:solid 1px red; background-color:#fff; &#125;
<p>And we can change the “highlight” css class to this:
<p>.highlight &#123; background-color:red; &#125;
<p>And change the “WarningIconImageUrl” and “CloseImageUrl&quot; to our own images. Then we can get a ValidatorCallout that looks something like this:
<p><a href="http://esbensundgaard.files.wordpress.com/2010/09/009c2a9640d5f15222e049163e8186a4.jpg" rel="WLPP"><img border="0" src="http://esbensundgaard.files.wordpress.com/2010/09/009c2a9640d5f15222e049163e8186a4.jpg?w=300" /></a>
<p>Off course you could change the colors to something that match you site.
<p>And we can even use some of the new stylesheet features like rounded corners and shadow:
<p>.customvalidatorcallout div, .customvalidatorcallout td &#123; border:solid 1px red; background-color:#fff; &#125;<br />.customvalidatorcallout .ajax__validatorcallout_error_message_cell &#123;font-size:12px;padding-top:10px;padding-bottom:10px;color:Red;-moz-box-shadow: 2px 2px 2px gray;-webkit-box-shadow: 2px 2px 2px gray;box-shadow: 2px 2px 2px gray;&#125;<br />.customvalidatorcallout .ajax__validatorcallout_close_button_cell &#123;padding:2px;-moz-border-radius-topright:5px;-moz-border-radius-bottomright:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;-moz-box-shadow: 2px 2px 2px gray;-webkit-box-shadow: 2px 2px 2px gray;box-shadow: 2px 2px 2px gray;&#125;<br />.customvalidatorcallout .ajax__validatorcallout_icon_cell &#123; padding-top:7px; -moz-border-radius-topleft:5px;-moz-border-radius-bottomleft:5px;border-top-left-radius:5px;border-bottom-left-radius:5px;-moz-box-shadow: 2px 2px 2px gray;-webkit-box-shadow: 2px 2px 2px gray;box-shadow: 2px 2px 2px gray;&#125;<br />.customvalidatorcallout .ajax__validatorcallout_close_button_cell .ajax__validatorcallout_innerdiv &#123;border:none !important; text-align:center;width:24px;padding:0px 0px 2px 2px;cursor:pointer;&#125;<br />.customvalidatorcallout .ajax__validatorcallout_close_button_cell .ajax__validatorcallout_innerdiv img &#123; border:1px solid orange; background-color:Red; &#125;<br />.customvalidatorcallout .ajax__validatorcallout_close_button_cell .ajax__validatorcallout_innerdiv img:hover &#123; border:1px solid gold; &#125;
<p>And we will now have a ValidatorCallout that looks like this in the newest browsers:
<p><a href="http://esbensundgaard.files.wordpress.com/2010/09/af86b66207ee4a557304fed013e487a1.jpg" rel="WLPP"><img border="0" src="http://esbensundgaard.files.wordpress.com/2010/09/af86b66207ee4a557304fed013e487a1.jpg?w=300" /></a>
<p>And in older browsers it would just look like this:
<p><a href="http://esbensundgaard.files.wordpress.com/2010/09/a653a650c5a85b4c0bf0713ca4440f18.jpg" rel="WLPP"><img border="0" src="http://esbensundgaard.files.wordpress.com/2010/09/a653a650c5a85b4c0bf0713ca4440f18.jpg?w=300" /></a>
<p>Here is some other useful information about the ValidatorCallout: You can specify the PopupPosition of the callout. So if your form is place in the right side of the browser window then you can specify that the callout should appear to the left of form fields or above or below.
<p>The ValidatorCallout also supports Skinning so a good way to implement this design on all ValidatorCallout’s on a complete site is to create a ValidatorCalloutExtender.skin file in the Themes folder where we specify the CssClass, HighlightCssClass, WarningIconImageUrl and CloseImageUrl.
<p>I have included a sample with a ValidatorCalloutExtender.skin file and the above styling and samples of the PopupPosition:<br /><a title="http://sundgaard.dk/ValidatorCallout/ValidatorCallout_03.zip" href="http://sundgaard.dk/ValidatorCallout/ValidatorCallout_03.zip">http://sundgaard.dk/ValidatorCallout/ValidatorCallout_03.zip</a></p>
<p>The sample has been tested in IE9 (beta), Firefox and Chrome.<br />The warning icon in the sample is from this icon collection: <a href="http://dryicons.com/free-icons/preview/classy-icons-set/">http://dryicons.com/free-icons/preview/classy-icons-set/</a></p>
</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/esbensundgaard.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/esbensundgaard.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/esbensundgaard.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=esbensundgaard.wordpress.com&amp;blog=18704797&amp;post=5&amp;subd=esbensundgaard&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://esbensundgaard.wordpress.com/2010/09/22/styling-the-validatorcalloutextender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8bf7cb63e04a6be1ced95d55bc9c61d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">esbensundgaard</media:title>
		</media:content>

		<media:content url="http://esbensundgaard.files.wordpress.com/2010/09/309a7eb117fed0d0eddce3da78324927.jpg?w=300" medium="image" />

		<media:content url="http://esbensundgaard.files.wordpress.com/2010/09/009c2a9640d5f15222e049163e8186a4.jpg?w=300" medium="image" />

		<media:content url="http://esbensundgaard.files.wordpress.com/2010/09/af86b66207ee4a557304fed013e487a1.jpg?w=300" medium="image" />

		<media:content url="http://esbensundgaard.files.wordpress.com/2010/09/a653a650c5a85b4c0bf0713ca4440f18.jpg?w=300" medium="image" />
	</item>
	</channel>
</rss>
