<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Gravatars in JavaScript for Blogsome</title>
	<atom:link href="http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/feed/" rel="self" type="application/rss+xml" />
	<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/</link>
	<description>Like a fortune cookie, only without the fortune, and not a cookie.</description>
	<pubDate>Tue, 02 Dec 2008 01:06:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: fiys</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-275</link>
		<dc:creator>fiys</dc:creator>
		<pubDate>Sat, 17 Sep 2005 18:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-275</guid>
		<description>thanks . finally i have changed my layout. i have used this layout but i have modified so what my blog is different , more personal. thanks for this layout</description>
		<content:encoded><![CDATA[<p>thanks . finally i have changed my layout. i have used this layout but i have modified so what my blog is different , more personal. thanks for this layout</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-271</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Fri, 16 Sep 2005 05:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-271</guid>
		<description>@fiys: I can't tell what you are doing wrong, as the code you pasted is being garbled by the browser.

I think the problem lies in the location of the script: if it is not in the same paragraph, it may appear above, like it does on your site.</description>
		<content:encoded><![CDATA[<p>@fiys: I can&#8217;t tell what you are doing wrong, as the code you pasted is being garbled by the browser.</p>
<p>I think the problem lies in the location of the script: if it is not in the same paragraph, it may appear above, like it does on your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-268</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 15 Sep 2005 22:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-268</guid>
		<description>@Edhish: right-click and choose to save the file/download it rather than just clicking on it.

@fiys: I don't really have time to look at it now, but I'll see what I can do.</description>
		<content:encoded><![CDATA[<p>@Edhish: right-click and choose to save the file/download it rather than just clicking on it.</p>
<p>@fiys: I don&#8217;t really have time to look at it now, but I&#8217;ll see what I can do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edhish</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-266</link>
		<dc:creator>Edhish</dc:creator>
		<pubDate>Thu, 15 Sep 2005 21:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-266</guid>
		<description>i can't download the jpg file :(</description>
		<content:encoded><![CDATA[<p>i can&#8217;t download the jpg file <img src='http://schinckel.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fiys</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-263</link>
		<dc:creator>fiys</dc:creator>
		<pubDate>Thu, 15 Sep 2005 13:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-263</guid>
		<description>thanks i have fixed the code but my problem is that the image is top of the text how can you do it? in this blog the text is around image. i he created a class like this:

in comments my code is:

.avatar{
    float:right;
    padding: 1px;
    border: 1px solid #ccc;
}

&lt;pre&gt;
{comments_number zero="Comments" one="1 Comment" more="% Comments"}
{if $post-&#62;comment_status == 'open'}
&#60;a href="#postcomment" rel="nofollow"&#62;&#187;&#60;/a&#62;
{/if}

{if $post-&#62;ping_status} 
{_e text='The &#60;acronym title="Uniform Resource Identifier"&gt;URI&#60;/acronym&gt; to TrackBack this entry is:'} &#60;em&#62;{trackback_url}&#60;/em&#62;
{/if}
{if $comments != ''}
  
  {foreach from=$comments key=key item=comment}
        {globalvar var='comment' value=$comment}
	 
{capture name=reader}{comment_author_email}{/capture}
var ob_email = "{$smarty.capture.reader&#124;replace:'@':';'}";
var email = ob_email.replace(/;/g,"@");
document.write('');
{comment_text} 
	{comment_type} {_e text="by"} {comment_author_link} &#8212; {comment_date} @ &#60;a href="#comment-{comment_ID}" rel="nofollow"&#62;{comment_time}&#60;/a&#62; {edit_comment_link link='Edit This' before=' &#124;'}
	
  {/foreach}
  
{else} 
	{_e text="No hay comentarios todavia."}
{/if}
{comments_rss_link link_text='&#60;abbr title="Really Simple Syndication"&#62;RSS&#60;/abbr&#62; feed for comments on this post.'}
{_e text="Deja un comentario"}
{if 'open' == $post-&#62;comment_status}
	  
	   {_e text="Nombre"} {if $req != ''} {_e text='(required)'} {/if}
	ID}" /&#62;

	   {_e text="E-mail"} {if $req != ''} {_e text='(required)'}{/if}
	

	
	  
	   {_e text="&#60;acronym title='Uniform Resource Identifier'&#62;URI&#60;/acronym&#62;"}
	
	  {_e text="Tus comentarios"}
  	
{_e text="Line and paragraph breaks automatic, e-mail address never displayed, &#60;acronym title='Hypertext Markup Language'&#62;HTML&#60;/acronym&#62; allowed:"} &#60;code&#62;{allowed_tags}&#60;/code&#62;

{else} 
{_e text="Sorry, the comment form is closed at this time."}
{/if}

&lt;/pre&gt;
what am i doing bad?</description>
		<content:encoded><![CDATA[<p>thanks i have fixed the code but my problem is that the image is top of the text how can you do it? in this blog the text is around image. i he created a class like this:</p>
<p>in comments my code is:</p>
<p>.avatar{<br />
    float:right;<br />
    padding: 1px;<br />
    border: 1px solid #ccc;<br />
}</p>
<pre>
{comments_number zero="Comments" one="1 Comment" more="% Comments"}
{if $post-&gt;comment_status == 'open'}
&lt;a href="#postcomment" rel="nofollow"&gt;&raquo;&lt;/a&gt;
{/if}

{if $post-&gt;ping_status}
{_e text='The &lt;acronym title="Uniform Resource Identifier">URI&lt;/acronym> to TrackBack this entry is:'} &lt;em&gt;{trackback_url}&lt;/em&gt;
{/if}
{if $comments != ''}

  {foreach from=$comments key=key item=comment}
        {globalvar var='comment' value=$comment}

{capture name=reader}{comment_author_email}{/capture}
var ob_email = "{$smarty.capture.reader|replace:'@':';'}";
var email = ob_email.replace(/;/g,"@");
document.write('');
{comment_text}
	{comment_type} {_e text="by"} {comment_author_link} &#8212; {comment_date} @ &lt;a href="#comment-{comment_ID}" rel="nofollow"&gt;{comment_time}&lt;/a&gt; {edit_comment_link link='Edit This' before=' |'}

  {/foreach}

{else}
	{_e text="No hay comentarios todavia."}
{/if}
{comments_rss_link link_text='&lt;abbr title="Really Simple Syndication"&gt;RSS&lt;/abbr&gt; feed for comments on this post.'}
{_e text="Deja un comentario"}
{if 'open' == $post-&gt;comment_status}

	   {_e text="Nombre"} {if $req != ''} {_e text='(required)'} {/if}
	ID}" /&gt;

	   {_e text="E-mail"} {if $req != ''} {_e text='(required)'}{/if}

	   {_e text="&lt;acronym title='Uniform Resource Identifier'&gt;URI&lt;/acronym&gt;"}

	  {_e text="Tus comentarios"}

{_e text="Line and paragraph breaks automatic, e-mail address never displayed, &lt;acronym title='Hypertext Markup Language'&gt;HTML&lt;/acronym&gt; allowed:"} &lt;code&gt;{allowed_tags}&lt;/code&gt;

{else}
{_e text="Sorry, the comment form is closed at this time."}
{/if}
</pre>
<p>what am i doing bad?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paint the Tiger &#8226; Carve the Swan</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-262</link>
		<dc:creator>Paint the Tiger &#8226; Carve the Swan</dc:creator>
		<pubDate>Thu, 15 Sep 2005 00:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-262</guid>
		<description>&lt;strong&gt;Blogsome Gravatars&lt;/strong&gt;

	I did get Gravatars working in Blogsome to some extent a while ago, but it exposed the email addresses.
	What I&#8217;ve done now is obscure the email addresses, and  it should be safe to use:
	&#60;script type="text/javascript"&#62;
{capture name=rea...</description>
		<content:encoded><![CDATA[<p><strong>Blogsome Gravatars</strong></p>
<p>	I did get Gravatars working in Blogsome to some extent a while ago, but it exposed the email addresses.<br />
	What I&#8217;ve done now is obscure the email addresses, and  it should be safe to use:<br />
	&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
{capture name=rea&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-261</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 15 Sep 2005 00:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-261</guid>
		<description>&lt;strong&gt;Fixed:&lt;/strong&gt; had some duplicate code in there!</description>
		<content:encoded><![CDATA[<p><strong>Fixed:</strong> had some duplicate code in there!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-260</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 15 Sep 2005 00:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-260</guid>
		<description>Strangely, comments from other people appear twice, once as a trackback and once as a comment, in the same box.  I'll have to fix this.</description>
		<content:encoded><![CDATA[<p>Strangely, comments from other people appear twice, once as a trackback and once as a comment, in the same box.  I&#8217;ll have to fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-259</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Thu, 15 Sep 2005 00:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-259</guid>
		<description>Okay, I think I've come up with a way to obscure the email address, and for the script to still work.

You need to use smarty tags to obscure the email address, and then use JavaScript to unobscure it.

&lt;code&gt;{comment_author_email&#124;replace:"@":";"}&lt;/code&gt;

Takes &lt;code&gt;email@domain.com&lt;/code&gt; and turns it into &lt;code&gt;email;domain.com&lt;/code&gt;

&lt;code&gt;AuthorEmail = Email.replace(/;/g,"@")&lt;/code&gt;

Reverses the operation.

Why do this?  The source code will not show the raw email address, and will therefore be safer from Spambots.


</description>
		<content:encoded><![CDATA[<p>Okay, I think I&#8217;ve come up with a way to obscure the email address, and for the script to still work.</p>
<p>You need to use smarty tags to obscure the email address, and then use JavaScript to unobscure it.</p>
<p><code>{comment_author_email|replace:"@":";"}</code></p>
<p>Takes <code><a href="mailto:email@domain.com">email@domain.com</a></code> and turns it into <code>email;domain.com</code></p>
<p><code>AuthorEmail = Email.replace(/;/g,"@")</code></p>
<p>Reverses the operation.</p>
<p>Why do this?  The source code will not show the raw email address, and will therefore be safer from Spambots.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-220</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Tue, 30 Aug 2005 08:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2005/08/11/gravatars-in-javascript-for-blogsome/#comment-220</guid>
		<description>fiys: you'll need to play around with either DIV tags, or a table, in order to position it so that it has text flowing around it.

Of course, you shouldn't be using my code at all, as it exposes email addresses.</description>
		<content:encoded><![CDATA[<p>fiys: you&#8217;ll need to play around with either DIV tags, or a table, in order to position it so that it has text flowing around it.</p>
<p>Of course, you shouldn&#8217;t be using my code at all, as it exposes email addresses.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
