Warning: include(/home/content/r/i/c/richardmasoner/html/script/abike.php5) [function.include]: failed to open stream: No such file or directory in /home/content/01/11794001/html/2007/12/usa-energy-use-widget.html on line 2

Warning: include() [function.include]: Failed opening '/home/content/r/i/c/richardmasoner/html/script/abike.php5' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/01/11794001/html/2007/12/usa-energy-use-widget.html on line 2

Warning: include(/home/content/r/i/c/richardmasoner/html/script/related.php5) [function.include]: failed to open stream: No such file or directory in /home/content/01/11794001/html/2007/12/usa-energy-use-widget.html on line 6

Warning: include() [function.include]: Failed opening '/home/content/r/i/c/richardmasoner/html/script/related.php5' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/01/11794001/html/2007/12/usa-energy-use-widget.html on line 6
USA energy use widget - Cyclelicious

USA energy use widget

Cyclelicious Shop
Bicycle Lights - Wald Baskets - Dahon - Strida

IMPORTANT: This content is deprecated. Please visit the new CYCLELICIOUS 2.0.
Wednesday, December 12, 2007
By Yokota Fritz

Here's a widget for your blog or website. If you're viewing this in a blog reader you'll probably need to hit the permalink to view this properly

The US spent 0 this year on imported fossil fuels.

EIA 2006 data.
Get this widget. Cyclelicious

I grabbed the code from the Sightline Institute Pacific Northwest energy counter and changed the numbers to reflect what the United States as a nation spent on fossil fuel imports in 2006. This data is from the US Energy Information Administration. Yes, we really did send nearly a billion dollars every day to foreign banks.

You can grab this widget for use on your own website. If you use the Javascript on my server, you must link back to Cyclelicious. You're also free to copy the Javascript to your own server and use it unencumbered, if you wish. Here's a handy 180px widget that you can copy into your blog our website. If you post this to something like Blogger.com and have auto linebreaks enabled (most people do), be careful that each of the two lines that begin "<script>" all remain one line! Don't worry about how this code bleeds way over there on this page -- it should cut and paste just fine.
<div style="font-family:Arial,Helvetica,sans-serif;background:darkblue;width:180px;margin:2px;padding:4px;border:solid black 1px;"> <h3 align="center" style="margin-top: 14px; font-size: 14px; color: white;">The US spent <span id="total" style="color:gray">0</span> this year on imported fossil fuels.</h3> <span style="font-size:8pt;color:white;">EIA 2006 data.</span><br /> <a style="font-size:10pt;margin:auto;color:white;" href="http://www.cyclelicio.us/2007/12/usa-energy-use-widget.html">Get this widget.</a> <a style="font-size:10pt;margin:auto;color:white;" href="http://www.cyclelicio.us/">Cyclelicious</a> </div>
<script language="JavaScript" src="http://www.cyclelicio.us/script/energy.js"> </script>
<script language="JavaScript"> startClock() </script>

    IMPORTANT: Please post comments for this article at the new CYCLELICIOUS 2.0 version of this page.
Anything I can do to help? I love this widget. It's up at Bicycle Diaries, though I change the appearance format to fit my overall design theme.
I took a look at it and.... apparently it was never broken. I guess I looked at the numbers after the New Year, couldn't imagine they could already be in the billions and assumed it couldn't be right so I disabled the script.

But if the United States is spending over a billion dollars a day on imported fossil fuels, then yeah, we should be in the 10 digits on the second day of the year.
Post a Comment

Links to this post:

Create a Link

Blog Widget by LinkWithin Cyclelicious Home

Fatal error: Call to undefined function showRelated() in /home/content/01/11794001/html/2007/12/usa-energy-use-widget.html on line 444