Add Empire Avenue Badge to Blogger.com
by Aaron K. White • July 1, 2010 • Uncategorized
This is just a quick overview on how to add the Empire Avenue Stock Badge Widget to your Blogger.com Blog. The ideal spot for this Badge is in the sidebar, however you can place anywhere your little heart desires
1. Login to your blogger account
2. From your Dashboard go to Design
3. Click Add a Gadget in your Sidebar (or wherever you want to place the Badge)
4. Select HTML/Javascript from the Basic set of Gadgets
5. In the Content box, paste the following code. Make sure to Change ‘TICKER’ to your unique ticker!
<!--- CUT AND PASTE FROM HERE --> <script type="text/javascript" charset="utf-8"> //EDIT THE FOLLOWING VARIABLES //enter your exact ticker var eav_t = "DUPS"; //Size 1 is 100x100 and Size 2 is 190x167 var eav_s = 2; //Do not edit the following: var eav_is_ssl = ("https:" == document.location.protocol); var eav_asset_host = eav_is_ssl ? "https://badge.empireavenue.com/" : "http://badge.empireavenue.com/"; document.write(unescape("%3Cscript src='" + eav_asset_host + "blog/?t=" + eav_t + "&l=" + escape(window.location) +"&s=" + eav_s + "' type='text/javascript'%3E%3C/script%3E")); </script> <!--- TO HERE -->
6. You can add a title for this Widget.. and then click Save.
7. Save your Template and refresh your page.
Congratulations, you should now have a working Empire Avenue Badge on your Blogger.com Blog! If you experience any issues you can ping us on Twitter @EmpireAve or shoot us an email to info@empireavenue.com
-Aaron






How about including some code that we can Select & Copy?
and where is the “copy paste” code?
hiya
Can we get the actual code to cut & paste rather than a screenshot?
Cheers!
I have just updated to post to include the Widget code. You can also head over to the API Docs and find it over there: http://apidocs.empireavenue.com
Can we get instructions on how to make the code work in WordPress? I’ve been messing with it for a while and can’t get it to display.
WordPress.com does not and will probably never support JavaScript, so unless the code to this widget changes, we wordpress users may be out of luck.
I had no trouble getting it to display in WordPress. I just added a Text widget and copied the code: http://tim-osborne.com/blog/
@Tim – Come again? I did just that but all I got was raw code in my sidebar. You aren’t on WordPress.com, are you.
this is a bummer
Pingback: Badges « (e)ITGeek on Empire Avenue
Pingback: Los blogs salen a a bolsa… | Civilgeek
I added the badge to my Office Live web site at http://janinewhite.com/EmpireAvenue.aspx. It works in Chrome, but it hangs IE8. Any suggestions?
Great stuff. Thanks. Just put it on my blog