[ic] TIPS AND TRICKS: Tree example

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Thu Nov 8 12:15:33 2001


DM> I noticed that the URL of the subcategories features
DM> *way* too many spaces (%20) in the URL as follows:

DM> http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s
DM> 
f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
DM> 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
DM> 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
DM> %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
DM> 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
DM> 0%3aTool%20Belts.html

I have seen this happen in files that contain windows style line feed 
characters. Try replaceing them with Unix style line feed characters.

Something like
        perl -pi -e 's/\015?\012/\n/g;' your_file.html
might work.

Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700