At 11:34 AM -0500 12/4/99, Tom Metro wrote:
>            url_part_aliases:
>                        http://search.example.com/~htdig *site \
>                        http://www.htdig.org/this/ *1 \
>                        .html *2
>            url_part_aliases:
>                        http://www.htdig.org/ *site \
>                        http://www.htdig.org/that/ *1 \
>                        .htm *2
>
>
>Doesn't the example here illustrate url_part_aliases being used as a
>means of compression (perhaps a legacy function superseded by
>common_url_parts) rather than as "an easy way to rename parts of
>URLs?"

No. Actually the two options use the same code and were implemented 
at the same time. Granted, the example *does* compress the stored 
URLs some, but this is a nice side-effect. :-)

In fact, you could probably look at common_url_parts as a 
less-flexible form of url_part_aliases. It picks the tokens stored in 
the database for you (though it does it very intelligently) and 
doesn't really let you rename parts since they should go back to the 
same strings on "decompression."

-Geoff


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to