<?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>Tutorials, scripts, templates and tips</title>
	<atom:link href="http://www.bloggpro.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggpro.com</link>
	<description>Excel, Wordpress, MS Office tips, CSS, PHP, MySQL scripting and web publishing</description>
	<lastBuildDate>Sun, 21 Aug 2011 05:45:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Add a simple map in your WordPress sidebar</title>
		<link>http://www.bloggpro.com/add-a-simple-map-in-your-wordpress-sidebar/</link>
		<comments>http://www.bloggpro.com/add-a-simple-map-in-your-wordpress-sidebar/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 15:09:48 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=376</guid>
		<description><![CDATA[This small script for WordPress allows you to add a small map with a custom marker in your sidebar in single post view by simply adding a custom field to the post called city_name and in the value you enter &#8230; <a href="http://www.bloggpro.com/add-a-simple-map-in-your-wordpress-sidebar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bloggpro.com/wp-content/uploads/2011/03/map.bmp"><img class="alignright size-full wp-image-377" title="map" src="http://www.bloggpro.com/wp-content/uploads/2011/03/map.bmp" alt="" /></a>This small script for WordPress allows you to add a small map with a custom marker in your sidebar in single post view by simply adding a custom field to the post called</p>
<p><code>city_name</code></p>
<p>and in the value you enter the name of the city (or place) that you wish to point out with a marker.</p>
<p><span id="more-376"></span></p>
<p>You can download the script and insert into your theme sidebar.php file, and make the necessary changes to fit your needs.</p>
<p><a href="http://www.bloggpro.com/wp-content/uploads/2011/03/map_script.zip">Download code here</a></p>
<p>You will need to add latitude and longitude coordinates for the map centre, as well as the API key that you can <a href="http://code.google.com/apis/maps/signup.html">get from Google</a>.</p>
<p>You probably also will have to edit the DOM/div tags to fit your particular theme.</p>
<p>You can also change other parameters to you liking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/add-a-simple-map-in-your-wordpress-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Box plot template for Excel 2010</title>
		<link>http://www.bloggpro.com/box-plot-template-for-excel-2010/</link>
		<comments>http://www.bloggpro.com/box-plot-template-for-excel-2010/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 08:41:03 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=357</guid>
		<description><![CDATA[I have updated the popular Box-plot template to work nicely with Excel 2010 and cleaned up the default chart a bit (see image below). It now should look more professional and less &#8220;chart-junky&#8221;. The attached template will allow you to &#8230; <a href="http://www.bloggpro.com/box-plot-template-for-excel-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have updated the popular<strong> Box-plot template</strong> to work nicely<strong> </strong>with<strong> Excel 2010</strong> and cleaned up the default chart a bit (see image below). It now should look more professional and less &#8220;chart-junky&#8221;. The attached template will allow you to paste your data into the work sheet. Default is 6 data series with 10 samples in each series. The template can also handle negative values.</p>
<p><a href="http://www.bloggpro.com/downloads/Box%20plot%20Excel%202010%20template">Dowload template</a></p>
<p><a rel="attachment wp-att-360" href="http://www.bloggpro.com/box-plot-template-for-excel-2010/box-plot-2010-2/"><img class="alignnone size-full wp-image-360" title="box-plot-2010" src="http://www.bloggpro.com/wp-content/uploads/2010/11/box-plot-20101.PNG" alt="box-plot-2010" width="481" height="323" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/box-plot-template-for-excel-2010/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Simple weather widget plugin for WordPress</title>
		<link>http://www.bloggpro.com/simple-weather-widget-plugin-for-wordpress/</link>
		<comments>http://www.bloggpro.com/simple-weather-widget-plugin-for-wordpress/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 08:53:28 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Blogging etc]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=339</guid>
		<description><![CDATA[The Simple Weather widget is a small and simple (duh!) widget for wordpress which enables the display of weather forecast with icons for any location as specified by the post custom field.  The widget adapts to the look and feel &#8230; <a href="http://www.bloggpro.com/simple-weather-widget-plugin-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The <strong>Simple Weather widget</strong> is a small and simple (duh!) widget for <strong>wordpress</strong> which enables the display of weather forecast with icons for any location as specified by the post custom field.  The widget adapts to the look and feel of the blog theme. A typical Simple <strong>Weather widget</strong> can look like this (example from this site):</p>
<p><a rel="attachment  wp-att-340" href="http://www.bloggpro.com/simple-weather-widget-plugin-for-wordpress/weather/"><img class="alignnone size-full wp-image-340" title="Weather widget plugin" src="http://www.bloggpro.com/wp-content/uploads/2010/04/weather.PNG" alt="weather" width="284" height="136" /></a></p>
<h2>Installation</h2>
<p><span id="more-339"></span></p>
<ol>
<li>Download the zip via the download button below.</li>
<li>Extract and upload to your wordpress installation plugin folder.</li>
<li>Activate the widget plugin via the admin panel of your blog.</li>
<li>In the admin panel widgets section, drag the Simple Weather widget to the desired position in the sidebar.</li>
<li>Select temperature unit, Celcius or Farenheit.</li>
<li>Done!</li>
</ol>
<h2>Usage</h2>
<p>To use the widget, in the desired posts simply add a <code>cityName</code> and possibly <code>weatherBase</code> custom fields with the name of the city for which you wish to display the weather. The <code>weatherBase</code> is only needed if Google weather API does not recognize the city in <code>cityName</code>.</p>
<p>If neither <code>cityNamenor</code> <code>weatherBase</code> is entered, the widget will not display.</p>
<h2>Download</h2>
<p><a href="http://www.bloggpro.com/downloads/Weather%20plugin">Weather plugin download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/simple-weather-widget-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Excel template to generate log concentration &#8211; pH diagram</title>
		<link>http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/</link>
		<comments>http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 06:59:56 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=328</guid>
		<description><![CDATA[When facing chemical equilibrium problems of the type it is often useful to construct logarithmic concentration versus pH diagrams to illustrate how the concentrations of the ions are dependant of the pH-value. The theory behind the diagram is not too &#8230; <a href="http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<input onclick="startGateway('NjMxNDE%3D');" name="download" type="submit" value="Download template" />
<p>When facing chemical equilibrium problems of the type<br />
<a rel="attachment wp-att-329" href="http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/eq/"><img class="alignnone size-full wp-image-329" title="eq" src="http://www.bloggpro.com/wp-content/uploads/2010/04/eq.PNG" alt="eq" width="251" height="94" /></a></p>
<p>it is often useful to construct logarithmic concentration versus pH diagrams to illustrate how the concentrations of the ions are dependant of the pH-value.</p>
<p>The theory behind the diagram is not too complicated and the construction is straightforward. However, generating nice looking diagrams can be time-consuming and tedious and therefore I wanted to share my excel template for generating dibasic log concentration &#8211; pH diagrams.</p>
<p><span id="more-328"></span></p>
<p>This template is intended for dibasic systems and can ideally be used for school assignments or teaching. The excel template will generate a diagram looking like the below example:</p>
<p><a rel="attachment wp-att-330" href="http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/logcph/"><img class="alignnone size-medium wp-image-330" title="logcph" src="http://www.bloggpro.com/wp-content/uploads/2010/04/logcph-300x224.PNG" alt="logcph" width="300" height="224" /></a></p>
<input onclick="startGateway('NjMxNDE%3D');" name="download" type="submit" value="Download template" />
<p>Any feedback is appreciated and can be left via the comment function below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/excel-template-to-generate-log-concentration-ph-diagram/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Useful histogram template for Excel 2007</title>
		<link>http://www.bloggpro.com/useful-histogram-template-for-excel-2007/</link>
		<comments>http://www.bloggpro.com/useful-histogram-template-for-excel-2007/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 10:39:38 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=313</guid>
		<description><![CDATA[After many requests I decided to make available a simple template for creating nice-looking histograms in Excel. I this downloadable file the user can easily paste his/her own data and instantly get a nicely formatted histogram, with correctly calculated bins &#8230; <a href="http://www.bloggpro.com/useful-histogram-template-for-excel-2007/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After many requests I decided to make available a simple template for creating nice-looking histograms in Excel. I this downloadable file the user can easily paste his/her own data and instantly get a nicely formatted histogram, with correctly calculated bins (Scott&#8217;s choice).</p>
<p>No need to bother with complicated field formulas and tedious chart formatting &#8211; that is already done for you!</p>
<p><a href="http://www.bloggpro.com/downloads/Excel%20histogram%20template">Dowload template here</a></p>
<p><span id="more-313"></span></p>
<p><a rel="attachment wp-att-316" href="http://www.bloggpro.com/useful-histogram-template-for-excel-2007/histogram/"><img class="alignnone size-medium wp-image-316" title="histogram" src="http://www.bloggpro.com/wp-content/uploads/2010/04/histogram-300x136.PNG" alt="histogram" width="300" height="136" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/useful-histogram-template-for-excel-2007/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Box-plot downloadable Excel template</title>
		<link>http://www.bloggpro.com/box-plot-downloadable-excel-template/</link>
		<comments>http://www.bloggpro.com/box-plot-downloadable-excel-template/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 10:35:03 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=300</guid>
		<description><![CDATA[Due to quite a few requests I have completed a template for Excel 2007 to quickly allow the user to create a nice looking box plot. The template can be downloaded and used right away, by simply pasting your values &#8230; <a href="http://www.bloggpro.com/box-plot-downloadable-excel-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Due to quite a few requests I have completed a template for Excel 2007 to quickly allow the user to create a nice looking <strong>box plot</strong>. The template can be downloaded and used right away, by simply pasting your values into the worksheet and everything else will be done for you.</p>
<p>Only edit cells with green text to avoid breaking any formulas and functionality.</p>
<p><strong>Dowload:</strong><br />
<input onclick="startGateway('NTg2NDM%3D');" name="download" type="submit" value="Download example" />
<p><span id="more-300"></span></p>
<p><a rel="attachment wp-att-301" href="http://www.bloggpro.com/box-plot-downloadable-excel-template/box2/"><img class="alignnone size-medium wp-image-301" title="box2" src="http://www.bloggpro.com/wp-content/uploads/2010/04/box2-300x256.PNG" alt="box2" width="300" height="256" /></a></p>
<p><a rel="attachment wp-att-302" href="http://www.bloggpro.com/box-plot-downloadable-excel-template/box1/"><img class="alignnone size-medium wp-image-302" title="box1" src="http://www.bloggpro.com/wp-content/uploads/2010/04/box1-300x226.PNG" alt="box1" width="300" height="226" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/box-plot-downloadable-excel-template/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Finding links to specific adress using xpath</title>
		<link>http://www.bloggpro.com/finding-links-to-specific-adress-using-xpath/</link>
		<comments>http://www.bloggpro.com/finding-links-to-specific-adress-using-xpath/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 10:38:17 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=291</guid>
		<description><![CDATA[Xpath is apowerful method available in php to select specific elemts in the DOM structure of any xml document, and also html document. The code below can be used for example to check for back links, in a robust way. &#8230; <a href="http://www.bloggpro.com/finding-links-to-specific-adress-using-xpath/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Xpath is apowerful method available in php to select specific elemts in the DOM structure of any xml document, and also html document. The code below can be used for example to check for back links, in a robust way. The code below allows for back links to any page or subpage on your domain, but can easily be changed to be more discriminating.<br />
<span id="more-291"></span></p>
<pre><span style="color: #008000;">$page = file_get_contents('http://www.pagetobechecked.com');
		$dom = new DOMDocument();
		@$dom-&gt;loadHTML($page);
		$xpath = new DOMXPath($dom);
		$hrefs = $xpath-&gt;evaluate("/html/body//a[substring(@href,1,25)='http://www.yourdomain.com']");
		</span><span style="color: #008000;">if($hrefs-&gt;length&gt;0) {$link_exists = true;} else {$link_exists = false;}</span><span style="color: #008000;">
}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/finding-links-to-specific-adress-using-xpath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map and sparklines combo</title>
		<link>http://www.bloggpro.com/map-and-sparklines-combo/</link>
		<comments>http://www.bloggpro.com/map-and-sparklines-combo/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 22:31:56 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=287</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_288" class="wp-caption alignnone" style="width: 222px"><a rel="attachment wp-att-288" href="http://www.bloggpro.com/map-and-sparklines-combo/incidens_v44/"><img class="size-medium wp-image-288" title="Incidens_V44" src="http://www.bloggpro.com/wp-content/uploads/2009/11/Incidens_V44-212x300.gif" alt="Incidens_V44" width="212" height="300" /></a><p class="wp-caption-text">Swine flue cases in Sweden 2009 (click for larger image)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/map-and-sparklines-combo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is AdSense relying on URL for determining content?</title>
		<link>http://www.bloggpro.com/is-adsense-relying-on-url-for-determining-content/</link>
		<comments>http://www.bloggpro.com/is-adsense-relying-on-url-for-determining-content/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 06:55:35 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[AdSense]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/?p=273</guid>
		<description><![CDATA[Just a quick note on an interesting test I have done on AdSense content targeting. Simply put, I uploaded a number of copies of a html document with some text about DVD-players (in Swedish), altering only the &#60;title&#62;&#60;/title&#62; and the &#8230; <a href="http://www.bloggpro.com/is-adsense-relying-on-url-for-determining-content/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick note on an interesting test I have done on AdSense content targeting. Simply put, I uploaded a number of copies of a html document with some text about DVD-players (in Swedish), altering only the &lt;title&gt;&lt;/title&gt; and the file name of the documents. A 250 x 250 AdSense unit were also included.</p>
<p>The results are interesting to say the least. From this simple test it seems that in this particular instance AdSense relies entirely on the filename / URL alone to determine content targeting. If the file is called <a href="http://1234.daglig.info/world_of_warcraft_guide.htm"><code>world_of_warcraft_guide.htm</code></a>, then ads about World or Warcraft would show, regardless of page title and page content (see images below).</p>
<p><a href="http://www.bloggpro.com/wp-content/uploads/2009/10/screen1.PNG"><img class="alignnone size-medium wp-image-275" title="screen1" src="http://www.bloggpro.com/wp-content/uploads/2009/10/screen1-300x211.PNG" alt="screen1" width="300" height="211" /></a><a href="http://www.bloggpro.com/wp-content/uploads/2009/10/screen2.PNG"><img class="alignnone size-medium wp-image-276" title="screen2" src="http://www.bloggpro.com/wp-content/uploads/2009/10/screen2-300x210.PNG" alt="screen2" width="300" height="210" /></a></p>
<p><span id="more-273"></span></p>
<p>Furthermore, if the filename was <code><a href="http://1234.daglig.info/buy_car_online.htm">buy_car_online.htm</a></code>, then ads about car rental would display, despite the title being DVD-player (in swedish) and the content being about DVD players.</p>
<p><a href="http://www.bloggpro.com/wp-content/uploads/2009/10/screen3.PNG"><img class="alignnone size-medium wp-image-277" title="screen3" src="http://www.bloggpro.com/wp-content/uploads/2009/10/screen3-300x234.PNG" alt="screen3" width="300" height="234" /></a></p>
<p><a href="http://1234.daglig.info/index.php">See for yourselves</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/is-adsense-relying-on-url-for-determining-content/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Method to securely introduce unmasked passwords</title>
		<link>http://www.bloggpro.com/method-to-securely-introduce-unmasked-passwords/</link>
		<comments>http://www.bloggpro.com/method-to-securely-introduce-unmasked-passwords/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:54:51 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/method-to-securely-introduce-unmasked-passwords/</guid>
		<description><![CDATA[Masked passwords pose a significant useability issue which can be avoided. Masked passwords often lead to user frustration and possibly encourage users to chose simple passwords that are easy to enter without making mistakes. Further, the security benefits from masked &#8230; <a href="http://www.bloggpro.com/method-to-securely-introduce-unmasked-passwords/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Masked passwords pose a <a href="http://www.useit.com/alertbox/passwords.html">significant useability issue</a> which can be avoided. Masked passwords often lead to user frustration and possibly encourage users to chose simple passwords that are easy to enter without making mistakes.</p>
<p>Further, the security benefits from masked passwords are likely minimal for most users and applications. However, there are situations and applications that legitimately benefits from masked password fields, and to cover all bases that best solution might be to enable the user to decide wether masking is warranted or not.</p>
<p>This can be achieved with a simple javascript toggle function:</p>
<p><span id="more-270"></span></p>
<p><code>function switchType(obj){<br />
if(obj.getAttribute('type')=='text')<br />
{<br />
obj.setAttribute('type','password');<br />
}else{<br />
obj.setAttribute('type','text');<br />
}<br />
obj.focus();<br />
}</code></p>
<p>This function is then called when the user checks a checkbox:<br />
<code>&lt;input onclick="switchType(document.form1.password);" type="checkbox" /&gt;</code></p>
<p>To view an example, <a href="http://bloggpro.com/password_demo.htm">click here</a>. The full source code can be seen by right clicking and selecting <em>view source code</em> (or the equivalent)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/method-to-securely-introduce-unmasked-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.687 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-06 04:43:32 -->

