Skip to content

Commit

Permalink
Merge branch 'master' of github.com:systopia/de.systopia.postcodeat
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Jun 19, 2017
2 parents 1f5a0b7 + f140bb3 commit bdfdd0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
CiviCRM extension for Austrian Postcodes

#### Provides autocomplete functions for Postcode, City, Street Address and State when Country=Austria.
#### Rearranges address fields so ZIP Code and City are displayed at the top.

Uses the XML zip file from Statistik Austria (http://www.statistik.at/verzeichnis/strassenliste/gemplzstr.zip)

## API Functions
PostcodeAT.Importstatistikaustria - supports auto-download from statistik austria and manual install with parameter "zipfile".
PostcodeAT.Get - main lookup function used by AJAX autocomplete.
PostcodeAT.Getatstate - lookup function for Austrian State from Postcode.

## Installation / Usage
**This extension will not look up any addresses until you execute the API function PostcodeAT.Importstatistikaustria and it has completed successfully.**
Normally this will retrieve all data automatically but if you do not have an internet connection on your server you will have to download the zip file manually and specify it's location using the parameter "zipfile" when you run the API function.
4 changes: 2 additions & 2 deletions info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<url desc="Main Extension Page">https://github.com/mattwire/de.systopia.postcodeat</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2017-05-27</releaseDate>
<version>1.0.alpha1</version>
<releaseDate>2017-06-08</releaseDate>
<version>1.0.alpha2</version>
<develStage>alpha</develStage>
<compatibility>
<ver>4.6</ver>
Expand Down

0 comments on commit bdfdd0f

Please sign in to comment.