<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: An Even Better Bookmarklet</title>
	<atom:link href="http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<lastBuildDate>Thu, 11 Mar 2010 16:26:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael J.</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-70942</link>
		<dc:creator>Michael J.</dc:creator>
		<pubDate>Tue, 20 Mar 2007 22:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-70942</guid>
		<description>Works like a charm - thanks for the quick feedback!</description>
		<content:encoded><![CDATA[<p>Works like a charm &#8211; thanks for the quick feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-70920</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Tue, 20 Mar 2007 21:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-70920</guid>
		<description>Hi Michael - I&#039;m hoping to enhance the &quot;Install Bookmarklet&quot; page inside MarsEdit to make this easier, but for the time being you have to edit the source for the bookmarklet (by editing the &quot;address&quot; in your browser).

This is probably best explained by example ... but pasting the whole example is ugly.  You want to add the parameter to the source of the javascript, near the very end of the &quot;address.&quot; You&#039;ll see that the bookmark currently ends in:

;document.location.href=url;

And you want to sneak your &quot;weblog&quot; parameter in just before that, so that the end looks like this:

;url=url+&#039;&amp;weblog=Red%20Sweater%20Blog&#039;;document.location.href=url;

Substitute whatever blog name you like from your list of Weblogs in MarsEdit.

I know this is still kind of complex but hopefully it helps you figure it out!

Daniel</description>
		<content:encoded><![CDATA[<p>Hi Michael &#8211; I&#8217;m hoping to enhance the &#8220;Install Bookmarklet&#8221; page inside MarsEdit to make this easier, but for the time being you have to edit the source for the bookmarklet (by editing the &#8220;address&#8221; in your browser).</p>
<p>This is probably best explained by example &#8230; but pasting the whole example is ugly.  You want to add the parameter to the source of the javascript, near the very end of the &#8220;address.&#8221; You&#8217;ll see that the bookmark currently ends in:</p>
<p>;document.location.href=url;</p>
<p>And you want to sneak your &#8220;weblog&#8221; parameter in just before that, so that the end looks like this:</p>
<p>;url=url+&#8217;&#038;weblog=Red%20Sweater%20Blog&#8217;;document.location.href=url;</p>
<p>Substitute whatever blog name you like from your list of Weblogs in MarsEdit.</p>
<p>I know this is still kind of complex but hopefully it helps you figure it out!</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael J.</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-70902</link>
		<dc:creator>Michael J.</dc:creator>
		<pubDate>Tue, 20 Mar 2007 21:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-70902</guid>
		<description>How do I use the &amp;weblog=BlogName feature? I have two blogs, and want to have two bookmarklets - one for each blog. Thanks!</description>
		<content:encoded><![CDATA[<p>How do I use the &amp;weblog=BlogName feature? I have two blogs, and want to have two bookmarklets &#8211; one for each blog. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Takaaki Kato</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-65802</link>
		<dc:creator>Takaaki Kato</dc:creator>
		<pubDate>Fri, 09 Mar 2007 04:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-65802</guid>
		<description>&lt;blockquote&gt;I can release a fix without updating MarsEdit itself.&lt;/blockquote&gt;

You could do this even without releasing an update if you make a &quot;Install bookmarklets&quot; page on the web. Your users still have to wait for a new version. 

Most developers put the bookmarklets in the application bundle.

Also, I wonder how you notitify this to users. Existing users have no way to notice this unless they read release notes.

Anyways, thanks for fixing the issue. ^_^</description>
		<content:encoded><![CDATA[<blockquote><p>I can release a fix without updating MarsEdit itself.</p></blockquote>
<p>You could do this even without releasing an update if you make a &#8220;Install bookmarklets&#8221; page on the web. Your users still have to wait for a new version. </p>
<p>Most developers put the bookmarklets in the application bundle.</p>
<p>Also, I wonder how you notitify this to users. Existing users have no way to notice this unless they read release notes.</p>
<p>Anyways, thanks for fixing the issue. ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-65623</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Thu, 08 Mar 2007 18:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-65623</guid>
		<description>Interesting idea, Will. I&#039;m satisified for the moment I think to &quot;keep it simple,&quot; but that is a technique to keep in mind.

(See you at CocoaHeads tonight!)</description>
		<content:encoded><![CDATA[<p>Interesting idea, Will. I&#8217;m satisified for the moment I think to &#8220;keep it simple,&#8221; but that is a technique to keep in mind.</p>
<p>(See you at CocoaHeads tonight!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Koffel</title>
		<link>http://www.red-sweater.com/blog/289/an-even-better-bookmarklet/comment-page-1#comment-65622</link>
		<dc:creator>Will Koffel</dc:creator>
		<pubDate>Thu, 08 Mar 2007 18:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/289/an-even-better-bookmarklet#comment-65622</guid>
		<description>I&#039;ve written a number of bookmarklets, and often another level of indirection is helpful too.  The bookmarklet pulls down a JS snippet from the product site, and executes it.  If you did that, no one would have to change to encodeURIComponent, as you could just make the change globally, and everyone would inherit the fix the next time they clicked on it.

(Of course, then you have to keep the JS snippet location alive, which is not a problem except in an instance like the purchase of MarsEdit by RS!)

This technique is also very useful for stats tracking on bookmarklet usage, etc. if you are into that kind of thing (most people in the commercial ad-supported web world are ; most indie-mac-devs are likely not)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve written a number of bookmarklets, and often another level of indirection is helpful too.  The bookmarklet pulls down a JS snippet from the product site, and executes it.  If you did that, no one would have to change to encodeURIComponent, as you could just make the change globally, and everyone would inherit the fix the next time they clicked on it.</p>
<p>(Of course, then you have to keep the JS snippet location alive, which is not a problem except in an instance like the purchase of MarsEdit by RS!)</p>
<p>This technique is also very useful for stats tracking on bookmarklet usage, etc. if you are into that kind of thing (most people in the commercial ad-supported web world are ; most indie-mac-devs are likely not)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
