<?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">

<channel>
	<title>www.netsi.dk &#187; dynamicweb</title>
	<atom:link href="http://www.netsi.dk/wordpress/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.netsi.dk/wordpress</link>
	<description>&#34;The internet is just a layer on the real world&#34; (don&#039;t forget that!)</description>
	<lastBuildDate>Fri, 27 Jan 2012 15:57:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom:link rel="next" href="http://www.netsi.dk/wordpress/index.php?page=2" />

		<item>
		<title>Blog indl&#230;g om opdateret nyhedsmodul i Dynamicweb 8</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/12/28/blog-indlg-om-opdateret-nyhedsmodul-i-dynamicweb-8/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/12/28/blog-indlg-om-opdateret-nyhedsmodul-i-dynamicweb-8/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 10:49:52 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[Dynamicweb 8]]></category>
		<category><![CDATA[Nyhedsmodul]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/12/28/blog-indlg-om-opdateret-nyhedsmodul-i-dynamicweb-8/</guid>
		<description><![CDATA[Dynamicweb version 8 er blevet releaset i december 2011 og det indeholder en række forbedringer, for eksempel er nyhedsmodulet blevet opgraderet. Peter Terkildsen har skrevet et blog indlæg på blog.bleau.dk om det opgraderede nyhedsmodul i Dynamicweb 8. Læs blandt andet om: Søgning i nyheder på tværs af alle nyhedskategorier Søgemaskinevenlige URL&#8217;er når man ser en [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> version 8 er blevet releaset i december 2011 og det indeholder en række forbedringer,   <br />for eksempel er nyhedsmodulet blevet opgraderet. <a title="Hvem er Peter Terkildsen?" href="https://plus.google.com/110363459082025323944/posts" target="_blank">Peter Terkildsen</a> har skrevet et blog indlæg på <a title="blog.bleau.dk indeholder gode blog posts" href="http://blog.bleau.dk" target="_blank">blog.bleau.dk</a> om det opgraderede <a href="http://www.netsi.dk/wordpress/index.php/tag/nyhedsmodul/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Nyhedsmodul">nyhedsmodul</a> i Dynamicweb 8.</p>
<p>Læs blandt andet om:</p>
<ul>
<li>Søgning i nyheder på tværs af alle nyhedskategorier</li>
<li>Søgemaskinevenlige URL&#8217;er når man ser en enkelt nyhed</li>
<li>Nyheder kan indgå i flere kategorier</li>
</ul>
<p>Læs hele blog indlæget her: <a title="Læs blog indlæg om det opdaterede nyhedsmodul i Dynamicweb 8" href="http://blog.bleau.dk/2011/nye-muligheder-i-nyhedsmodulet-i-dynamicweb-8/" target="_blank">http://blog.bleau.dk/2011/nye-muligheder-i-nyhedsmodulet-i-dynamicweb-8/</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F12%2F28%2Fblog-indlg-om-opdateret-nyhedsmodul-i-dynamicweb-8%2F&amp;title=Blog%20indl%26aelig%3Bg%20om%20opdateret%20nyhedsmodul%20i%20Dynamicweb%208" id="wpa2a_2"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/12/28/blog-indlg-om-opdateret-nyhedsmodul-i-dynamicweb-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 seconds guide to Dynamicweb Newsletter v/3 templates (sending out news)</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/11/28/10-seconds-guide-to-dynamicweb-newsletter-v3-templates-sending-out-news/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/11/28/10-seconds-guide-to-dynamicweb-newsletter-v3-templates-sending-out-news/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:41:04 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/11/28/10-seconds-guide-to-dynamicweb-newsletter-v3-templates-sending-out-news/</guid>
		<description><![CDATA[This is a short note on constructing news templates for Dynamicweb CMS Newsletter v/3 templates when sending out pieces of news. &#160; It can be tricky to create newsletters in HTML, doing it from Dynamicweb CMS using the Newsletter v/3 does, I am sorry to say, not make things easier. Using the snippet below you [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short note on constructing news <a href="http://www.netsi.dk/wordpress/index.php/tag/templates/" class="st_tag internal_tag" rel="tag" title="Posts tagged with templates">templates</a> for <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> <a href="http://www.netsi.dk/wordpress/index.php/tag/cms/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cms">CMS</a> <a href="http://www.netsi.dk/wordpress/index.php/tag/newsletter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with newsletter">Newsletter</a> v/3 <a href="http://www.netsi.dk/wordpress/index.php/tag/templates/" class="st_tag internal_tag" rel="tag" title="Posts tagged with templates">templates</a> when sending out pieces of news.</p>
<p>&#160;</p>
<p>It can be tricky to create newsletters in HTML, doing it from Dynamicweb CMS using the Newsletter v/3 does, I am sorry to say, not make things easier. Using the <a href="http://www.netsi.dk/wordpress/index.php/tag/snippet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with snippet">snippet</a> below you get the skeleton of the central news item loop:</p>
<p>&#160;</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">p</span><span class="kwrd">&gt;</span>Dear <span class="rem">&lt;!--@DWUserName--&gt;</span><span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">table</span><span class="kwrd">&gt;</span>
<span class="rem">&lt;!--@LoopStart(ItemsLoop)--&gt;</span>
<span class="kwrd">&lt;</span><span class="html">tr</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">td</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">a</span> <span class="attr">href</span>=&quot;&lt;!<span class="attr">--</span>@<span class="attr">LoopStart</span>(<span class="attr">IsSetupDetailLink</span>)<span class="attr">--</span><span class="kwrd">&gt;&lt;!</span><span class="html">--</span>@<span class="attr">ModuleDetailLink--</span><span class="kwrd">&gt;&lt;!</span><span class="html">--</span>@<span class="attr">LoopEnd</span>(<span class="attr">IsSetupDetailLink</span>)<span class="attr">--</span><span class="kwrd">&gt;</span>&quot;<span class="kwrd">&gt;&lt;!</span><span class="html">--</span>@<span class="attr">NewsHeading--</span><span class="kwrd">&gt;&lt;/</span><span class="html">a</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">br</span> <span class="kwrd">/&gt;</span>
<span class="rem">&lt;!--@If Defined(NewsManchet)--&gt;</span>
<span class="rem">&lt;!--@NewsManchet--&gt;</span>
<span class="rem">&lt;!--@EndIf(NewsManchet)--&gt;</span>
<span class="rem">&lt;!--@If Not Defined(NewsManchet)--&gt;</span>
<span class="rem">&lt;!--@NewsText#100--&gt;</span>&amp;#8230;
<span class="rem">&lt;!--@EndIf(NewsManchet)--&gt;</span>
<span class="kwrd">&lt;</span><span class="html">br</span> <span class="kwrd">/&gt;</span>
<span class="kwrd">&lt;</span><span class="html">a</span> <span class="attr">href</span>=&quot;&lt;!<span class="attr">--</span>@<span class="attr">LoopStart</span>(<span class="attr">IsSetupDetailLink</span>)<span class="attr">--</span><span class="kwrd">&gt;&lt;!</span><span class="html">--</span>@<span class="attr">ModuleDetailLink--</span><span class="kwrd">&gt;&lt;!</span><span class="html">--</span>@<span class="attr">LoopEnd</span>(<span class="attr">IsSetupDetailLink</span>)<span class="attr">--</span><span class="kwrd">&gt;</span>&quot;<span class="kwrd">&gt;</span>Read more<span class="kwrd">&lt;/</span><span class="html">a</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">td</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">tr</span><span class="kwrd">&gt;</span>
<span class="rem">&lt;!--@LoopEnd(ItemsLoop)--&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">table</span><span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F11%2F28%2F10-seconds-guide-to-dynamicweb-newsletter-v3-templates-sending-out-news%2F&amp;title=10%20seconds%20guide%20to%20Dynamicweb%20Newsletter%20v%2F3%20templates%20%28sending%20out%20news%29" id="wpa2a_4"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/11/28/10-seconds-guide-to-dynamicweb-newsletter-v3-templates-sending-out-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing HTML pages, make screen and print appear the same.</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/07/07/printing-html-pages-make-screen-and-print-appear-the-same/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/07/07/printing-html-pages-make-screen-and-print-appear-the-same/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 08:29:22 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/07/07/printing-html-pages-make-screen-and-print-appear-the-same/</guid>
		<description><![CDATA[When using external stylesheets on a webpage you can specify which “media” it should apply to. For instance see these lines: &#60;link rel=&#34;stylesheet&#34; href=&#34;Blueprint/screen.css&#34; type=&#34;text/css&#34; media=&#34;screen, projection&#34; /&#62; &#60;link rel=&#34;stylesheet&#34; href=&#34;Blueprint/print.css&#34; type=&#34;text/css&#34; media=&#34;print&#34; /&#62; .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre [...]]]></description>
			<content:encoded><![CDATA[<p>When using external stylesheets on a webpage you can specify which “media” it should apply to. For instance see these lines:</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">link</span> <span class="attr">rel</span><span class="kwrd">=&quot;<a href="http://www.netsi.dk/wordpress/index.php/tag/stylesheet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with stylesheet">stylesheet</a>&quot;</span> <span class="attr">href</span><span class="kwrd">=&quot;Blueprint/screen.<a href="http://www.netsi.dk/wordpress/index.php/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with css">css</a>&quot;</span> <span class="attr">type</span><span class="kwrd">=&quot;text/css&quot;</span> <span class="attr">media</span><span class="kwrd">=&quot;screen, projection&quot;</span> <span class="kwrd">/&gt;</span>
<span class="kwrd">&lt;</span><span class="html">link</span> <span class="attr">rel</span><span class="kwrd">=&quot;stylesheet&quot;</span> <span class="attr">href</span><span class="kwrd">=&quot;Blueprint/<a href="http://www.netsi.dk/wordpress/index.php/tag/print/" class="st_tag internal_tag" rel="tag" title="Posts tagged with print">print</a>.css&quot;</span> <span class="attr">type</span><span class="kwrd">=&quot;text/css&quot;</span> <span class="attr">media</span><span class="kwrd">=&quot;print&quot;</span> <span class="kwrd">/&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>As you might allready have guessed the <strong>screen.css</strong> will be choosen for screen (read: browser) and projection mode. When printing the <strong>print.css</strong> will be choosen if you print the webpage. So far so good.</p>
<p>Some times you will have a specific page for print, which say will render only a stripped down version of your content and prompt the user with a print dialogue (using a <a href="http://www.netsi.dk/wordpress/index.php/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a> window.print() line of code). But when you see the page in the browser you are in “screen” media, and the style shown will be as defined in the screen.css. You may confuse the user as he gets a screen version ready for print – and printing it wil result in a version based on the print.css. I have made a jQuery based fix for this situation.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2011/07/image.png" rel="lightbox[687]"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="The page before and after the fix" border="0" alt="The page before and after the fix" src="http://www.netsi.dk/wordpress/wp-content/uploads/2011/07/image_thumb.png" width="711" height="392" /></a></p>
<h3>The jQuery fix</h3>
<p>The fix will disable any external stylesheets related to screen and make the print.css work on media types “all”. It is coded so that it will check for a “#print” added to the URL. So you should simply make the URL of the printversion have a “#print” in it. Here is the fix:</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span><span class="kwrd">&lt;</span><span class="html">script</span> <span class="attr">type</span><span class="kwrd">=&quot;text/javascript&quot;</span> <span class="attr">src</span><span class="kwrd">=&quot;http://ajax.microsoft.com/ajax/jQuery/jquery-1.6.2.min.js&quot;</span><span class="kwrd">&gt;&lt;/</span><span class="html">script</span><span class="kwrd">&gt;</span></pre>
<pre><span class="lnum">   2:  </span>&lt;script type=<span class="str">&quot;text/javascript&quot;</span>&gt;</pre>
<pre class="alt"><span class="lnum">   3:  </span><span class="rem">/* STH: 2011-07-07 Make any stylesheets target for &quot;print&quot; media active on &quot;all&quot; media types (including screen)</span></pre>
<pre><span class="lnum">   4:  </span><span class="rem">    Also disable any layouts for screen</span></pre>
<pre class="alt"><span class="lnum">   5:  </span><span class="rem">*/</span></pre>
<pre><span class="lnum">   6:  </span>jQuery(<span class="kwrd">function</span>() {</pre>
<pre class="alt"><span class="lnum">   7:  </span>  <span class="kwrd">var</span> bPrint = (window.location.toString().indexOf(<span class="str">'#print'</span>)!=-1);  </pre>
<pre><span class="lnum">   8:  </span>  <span class="kwrd">if</span> (bPrint) {</pre>
<pre class="alt"><span class="lnum">   9:  </span>    <span class="rem">// The user wants to print this page</span></pre>
<pre><span class="lnum">  10:  </span>    jQuery(<span class="str">'link[media*=&quot;print&quot;]'</span>).attr(<span class="str">'media'</span>, <span class="str">'all'</span>); <span class="rem">// Enable the print styling for all media types, including screen.</span></pre>
<pre class="alt"><span class="lnum">  11:  </span>    jQuery(<span class="str">'link[media*=&quot;screen&quot;]'</span>).remove(); <span class="rem">// remove any styling related to screen</span></pre>
<pre><span class="lnum">  12:  </span>  }</pre>
<pre class="alt"><span class="lnum">  13:  </span>})</pre>
<pre><span class="lnum">  14:  </span><span class="kwrd">&lt;/</span><span class="html">script</span><span class="kwrd">&gt;</span></pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>The fix above has a link to jQuery, you do not have to include it if you allready have jQuery on your webpage.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F07%2F07%2Fprinting-html-pages-make-screen-and-print-appear-the-same%2F&amp;title=Printing%20HTML%20pages%2C%20make%20screen%20and%20print%20appear%20the%20same." id="wpa2a_6"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/07/07/printing-html-pages-make-screen-and-print-appear-the-same/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dynamicweb afsnits tekst editor &#8211; skabeloner og hvordan man anvender dem</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/06/21/dynamicweb-afsnits-tekst-editor-skabeloner-og-hvordan-man-anvender-dem/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/06/21/dynamicweb-afsnits-tekst-editor-skabeloner-og-hvordan-man-anvender-dem/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 09:04:01 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[dwfeatures.com]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/06/21/dynamicweb-afsnits-tekst-editor-skabeloner-og-hvordan-man-anvender-dem/</guid>
		<description><![CDATA[Nu er der en visual studio code snippet til at lave templates (skabeloner) til Dynamicweb paragraph text editor og en god guide (på engelsk) som gennemgår installation og med et eksempel. Så nu er det bare at huske det når man implementerer Dynamicweb løsninger! Code snippet for creating template for the #dynamicweb paragraph texteditor – [...]]]></description>
			<content:encoded><![CDATA[<p>Nu er der en <a href="http://www.netsi.dk/wordpress/index.php/tag/visual-studio/" class="st_tag internal_tag" rel="tag" title="Posts tagged with visual studio">visual studio</a> code <a href="http://www.netsi.dk/wordpress/index.php/tag/snippet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with snippet">snippet</a> til at lave <a href="http://www.netsi.dk/wordpress/index.php/tag/templates/" class="st_tag internal_tag" rel="tag" title="Posts tagged with templates">templates</a> (skabeloner) til <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> paragraph text editor og en god guide (på engelsk) som gennemgår installation og med et eksempel. Så nu er det bare at huske det når man implementerer <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> løsninger! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Code snippet for creating template for the #dynamicweb paragraph texteditor – mytemplates.xml <a href="http://goo.gl/DlUwG">http://goo.gl/DlUwG</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F06%2F21%2Fdynamicweb-afsnits-tekst-editor-skabeloner-og-hvordan-man-anvender-dem%2F&amp;title=Dynamicweb%20afsnits%20tekst%20editor%20%26ndash%3B%20skabeloner%20og%20hvordan%20man%20anvender%20dem" id="wpa2a_8"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/06/21/dynamicweb-afsnits-tekst-editor-skabeloner-og-hvordan-man-anvender-dem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL: Get a list of all tables in a database</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/02/24/sql-get-a-list-of-all-tables-in-a-database/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/02/24/sql-get-a-list-of-all-tables-in-a-database/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 21:50:54 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/02/24/sql-get-a-list-of-all-tables-in-a-database/</guid>
		<description><![CDATA[Sometimes if you use a system where you do not have a SQL Manager at hand, perhaps only a web based query window you may find it hard to keep track of all defined tables in the system. I for one cannot remember all the tables used in for instance Dynamicweb CMS. Please note that [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes if you use a system where you do not have a <a href="http://www.netsi.dk/wordpress/index.php/tag/sql/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SQL">SQL</a> Manager at hand, perhaps only a web based query window you may find it hard to keep track of all defined tables in the system. I for one cannot remember all the tables used in for instance <a title="Bes&oslash;g Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. Please note that the example query below is for Microsoft SQL server, I am not sure if it works in other SQL server environments.</p>
<p>Being logged in to the system as administrator you can get a SQL Query textarea like this one below. You can then enter:</p>
<pre class="brush: sql; ruler: true;">SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
order by TABLE_NAME
</pre>
<p>&nbsp;</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="The Query Editor of Dynamicweb CMS - very handy" border="0" alt="The Query Editor of Dynamicweb CMS - very handy" src="http://www.netsi.dk/wordpress/wp-content/uploads/2011/02/image5.png" width="703" height="354"/></p>
<h5>Links</h5>
<ul>
<li><a title="A question related to this post is answered at this forum" href="http://forums.whirlpool.net.au/archive/523219">sql list all tables</a> at whirlpool</li>
</ul>
<pre></pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F02%2F24%2Fsql-get-a-list-of-all-tables-in-a-database%2F&amp;title=SQL%3A%20Get%20a%20list%20of%20all%20tables%20in%20a%20database" id="wpa2a_10"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/02/24/sql-get-a-list-of-all-tables-in-a-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encode URL in XSLT</title>
		<link>http://www.netsi.dk/wordpress/index.php/2011/02/02/encode-url-in-xslt/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2011/02/02/encode-url-in-xslt/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 11:48:05 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[XSLT]]></category>
		<category><![CDATA[encodeURI]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2011/02/02/encode-url-in-xslt/</guid>
		<description><![CDATA[If you need to URL encode something in XSLT, you can use javascript serverside – not perfect, but it gets the job done. Here is the javascript and below you can find link to a simpel XSLT which has the script implemented. 1: &#60;script language=&#34;javascript&#34; xmlns=&#34;urn:schemas-microsoft-com:xslt&#34; implements-prefix=&#34;js&#34;&#62; 2: &#60;![CDATA[ 3: // This will return a [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to URL encode something in XSLT, you can use <a href="http://www.netsi.dk/wordpress/index.php/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a> serverside – not perfect, but it gets the job done. Here is the <a href="http://www.netsi.dk/wordpress/index.php/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">javascript</a> and below you can find link to a simpel XSLT which has the script implemented.</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span>  &lt;script language=<span class="str">&quot;javascript&quot;</span> xmlns=<span class="str">&quot;urn:schemas-microsoft-com:xslt&quot;</span> implements-prefix=<span class="str">&quot;js&quot;</span>&gt;</pre>
<pre><span class="lnum">   2:  </span>    &lt;![CDATA[ </pre>
<pre class="alt"><span class="lnum">   3:  </span>    <span class="rem">// This will return a URI encoded string</span></pre>
<pre><span class="lnum">   4:  </span>    <span class="kwrd">function</span> encodeURL(sUrl) {</pre>
<pre class="alt"><span class="lnum">   5:  </span>      sUrl.MoveNext();</pre>
<pre><span class="lnum">   6:  </span>      sUrl = sUrl.Current.Value;</pre>
<pre class="alt"><span class="lnum">   7:  </span>      <span class="kwrd">return</span> <a href="http://www.netsi.dk/wordpress/index.php/tag/encodeuri/" class="st_tag internal_tag" rel="tag" title="Posts tagged with encodeURI">encodeURI</a>(sUrl);</pre>
<pre><span class="lnum">   8:  </span>    }</pre>
<pre class="alt"><span class="lnum">   9:  </span>    ]]&gt;</pre>
<pre><span class="lnum">  10:  </span>  &lt;/script&gt;</pre>
</div>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Find example XSLT here: <a title="http://dl.dropbox.com/u/3260327/xslt/js_encodeURL.xslt" href="http://dl.dropbox.com/u/3260327/xslt/js_encodeURL.xslt">http://dl.dropbox.com/u/3260327/xslt/js_encodeURL.xslt</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2011%2F02%2F02%2Fencode-url-in-xslt%2F&amp;title=Encode%20URL%20in%20XSLT" id="wpa2a_12"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2011/02/02/encode-url-in-xslt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SyntaxHighlighter: Getting syntax highlighting feature here, there and everywhere &#8211; including on your blog&#8230;</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/10/22/syntaxhighlighter-getting-syntax-highlighting-feature-here-there-and-everywhere-including-on-your-blog/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/10/22/syntaxhighlighter-getting-syntax-highlighting-feature-here-there-and-everywhere-including-on-your-blog/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 21:20:22 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[www.dwfeatures.com]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[syntaxhighlighter]]></category>
		<category><![CDATA[windows live writer]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/10/22/syntaxhighlighter-getting-syntax-highlighting-feature-here-there-and-everywhere-including-on-your-blog/</guid>
		<description><![CDATA[Tonight as I am preparing the setup of a new Dynamicweb related blog (www.dwfeatures.com) I came across “SyntaxHightlighter” an open source Javascript client side code highlighter – I think that it is cool! So here is a short description of it so that you may start using it yourself. Install plug-in on your wordpress blog [...]]]></description>
			<content:encoded><![CDATA[<p><em>Tonight as I am <strong>preparing the setup of a new <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> related blog (</strong><a title="A blog for Dynamicweb CMS and Dynamicweb eCommers users and developers" href="http://www.dwfeatures.com" target="_blank"><strong>www.dwfeatures.com</strong></a><strong>)</strong> I came across “</em><a title="SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript." href="http://alexgorbatchev.com/SyntaxHighlighter/" target="_blank">SyntaxHightlighter</a><em></em><em>” an open source <a href="http://www.netsi.dk/wordpress/index.php/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with javascript">Javascript</a> client side code highlighter – I think that it is cool! So here is a short description of it so that you may start using it yourself.</em></p>
<h2>Install plug-in on your wordpress blog</h2>
<p>There are several plug-ins for wordpress which can use, I found <a href="http://www.netsi.dk/wordpress/index.php/tag/syntaxhighlighter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with syntaxhighlighter">SyntaxHighlighter</a> Evolved interesting and installed it. Simply go in the control panel of your wordpress and click add new plug-in. Search for “<a href="http://www.netsi.dk/wordpress/index.php/tag/syntaxhighlighter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with syntaxhighlighter">SyntaxHighlighter</a> Evolved” and you will find it. Click install and activate!</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image4.png" rel="lightbox[414]"><img style="display: inline; border-width: 0px;" title="SyntaxHighlighter Evolved plug-in for wordpress" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image_thumb4.png" border="0" alt="SyntaxHighlighter Evolved plug-in for wordpress" width="715" height="490" /></a></p>
<p><span id="more-414"></span></p>
<p>You may need to do a few setting up:</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image6.png" rel="lightbox[414]"><img style="display: inline; border: 0px;" title="image" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image_thumb6.png" border="0" alt="image" width="825" height="457" /></a></p>
<p><!--more--></p>
<h2>The <a href="http://www.netsi.dk/wordpress/index.php/tag/windows-live-writer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows live writer">Windows Live Writer</a> plug-in</h2>
<p>If you use Windows Live Write for direct publishing to a blog like I do you can get a plugin to make your code look nice. You can do so by downloading and installing the free “Code <a href="http://www.netsi.dk/wordpress/index.php/tag/snippet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with snippet">Snippet</a> With Syntaxhighlighter Support for Windows Live Writer” from <a title="http://precode.codeplex.com/" href="http://precode.codeplex.com/" target="_blank">http://precode.codeplex.com/</a>. Its free and easy to install!</p>
<p>Simply download the MSI file and install it! Next time you start up Windows Live Writer you will have a new option under the “Insert” menu item: “Precode snippet”. Now you simply type or paste your code into the window, change the settings you want. One is ofcause the language, as you can see below in the screenshoot – the red box and arrow.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image5.png" rel="lightbox[414]"><img style="display: inline; border-width: 0px;" title="The plug-in in action in Windows Live Writer" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/10/image_thumb5.png" border="0" alt="The plug-in in action in Windows Live Writer" width="803" height="666" /></a></p>
<h2>The result – here on my blog..</h2>
<p>Here is example of some code inserted using that module. This code is a <a href="http://www.netsi.dk/wordpress/index.php/tag/visual-studio/" class="st_tag internal_tag" rel="tag" title="Posts tagged with visual studio">Visual studio</a> Snippet. Hope it looks okay <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<pre class="brush: xml;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"&gt;
  &lt;Header&gt;
    &lt;Title&gt;DW_IfDefined&lt;/Title&gt;
    &lt;Author&gt;Sten Hougaard, 2010 - http://www.netsi.dk/wordpress&lt;/Author&gt;
    &lt;Shortcut&gt;dynamicwebIfDefined&lt;/Shortcut&gt;
    &lt;Description&gt;Surrounds selected data in Dynamicweb If and If Not defined&lt;/Description&gt;
    &lt;SnippetTypes&gt;
      &lt;SnippetType&gt;SurroundsWith&lt;/SnippetType&gt;
      &lt;SnippetType&gt;Expansion&lt;/SnippetType&gt;
    &lt;/SnippetTypes&gt;
  &lt;/Header&gt;
  &lt;Snippet&gt;
    &lt;Declarations&gt;
      &lt;Literal&gt;
        &lt;ID&gt;tagname&lt;/ID&gt;
        &lt;Default&gt;paragraphImage&lt;/Default&gt;
      &lt;/Literal&gt;
    &lt;/Declarations&gt;
    &lt;Code Language="HTML"&gt;
      &lt;![CDATA[&lt;!--@If Defined($tagname$)]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[&gt;]]&gt;
      $selected$
      &lt;![CDATA[&lt;!--@EndIf($tagname$)]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[&gt;]]&gt;

      &lt;![CDATA[&lt;!--@If Not Defined($tagname$)]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[&gt;]]&gt;
      NOT defined
      &lt;![CDATA[&lt;!--@EndIf($tagname$)]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[-]]&gt;&lt;![CDATA[&gt;]]&gt;
    &lt;/Code&gt;
  &lt;/Snippet&gt;
&lt;/CodeSnippet&gt;</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F10%2F22%2Fsyntaxhighlighter-getting-syntax-highlighting-feature-here-there-and-everywhere-including-on-your-blog%2F&amp;title=SyntaxHighlighter%3A%20Getting%20syntax%20highlighting%20feature%20here%2C%20there%20and%20everywhere%20%26%238211%3B%20including%20on%20your%20blog%26hellip%3B" id="wpa2a_14"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/10/22/syntaxhighlighter-getting-syntax-highlighting-feature-here-there-and-everywhere-including-on-your-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamicweb CMS: Poll about errors in Dynamicweb&#8230;</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/10/21/dynamicweb-cms-poll-about-errors-in-dynamicweb/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/10/21/dynamicweb-cms-poll-about-errors-in-dynamicweb/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 20:43:22 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[www.dwfeatures.com]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/10/21/dynamicweb-cms-poll-about-errors-in-dynamicweb/</guid>
		<description><![CDATA[I am prepearing myself for the upcoming blog with focus on features related to the CMS system Dynamicweb and its eCommerce part. For a starter I will try out some things for now, here on this blog. Here is one such test – a Poll. Feel free to try it out, and if you have [...]]]></description>
			<content:encoded><![CDATA[<p>I am prepearing myself for the <strong>upcoming blog with focus on features related to the <a href="http://www.netsi.dk/wordpress/index.php/tag/cms/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cms">CMS</a> system <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> and its <a href="http://www.netsi.dk/wordpress/index.php/tag/ecommerce/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eCommerce">eCommerce</a> part</strong>. For a starter I will try out some things for now, here on this blog. Here is one such test – a Poll. Feel free to try it out, and if you have any ideas what should be on the <a title="www.dwfeatures.com - the upcoming blog for dynamicweb developers and users" href="http://www.dwfeatures.com" target="_blank">www.dwfeatures.com</a> blog, please feel free to write it here, or give me a peep on twitter: <a title="My twitter account: netsi1964" href="http://twitter.com/netsi1964" target="_blank">http://twitter.com/netsi1964</a></p>
<p></p>
<p> <iframe width="300" height="250" frameborder="0" src="http://www.doodle.com/summary.html?pollId=xyizhf8ivw6ff96w"> </iframe></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F10%2F21%2Fdynamicweb-cms-poll-about-errors-in-dynamicweb%2F&amp;title=Dynamicweb%20CMS%3A%20Poll%20about%20errors%20in%20Dynamicweb%26hellip%3B" id="wpa2a_16"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/10/21/dynamicweb-cms-poll-about-errors-in-dynamicweb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The getimage.aspx of Dynamicweb CMS finally can crop as I always wanted it to!</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:14:44 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[getimage.aspx]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/</guid>
		<description><![CDATA[Being a heavy user of Dynamicweb CMS I am very happy to discover that the latest version of the software has made the utility for cropping/scaling images work as I (IMHO) always have wished it to do! It is now possibel to specify both with and height and having the image fit inside the area [...]]]></description>
			<content:encoded><![CDATA[<p><em>Being a heavy user of </em><a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank"><em>Dynamicweb CMS</em></a><em> I am very happy to discover that the latest version of the software has made the utility for cropping/scaling images work as I (IMHO) always have wished it to do! It is now possibel to specify <strong>both with and height</strong> and having the image fit inside the area keeping the aspect ratio of the image! Hurra!</em></p>
<h3>You do know <a href="http://www.netsi.dk/wordpress/index.php/tag/getimage-aspx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with getimage.aspx">getimage.aspx</a>, right?</h3>
<p>When you have a design to implement using <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> and you have a list of items with images – say thumb images, <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb</a> offers a nice utility which can ensure that the thumbs will have a given dimension. The images are cached on the server, so it is not using unnessesary resources of the server if you use the utility.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image1.png" rel="lightbox[326]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The getimage.aspx utility of Dynamicweb CMS" border="0" alt="The getimage.aspx utility of Dynamicweb CMS" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image_thumb1.png" width="642" height="393" /></a> </p>
<p>The utility can be found on any <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb</a> soloution here:</p>
<p><code>http://[hostname]/Admin/Public/getImage.aspx</code></p>
<p>Enter the URL above and you will get a nice wizard which will dynamically produce what you need inside your <a href="http://www.netsi.dk/wordpress/index.php/tag/templates/" class="st_tag internal_tag" rel="tag" title="Posts tagged with templates">templates</a>. You can see the wizard above.</p>
<h3>What makes things work for my needs!</h3>
<p>To ensure that an image fits inside a <strong>container with known dimentions</strong> you need to:</p>
<ul>
<li>Enter the dimensions (width/height) </li>
<li>Select the cropping offset: “Keep aspect ratio” </li>
</ul>
<p>Try the utility by entering a path to an image – you have to start from “/files…”. When that is done, simply press OK and you will get a preview under the “Results” tab, as you can see below.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image2.png" rel="lightbox[326]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The Results tab of the getimage.aspx Dynamicweb utility" border="0" alt="The Results tab of the getimage.aspx Dynamicweb utility" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image_thumb2.png" width="642" height="393" /></a> </p>
</p>
<h3>Using the Image URL in your templates</h3>
<p>When you are happy with the results you should copy the “Image URL” path (highlighed with blue in the above image). The URL for my example is:</p>
<p>/admin/public/getimage.aspx?Image=/files/billeder/300&#215;80.jpg&amp;Format=jpg&amp;Width=200&amp;Height=100&amp;Crop=5</p>
<p>If I were to use this path inside a template, I simply would replace the “/files/billeder/300&#215;80.jpg” with a template tag like “<code>&lt;!--@Ecom:Product.ImageLarge.Clean—-&gt;</code>”.</p>
<p>I hope this has helped you! I really find this improvement nice! </p>
<h6>links</h6>
<ul>
<li><a title="Still a nice site for documentation of templates which can be used inside Dynamicweb CMS" href="http://templates.dynamicweb.dk" target="_blank">Dynamicweb Templates</a> </li>
<li><a title="Finally webdav access to dynamicweb websites" href="http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/" target="_blank">Finally webdav access to dynamicweb websites</a> </li>
<li><a title="(en-US) Release Notes, Dynamicweb 7.1.pdf" href="http://engage.dynamicweb-cms.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fRelease%2fDynamicweb+7.1%2f(en-US)+Release+Notes%2c+Dynamicweb+7.1.pdf" target="_blank">(en-US) Release Notes, Dynamicweb 7.1.pdf</a> </li>
</ul>
<p>&#160;</p>
<div class="FBILike"><iframe style="border-bottom-style: none; border-right-style: none; width: 480px; border-top-style: none; height: 80px; border-left-style: none; overflow: hidden" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F08%2F02%2Fthe-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to%2F&amp;layout=standard&amp;show_faces=true&amp;width=480&amp;action=like&amp;font=lucida+grande&amp;colorscheme=dark&amp;height=80" frameborder="0" allowtransparency="allowtransparency" scrolling="no"></iframe></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F08%2F02%2Fthe-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to%2F&amp;title=The%20getimage.aspx%20of%20Dynamicweb%20CMS%20finally%20can%20crop%20as%20I%20always%20wanted%20it%20to%21" id="wpa2a_18"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8220;Hvem skal nu betale?&#8221;</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 15:09:00 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[inspirovation]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/</guid>
		<description><![CDATA[Jeg arbejder professionelt med implementering af CMS baserede hjemmesider. Det system jeg arbejder klart mest i er Dynamicweb CMS – et system som efter sigende har omkring 4000 fungerende (et korrekt ord?) hjemmesider i hele verden – primært i norden. Som andre systemer så kommer der jævnligt opdateringer – det er jo dejligt med nye [...]]]></description>
			<content:encoded><![CDATA[<p><em>Jeg arbejder professionelt med implementering af <a href="http://www.netsi.dk/wordpress/index.php/tag/cms/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cms">CMS</a> baserede hjemmesider. Det system jeg arbejder klart mest i er <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> – et system som efter sigende har omkring 4000 fungerende (et korrekt ord?) hjemmesider i hele verden – primært i norden. Som andre systemer så kommer der jævnligt opdateringer – det er jo dejligt med nye up-to-date funktionalitet. Så langt så godt – men jeg vil gerne prøve at sammenligne kort med en anden branche.</em></p>
<h3>Min Toyota kontra <a href="http://www.netsi.dk/wordpress/index.php/tag/dynamicweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dynamicweb">Dynamicweb</a> CMS</h3>
<p>Jeg er den lykkelige ejer af en Toyota. Tidligere ejede jeg en Yaris og da den var ca. 2 år gammel modtog jeg et brev om at man havde konstateret at der <strong><em>kunne</em></strong> opstå et problem med bremserne under visse ekstreme omstændigheder. Jeg skulle bare køre ind til et selvvalgt Toyota værksted og de ville rette fejlen uden beregning. Hverken mig eller værkstedet ville blive lastet for noget i den forbindelse. Det er service!</p>
<p>Og nu til <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>… Jeg oplever <strong>jævnligt</strong> at der opdages fejl som opstår på grund af fejl i <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. Jeg arbejder jo som sagt professionelt hos en <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> Partner (<a title="Besøg Bleau A/S hjemmeside" href="http://www.bleau.dk" target="_blank">Bleau A/S</a>) og det er nok noget der i ovenstående situation med Toyota må være at betragte som at arbejde på et “autoriseret Dynamicweb værksted”. Selv om <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> også selv finder fejl og retter dem uden beregning gennem hot-fixes, så er situationen fra før med fejlen på bilen i en <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> verden normalt noget anderledes:</p>
<ol>
<li>Brugeren (chaufføren) oplever at noget ikke fungerer i hans “bil” (hans hjemme side) </li>
<li>Han kontakter værkstedet </li>
<li>Værkstedet må bruge megen tid på at fejlfinde og bevise overfor <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> support at fejlen er noget der ligger i selve Dynamicweb </li>
<li><a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> anerkender måske at der er en fejl, men det medfører ikke at fejlen rettes. Fejl prioriteres naturligvis af <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. </li>
<li>Brugeren må så acceptere at der ikke kommer en løsning “sådan lige” </li>
</ol>
<p>Som professionel konsulent er det svært</p>
<ul>
<li>At forklare overfor kunden at det er kundens problem. </li>
<li>At kunden vil blive faktureret den tid som vi har brugt på at finde fejl i det system vi har anbefalet dem. </li>
<li>At problemet ikke umiddelbart er blevet løst. </li>
<li>At en løsning vil koste yderligere tid (=penge). </li>
<li>At løsningen ikke nødvendigvis giver en forbedring. </li>
</ul>
<h3>Intet er fejlfrit! – men hvem skal nu betale?</h3>
<p>Der er mange elementer i ovenstående sammenligning der kan anfægtes og en sammenligning mellem en bil og et CMS system er måske unfair. Det som jeg her forsøger at starte en diskussion om og brokker mig over er at det ikke er rimeligt at kunderne alene skal betale for noget som kan påvises er fejl i det produkt de har købt.</p>
<ul>
<li>Jeg ville personligt aldrig betale for reperationen hvis min fladskærm holdte op med at virke indenfor garentiperioden! Det måtte producenten betale for (gennem forhandleren). </li>
<li>Jeg mener at det er i alles interesse at fejl rettes, så produktet bliver bedre. </li>
</ul>
<p>Jeg har ikke en færdig model for hvordan man kunne løse problemet med at få dækket omkostninger ved fejl. Der er tre parter som burde dele omkostningen – brugerne, forhandlerne (partnerne) og <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. Idag er det kun de to første der betaler! Jeg tror på sigt at hverken brugere eller forhandlere kan leve med den model!</p>
<p>P.s: Ovenstående står for min egen personlige regning.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F07%2F26%2Fhvem-skal-nu-betale%2F&amp;title=%26ldquo%3BHvem%20skal%20nu%20betale%3F%26rdquo%3B" id="wpa2a_20"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

