Continents API
giorgio79 - May 6, 2008 - 09:44
| Project: | Country codes API |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Wim Leers |
| Status: | closed |
Description
How about adding continents to it? :)
There has already been some work done
http://drupal.org/node/161792

#1
I do think this would be a nice addition to the countries_api. However, if it is to be included, I think that
a) more information should be provided about the continents (at least a name to go with the two letter code)
b) it should be provided as a countries_api sub module, as this is not core to the api that the module aims to provide, and many people would not want the additional functionality and overhead.
#2
I needed this, so I just wrote it. Based my code on countries_api and regions_api of course.
Since CVS is unable to create patches for new directories AFAIK, I'm just attaching a patch rolled through SVN. Should work just as well. Will be using this in production at http://driverpacks.net in a couple of hours.
Also attaching a .zip just in case.
#3
Oops, accidentally picked the wrong status. Sorry about that.
#4
It's been in use for almost a month now and no issues so far — it is an extremely simple module after all.
Any chance this gets committed some time soon?
#5
I'll make this happen over the weekend. Thanks for your contribution.
#6
commited to cvs and backported to the 5.x branch. Thanks
#7
Automatically closed -- issue fixed for 2 weeks with no activity.