Open source ?
When will it be ?
Source
Re: Source
We're not closed source. Everything is written in JavaScript, so feel free to poke around in the code all you want. XPIs are just glorified ZIPs, with a JAR (i.e. another ZIP) inside. There's already a couple mods out there. (someone made a Seamonkey port at some point)
Flagfox has no license at this point. It's not exactly a complex piece of software. I should just throw a variant of the MIT or BSD license in there, but none of us ever bothered.
Flagfox has no license at this point. It's not exactly a complex piece of software. I should just throw a variant of the MIT or BSD license in there, but none of us ever bothered.
Re: Source
Clear
As there is no "public" visible sources, i thought it was protected or something.
I was just wondering about adapting the code to integrate it inside a forum.
As there is no "public" visible sources, i thought it was protected or something.
I was just wondering about adapting the code to integrate it inside a forum.
Re: Source
If you're looking at implementing Geolocation into a forum or any other website, you may also want to have a look at the Maxmind website.
They have free geolocation databases, such as
GeoLite Country (used in a modified format in Flagfox) and GeoLity City (used in Geotool).
They also provide APIs for several languages: http://www.maxmind.com/app/api
Richard
They have free geolocation databases, such as
GeoLite Country (used in a modified format in Flagfox) and GeoLity City (used in Geotool).
They also provide APIs for several languages: http://www.maxmind.com/app/api
Richard
Re: Source
It's not hidden or anything. You just have to know how to get at it.
In fact, with the exception of binary blobs in some larger extensions, you can root around in the code of most add-ons rather easily.
If and only if you have Flagfox installed, you can dump any of the following lines into your address bar to view the source directly:
chrome://flagfox/content/flagfox.js
chrome://flagfox/content/ipdb.js
chrome://flagfox/content/context.js
If you're using Firefox 3.0, you can even do this:
view-source:chrome://flagfox/content/overlay.xul
(Firefox 2 doesn't seem to want to show it correctly)
You can do this with any extension files, if you know where they are.
chrome://flagfox/content/logo-large.png
chrome://flagfox/content/icons/flagset1/us.png
I'd have put in direct links, but this forum doesn't like chrome URIs.
I don't know of a direct way to get a directory listing off-hand, but these steps worked fine for me:
1) Enter this into the address bar: chrome://flagfox/content/
2) You will be redirected to a long URL inside the JAR, which should come up as an error.
3) Remove "flagfox.xul" from the end of the URL and hit GO again.
4) You should now be at a directory listing for jar:file:///<path to your profile>/extensions/{1018e4d6-728f-4b20-ad56-37578a4de76b}/chrome/flagfox.jar!/content/flagfox/
(assuming Firefox 3 for the above)
Just downloading the XPI and unzipping is really the best way to go, though.
In fact, with the exception of binary blobs in some larger extensions, you can root around in the code of most add-ons rather easily.
If and only if you have Flagfox installed, you can dump any of the following lines into your address bar to view the source directly:
chrome://flagfox/content/flagfox.js
chrome://flagfox/content/ipdb.js
chrome://flagfox/content/context.js
If you're using Firefox 3.0, you can even do this:
view-source:chrome://flagfox/content/overlay.xul
(Firefox 2 doesn't seem to want to show it correctly)
You can do this with any extension files, if you know where they are.
chrome://flagfox/content/logo-large.png
chrome://flagfox/content/icons/flagset1/us.png
I'd have put in direct links, but this forum doesn't like chrome URIs.
I don't know of a direct way to get a directory listing off-hand, but these steps worked fine for me:
1) Enter this into the address bar: chrome://flagfox/content/
2) You will be redirected to a long URL inside the JAR, which should come up as an error.
3) Remove "flagfox.xul" from the end of the URL and hit GO again.
4) You should now be at a directory listing for jar:file:///<path to your profile>/extensions/{1018e4d6-728f-4b20-ad56-37578a4de76b}/chrome/flagfox.jar!/content/flagfox/
(assuming Firefox 3 for the above)
Just downloading the XPI and unzipping is really the best way to go, though.
Re: Source
Thank you for the informations and for the api's http://www.maxmind.com/app/php
I will have a deep look in it
I will have a deep look in it