[ic] An updated USPS.TXT file?

Paul Jordan paul at gishnetwork.com
Thu Aug 2 23:55:53 EDT 2007


interchange-users-bounces at icdevgroup.org wrote:
> On Aug 2, 2007, at 3:15 PM, Paul Jordan wrote:
> 
>> I am wondering if anyone has an updated usps.txt file (countries
>> listing & rate zones). The one shipping in the 5.2 seems to be old.
>> Am I to understand that this need to be compiled by hand, or does
>> someone have a magic file somewhere?
>> 
>> Obviously if there is not one, I'll have to do it, but wanted to
>> check first. 
>> 
>> http://pe.usps.gov/text/pub51/pub51cl.html#vnameref_38
>> 
>> That is the fresh data, but as you can see, there are no country
>> codes.
> 
> I use the usps_query tag, rather than mess with zone files. I can
> share a USPS-compatible country.txt if you want it.

I was just looking at the tag actually. I was wondering how stable it was. 

I seem to remember having to have added/changed some country naming, and I
remember not liking the fact that I was doing that. Wouldn't it make more
sense to have a mapping variable for substituting that stuff in the tag
itself, ie, GB => UK, EI => IE or whatever happens to be appropriate,
instead of adding/changing and possibly duplicating rows in country.txt?
This way if something in IC is passed to the tag it can say "Oh, I need to
substitute this for the USPS call".


Paul 



More information about the interchange-users mailing list