<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Johan Känngård</title>
	<link>http://johankanngard.net</link>
	<description>Useful tips for developers</description>
	<pubDate>Fri, 09 May 2008 20:17:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>Comment on Remove an element in a JavaScript Array by Jitendra Kumar Saini</title>
		<link>http://johankanngard.net/2005/11/14/remove-an-element-in-a-javascript-array/#comment-83416</link>
		<dc:creator>Jitendra Kumar Saini</dc:creator>
		<pubDate>Wed, 07 May 2008 09:19:39 +0000</pubDate>
		<guid>http://johankanngard.net/2005/11/14/remove-an-element-in-a-javascript-array/#comment-83416</guid>
		<description>Great!
Thanks  for the code...</description>
		<content:encoded><![CDATA[<p>Great!<br />
Thanks  for the code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on String to InputStream by Chris Lawn</title>
		<link>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-82529</link>
		<dc:creator>Chris Lawn</dc:creator>
		<pubDate>Sun, 27 Apr 2008 23:18:30 +0000</pubDate>
		<guid>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-82529</guid>
		<description>Thanks, really helped with a xml file!</description>
		<content:encoded><![CDATA[<p>Thanks, really helped with a xml file!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remove an element in a JavaScript Array by Tom Van Schoor</title>
		<link>http://johankanngard.net/2005/11/14/remove-an-element-in-a-javascript-array/#comment-81459</link>
		<dc:creator>Tom Van Schoor</dc:creator>
		<pubDate>Thu, 17 Apr 2008 19:51:32 +0000</pubDate>
		<guid>http://johankanngard.net/2005/11/14/remove-an-element-in-a-javascript-array/#comment-81459</guid>
		<description>I would suggest the following

Array.prototype.remove=function(s){
  var index = this.indexOf(s);
  if(this.indexOf(s) != -1)this.splice(i, 1);
}

it is same result without the for loop... although javascript interpreters probably loop the array aswel.</description>
		<content:encoded><![CDATA[<p>I would suggest the following</p>
<p>Array.prototype.remove=function(s){<br />
  var index = this.indexOf(s);<br />
  if(this.indexOf(s) != -1)this.splice(i, 1);<br />
}</p>
<p>it is same result without the for loop&#8230; although javascript interpreters probably loop the array aswel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending HTML mails via LotusScript by Johan Känngård</title>
		<link>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80893</link>
		<dc:creator>Johan Känngård</dc:creator>
		<pubDate>Thu, 10 Apr 2008 23:01:31 +0000</pubDate>
		<guid>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80893</guid>
		<description>You must do something like:
Call doc.ReplaceItemValue( “FeaturedBlog_Title”, Strrightback(blogDoc.Categories(0), “-”))</description>
		<content:encoded><![CDATA[<p>You must do something like:<br />
Call doc.ReplaceItemValue( “FeaturedBlog_Title”, Strrightback(blogDoc.Categories(0), “-”))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending HTML mails via LotusScript by Steve Marshall</title>
		<link>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80875</link>
		<dc:creator>Steve Marshall</dc:creator>
		<pubDate>Thu, 10 Apr 2008 18:32:40 +0000</pubDate>
		<guid>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80875</guid>
		<description>I'm trying to use StrRightBack to display the contents of a string appearing next to a "-". The code I'm using is:

Call doc.ReplaceItemValue( "FeaturedBlog_Title", Strrightback(blogDoc.Categories, "-"))	

I don't get an error when I save the document, but I get a type mismatch in the client. Categories is a text field. Can you help? 

Thanks,

Steve</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use StrRightBack to display the contents of a string appearing next to a &#8220;-&#8221;. The code I&#8217;m using is:</p>
<p>Call doc.ReplaceItemValue( &#8220;FeaturedBlog_Title&#8221;, Strrightback(blogDoc.Categories, &#8220;-&#8221;))	</p>
<p>I don&#8217;t get an error when I save the document, but I get a type mismatch in the client. Categories is a text field. Can you help? </p>
<p>Thanks,</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending HTML mails via LotusScript by Raul</title>
		<link>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80772</link>
		<dc:creator>Raul</dc:creator>
		<pubDate>Wed, 09 Apr 2008 07:18:32 +0000</pubDate>
		<guid>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-80772</guid>
		<description>Mr Johan, I am trying to send an email using Lotusscript. This script reads values from two rich text fields, composes an email and appends the rich text field values in mail body. The problem is that the mail always goes as Text and any colored text from rich text field is not coming in same format in mail body. Can you suggest some thing?</description>
		<content:encoded><![CDATA[<p>Mr Johan, I am trying to send an email using Lotusscript. This script reads values from two rich text fields, composes an email and appends the rich text field values in mail body. The problem is that the mail always goes as Text and any colored text from rich text field is not coming in same format in mail body. Can you suggest some thing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on String to InputStream by Johan Känngård</title>
		<link>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-80286</link>
		<dc:creator>Johan Känngård</dc:creator>
		<pubDate>Thu, 03 Apr 2008 08:46:29 +0000</pubDate>
		<guid>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-80286</guid>
		<description>@Steve, I am embarrassed to see that I missed that in the code. Thanks for the heads up!</description>
		<content:encoded><![CDATA[<p>@Steve, I am embarrassed to see that I missed that in the code. Thanks for the heads up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on String to InputStream by Steve</title>
		<link>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-80285</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 03 Apr 2008 08:36:02 +0000</pubDate>
		<guid>http://johankanngard.net/2006/02/09/string-to-inputstream/#comment-80285</guid>
		<description>Code is correct except for the particular overload of GetBytes.  You should _always_ specify an encoding when calling GetBytes, e.g. myString.GetBytes('UTF-8').  The bare form of GetBytes shouldn't be used.</description>
		<content:encoded><![CDATA[<p>Code is correct except for the particular overload of GetBytes.  You should _always_ specify an encoding when calling GetBytes, e.g. myString.GetBytes(&#8217;UTF-8&#8242;).  The bare form of GetBytes shouldn&#8217;t be used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending HTML mails via LotusScript by Johan Känngård</title>
		<link>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-78260</link>
		<dc:creator>Johan Känngård</dc:creator>
		<pubDate>Mon, 10 Mar 2008 15:51:43 +0000</pubDate>
		<guid>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-78260</guid>
		<description>What is the problem and how do the HTML look like?</description>
		<content:encoded><![CDATA[<p>What is the problem and how do the HTML look like?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending HTML mails via LotusScript by Rubem Rocha</title>
		<link>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-78259</link>
		<dc:creator>Rubem Rocha</dc:creator>
		<pubDate>Mon, 10 Mar 2008 15:37:20 +0000</pubDate>
		<guid>http://johankanngard.net/2005/12/13/sending-html-mails-via-lotusscript/#comment-78259</guid>
		<description>Mr. Johan, I've tried to use this tip, but the format information the HTML content I'd like to send is not respected (font size, for example!). What can I do to fix this? Thx!</description>
		<content:encoded><![CDATA[<p>Mr. Johan, I&#8217;ve tried to use this tip, but the format information the HTML content I&#8217;d like to send is not respected (font size, for example!). What can I do to fix this? Thx!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
