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

<channel>
	<title>Vlad &#187; yahoo</title>
	<atom:link href="http://vlad.bailescu.ro/tag/yahoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://vlad.bailescu.ro</link>
	<description>Coloured pencils FTW</description>
	<lastBuildDate>Wed, 30 Mar 2011 07:34:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Yahoo Maps Error: YAHOO.util.CustomEvent is not a constructor</title>
		<link>http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/</link>
		<comments>http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/#comments</comments>
		<pubDate>Wed, 28 May 2008 13:21:14 +0000</pubDate>
		<dc:creator>Vlad</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://vlad.bailescu.ro/?p=669</guid>
		<description><![CDATA[UPDATE: Fixed by Yahoo! Seems like someone messed up! Yahoo Maps&#8217; AJAX API is broken and Firebug prints this lovely message: YAHOO.util.CustomEvent is not a constructor A quick workaround is to grab the output from&#8221; http://api.maps.yahoo.com/ajaxymap?v=(version)&#38;appid=(apikey) and look for http://in.maps.yahoo.com/js Replace that with: http://in.maps.yahoo.com/v(version)/aj Then replace your call to the AJAX API: &#60;script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=(version)&#38;appid=(apikey)"&#62;&#60;/script&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #008000;"><strong>UPDATE: Fixed by Yahoo!</strong></span></p>
<p>Seems like someone messed up! <a href="http://developer.yahoo.com/maps/ajax/V3.8/example/ymap.html" target="_blank">Yahoo Maps&#8217; AJAX API is broken</a> and Firebug prints this lovely message:</p>
<pre><strong>YAHOO.util.CustomEvent is not a constructor</strong></pre>
<p>A quick workaround is to grab the output from&#8221;</p>
<pre>http://api.maps.yahoo.com/ajaxymap?v=(version)&amp;appid=(apikey)</pre>
<p>and look for</p>
<pre>http://in.maps.yahoo.com/js</pre>
<p>Replace that with:</p>
<pre>http://in.maps.yahoo.com/v(version)/aj</pre>
<p>Then replace your call to the AJAX API:</p>
<pre>&lt;script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=(version)&amp;appid=(apikey)"&gt;&lt;/script&gt;</pre>
<p>with the modified output from that script:</p>
<pre>&lt;script type="text/javascript"&gt;
var YAHOO=window.YAHOO||{};
YAHOO.namespace=function(_1){
    if(!_1||!_1.length){ return null; }
    var _2=_1.split(".");
    var _3=YAHOO;
    for(var i=(_2[0]=="YAHOO")?1:0;i&lt;_2.length;++i){
        _3[_2[i]]=_3[_2[i]]||{};
        _3=_3[_2[i]];
    }
    return _3;
};
YAHOO.namespace("util");
YAHOO.namespace("widget");
YAHOO.namespace("example");
var YMAPPID = "(apikey)";
function _ywjs(inc) { var o='&lt;'+'script src="'+inc+'"'+' type="text/javascript"&gt;&lt;'+'/script&gt;'; document.write(o); }
_ywjs('http://in.maps.yahoo.com/v(version)/aj/y.js');
_ywjs('http://in.maps.yahoo.com/v(version)/aj/ymapapi.js?v=(full_version)');
_ywjs('http://in.maps.yahoo.com/v(version)/aj/ymic_4.js');
&lt;/script&gt;
</pre>
<p><strong>This is a temporary workaround, YAHOO! will probably fix this really soon!</strong></p>
<p>PS: Remember to replace (apikey), (version) and (full_version) with the proper  values!</p>
<hr />
<p><small>&copy; Vlad for <a href="http://vlad.bailescu.ro">Vlad</a>, 2008. |
<a href="http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/">Permalink</a> |
<a href="http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/&amp;title=Yahoo Maps Error: YAHOO.util.CustomEvent is not a constructor">del.icio.us</a>
<br/>
Post tags: <a href="http://vlad.bailescu.ro/tag/error/" rel="tag">error</a>, <a href="http://vlad.bailescu.ro/tag/javascript/" rel="tag">javascript</a>, <a href="http://vlad.bailescu.ro/tag/maps/" rel="tag">maps</a>, <a href="http://vlad.bailescu.ro/tag/yahoo/" rel="tag">yahoo</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://vlad.bailescu.ro/programming/2008/05/28/yahoo-maps-error-yahooutilcustomevent-is-not-a-constructor/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
