<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Wanted: Google Click-to-Call Bookmarklet</title>
	<link>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116</link>
	<description>Established January 2005</description>
	<pubDate>Thu, 28 Aug 2008 22:35:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: Jon</title>
		<link>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2782</link>
		<pubDate>Sun, 21 Jan 2007 05:17:58 +0000</pubDate>
		<guid>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2782</guid>
					<description>Run the following bookmarklet after the Google Maps loads. Try Click-to-Call. Right before it actually dials, the browser will give you the URL for your bookmarking pleasure. There might be a time-to-live on the hashes. I haven't experimented with it long enough.

javascript:ctc_a.prototype.ba=function(a,b,c,d,e){var g=&quot;/maps/call&quot;,h=&quot;from=&quot;+a+&quot;&amp;#38;to=&quot;+b+(c?&quot;&amp;#38;redirect_url=&quot;+escape(c):(d?&quot;&amp;#38;ticket=&quot;+d:&quot;&quot;))+&quot;&amp;#38;hmac=&quot;+e+(this.p?&quot;&amp;#38;save_phone_cookie=1&quot;:&quot;&quot;);prompt(&quot;Bookmarklet URL&quot;,&quot;http://www.google.com&quot;+g+&quot;?&quot;+h);this.x(g,h)};void(0);

Also, don't forget this URL:

http://www.google.com/maps/call/cancel?call_id=

Use the call_id that is returned from the xml that is returned from the 'call' URL.</description>
		<content:encoded><![CDATA[<p>Run the following bookmarklet after the Google Maps loads. Try Click-to-Call. Right before it actually dials, the browser will give you the URL for your bookmarking pleasure. There might be a time-to-live on the hashes. I haven&#8217;t experimented with it long enough.</p>
<p>javascript:ctc_a.prototype.ba=function(a,b,c,d,e){var g=&#8221;/maps/call&#8221;,h=&#8221;from=&#8221;+a+&#8221;&amp;to=&#8221;+b+(c?&#8221;&amp;redirect_url=&#8221;+escape(c):(d?&#8221;&amp;ticket=&#8221;+d:&#8221;"))+&#8221;&amp;hmac=&#8221;+e+(this.p?&#8221;&amp;save_phone_cookie=1&#8243;:&#8221;");prompt(&#8221;Bookmarklet URL&#8221;,&#8221;http://www.google.com&#8221;+g+&#8221;?&#8221;+h);this.x(g,h)};void(0);</p>
<p>Also, don&#8217;t forget this URL:</p>
<p><a href='http://www.google.com/maps/call/cancel?call_id=' rel='nofollow'>http://www.google.com/maps/call/cancel?call_id=</a></p>
<p>Use the call_id that is returned from the xml that is returned from the &#8216;call&#8217; URL.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Greg - CEO/Founder</title>
		<link>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2780</link>
		<pubDate>Sun, 21 Jan 2007 03:14:11 +0000</pubDate>
		<guid>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2780</guid>
					<description>Thanks for the information, Jon.  That does make a bookmarklet sound more complicated.  I guess there's no way for javascript to request those hashes from Google?</description>
		<content:encoded><![CDATA[<p>Thanks for the information, Jon.  That does make a bookmarklet sound more complicated.  I guess there&#8217;s no way for javascript to request those hashes from Google?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jon</title>
		<link>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2778</link>
		<pubDate>Sun, 21 Jan 2007 02:33:44 +0000</pubDate>
		<guid>http://www.blendedtechnologies.com/wanted-google-click-to-call-bookmarklet/116#comment-2778</guid>
					<description>hmac and ticket are hashes associated with the specific business phone number. They are passed in as part of the business listing search results and are hardcoded into the vpage iframe together with the phone number. They are generated server-side for each business phone number and must correspond with the number when passed to the 'call' url. 

Take home message: a bookmarklet must be created for each business listing.</description>
		<content:encoded><![CDATA[<p>hmac and ticket are hashes associated with the specific business phone number. They are passed in as part of the business listing search results and are hardcoded into the vpage iframe together with the phone number. They are generated server-side for each business phone number and must correspond with the number when passed to the &#8216;call&#8217; url. </p>
<p>Take home message: a bookmarklet must be created for each business listing.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
