HOT: Active* forum members generally gain 5% discount at starbike.com store!
Weight Weenies
* FAQ    * Search    * Trending Topics
* Login   * Register
HOME Listings Articles FAQ Contact About




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: WW Firefox extension
PostPosted: Fri Nov 03, 2006 4:09 pm 
Offline

Joined: Mon May 08, 2006 8:45 pm
Posts: 1452
Hi all,
as an avid WW reader I have a problem (well more than one :lol: but let's focus on this one).
Weight weenies is about weights, in most threads we discuss weight of components.
Unfortunately nowadays the world is split in two: those who use metric units (:thumbup:) and those who use imperial units (:roll:).

To a lazy boy like me this means ending up switching to google all the time to write stuff like http://www.google.com/search?hl=en&lr=& ... tnG=Search , but at some point it starts getting annoying.

To solve the problem I am writing a Firefox extension that automatically converts units.
The idea is to simply replace every occurrence of "xy lbs" with "xy lbs (zw kg)" in the complete text (and of course the opposite for you overseas folks).

I have a first working version (still some bugs to correct), but I'm interested to hear suggestions.
What do you thing? Would someone find it useful? Should I also implement conversion for other units?

Happy rides
Frenk


Top
 Profile  
 
 Post subject: WW Firefox extension
Posted: Fri Nov 03, 2006 4:09 pm 


Top
  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 4:35 pm 
Offline

Joined: Fri Oct 20, 2006 6:09 pm
Posts: 132
Location: The Netherlands
Great idea :!: it's usefull to have it in your toolbar just like the forecastfox extension.

an other sugestion is to use the converter on the WW-site :!: :?: (just an idea)

Alfie


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 4:38 pm 
Offline

Joined: Mon May 08, 2006 8:45 pm
Posts: 1452
good idea. In fact it's just a very small javascript function and it could be very easily embedded in the weight weenies website (just add the function in the page <head> and then add <body>)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 6:06 am 
Offline
User avatar

Joined: Sun May 14, 2006 2:46 am
Posts: 587
Location: Brisbane, QLD, Australia
Possibly a distance/speed conversion, Miles per hour to kilometers per hour. Great work regardless. :thumbup:

_________________
Shut up legs and do what I tell you!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 2:33 pm 
Offline

Joined: Tue Mar 21, 2006 12:56 am
Posts: 4907
Good idea frenk, actually I have had the same idea myself.

Are you familiar with the "Change" Firefox extension?
It does something similar to what you want but just with currency conversions instead of unit conversions.
You might find it useful for inspiration, maybe the two tools could even be integrated into one, so you could wither choose between currency conversion or diffferent unit conversions.
Check it out here: http://www.c-est-simple.com/change/

I use it all the time to convert between different currencies and it even automatically updates conversion rates on a daily basis.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 8:19 pm 
Offline
User avatar

Joined: Tue Nov 29, 2005 5:53 am
Posts: 476
Simple bookmarklet, see lbs2kg.

_________________
blogging at 29in.ch


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 5:01 pm 
Offline

Joined: Mon May 08, 2006 8:45 pm
Posts: 1452
collideous wrote:
Simple bookmarklet, see lbs2kg.


Hey that's about exactly the same regexp I came up with :D

I've had no time this week, maybe next week I'll finish the extension. I'll look at "change" also.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 8:49 pm 
Offline
User avatar

Joined: Thu Aug 05, 2004 5:07 pm
Posts: 162
Location: Black Forest, Germany
As a WW it is a duty to know some conversions. ;) :mrgreen:

kg -> lbs...../0,453
lbs -> kg.....*0,453

km/h -> mph...../1,609
mph -> km/h.....*1,609

Only complicated units like the body height are a bit more difficult. :?

So guys Image

BTW: nice idea!

_________________
SPIN gato
Cannondale Raven


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 12, 2006 2:01 pm 
Offline
Administrator
User avatar

Joined: Mon Jun 02, 2003 8:17 am
Posts: 6651
Location: Drenthe, Holland
If you click "HOME" you will see a converter button appearing in that same bar. Ok, maybe not as convenient as a FF extension, but helpfull indeed.

:thumbup:

_________________
'Tape was made to wrap your GF's gifts, NOT hold a freakin tire on.'

Follow me on twitter. I try to be interesting ;)
On Facebook!


Top
 Profile  
 
 Post subject: Re: WW Firefox extension
PostPosted: Mon Dec 04, 2006 12:47 am 
Offline

Joined: Tue Mar 21, 2006 12:56 am
Posts: 4907
frenk wrote:
To solve the problem I am writing a Firefox extension that automatically converts units.
The idea is to simply replace every occurrence of "xy lbs" with "xy lbs (zw kg)" in the complete text (and of course the opposite for you overseas folks).

A Firefox extension called "Converter" to convert between imperial and metric units already exists. I have recently installed it myself.
Check it out here:
http://converter.mozdev.org
https://addons.mozilla.org/firefox/2286/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 11:09 am 
Offline
User avatar

Joined: Thu Aug 05, 2004 7:33 am
Posts: 2436
Location: Europe
Frankie - B wrote:
If you click "HOME" you will see a converter button appearing in that same bar. Ok, maybe not as convenient as a FF extension, but helpfull indeed.


I use this one as well, very usefull :thumbup:
If you use Firefox and want to use the converter a lot you could always have it opened in another tab.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 5:56 pm 
Offline

Joined: Tue Mar 21, 2006 12:56 am
Posts: 4907
Boonen wrote:
Frankie - B wrote:
If you click "HOME" you will see a converter button appearing in that same bar. Ok, maybe not as convenient as a FF extension, but helpfull indeed.


I use this one as well, very usefull :thumbup:
If you use Firefox and want to use the converter a lot you could always have it opened in another tab.

It's much much easier to use the Coverter extension I linked to. I only takes two mouse clicks to convert all units on a website. You shouldtry it out, it's very easy to use.

I also like the "Change" currency converter extension.


Top
 Profile  
 
 Post subject:
Posted: Mon Dec 04, 2006 5:56 pm 


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

   Similar Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Road Drop Bar End Extension?

in Road

indywagon

11

691

Wed Mar 19, 2014 7:29 am

Frankie - B View the latest post

There are no new unread posts for this topic. valve extension quick question

[ Go to page: 1, 2 ]

in Everything wheels

mattjevans

16

617

Mon May 06, 2013 7:34 pm

mattjevans View the latest post

There are no new unread posts for this topic. Focus Izalco Extreme 2010 - ISP extension?

in Road

LiKuid

7

257

Tue Apr 08, 2014 8:53 pm

LiKuid View the latest post

There are no new unread posts for this topic. Garmin mount for oval shaped extension bars?

in Road

Bukes

2

337

Sat Dec 28, 2013 10:32 pm

Bukes View the latest post


It is currently Sat Apr 19, 2014 11:57 pm

All times are UTC + 1 hour




Advertising   –  FAQ   –  Contact   –  Convert   –  About

© Weight Weenies 2000-2013
hosted by starbike.com


How to get rid of these ads? Just register!


Powered by phpBB