Postal Code Range Searches
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
The ZIP code range switch enables searching by distance amongst address-related items. It simply asks the user how many files from a specified zip code they wish to see results for.
When you activate the switch, you'll be presented with a screen on which you can load data for various countries. You'll need to load it for any countries you want to be range-searchable. Note this can take up a lot of database space.
The data available only covers a few countries. If you've located a database for your country which contains the latitude and longitude for every postal code, contact support to discuss integrating it.
The range searching options will automatically appear. There are two alternative use scenarios worth covering, though. Showing all listings within a range, without any search term:
And finding all listings within a range (no search term) inside a particular category:
When you activate the switch, you'll be presented with a screen on which you can load data for various countries. You'll need to load it for any countries you want to be range-searchable. Note this can take up a lot of database space.
The data available only covers a few countries. If you've located a database for your country which contains the latitude and longitude for every postal code, contact support to discuss integrating it.
The range searching options will automatically appear. There are two alternative use scenarios worth covering, though. Showing all listings within a range, without any search term:
<form action="http://scripts.webmastersite.net/wsnkb/manual/search.php?action=filter&filled=1&whichtype=links" method="post">
Find listings within <input type="text" name="zipmiles" size="1" /> {DISTANCEMIKM} of postal code <input name="zipsource" type="text" value="" size="5" />
<input type="submit" value="Go" class="button" />
</form>
And finding all listings within a range (no search term) inside a particular category:
<form action="http://scripts.webmastersite.net/wsnkb/manual/search.php?action=filter&filled=1&whichtype=links" method="post">
Find listings in category <input type="hidden" name="catidcondition" value="="/>
<select name="catidsearch">{CATOPTIONS}</select>
within <input type="text" name="zipmiles" size="1" /> {DISTANCEMIKM} of postal code <input name="zipsource" type="text" value="" size="5" />
<input type="submit" value="Go" class="button" />
</form>
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 04/24/08 (Edited 08/08/08)
Description: Searching for items within a distance of a zip code aka postal code.
Views:
87 views. Averaging 0 per day.
In the most recent 30 day period, there've been 7 views.

Print
E-Mail