On Thu, Oct 28, 2004 at 12:18:35PM -0700, Bill Conlon wrote:
> Given a url such as:
>
> http://domain.com/appfile.ext?_uid1=999
>
> I want to store the number 999 in the index.
Look at man SWISH-CONFIG. I didn't try this, but something like:
ExtractPath uid1 regex !^.+uid1=(\d+)$!$1!
>
> So I set up spider.config:
>
> PropertyNames uid1
> ExtractPath uid1 remove "http://domain.com/appfile.ext"
> ExtractPath uid1 remove uid1=
>
> First ExtractPath gives ?_uid1=999
> Second ExtractPat gives ?_999
>
> How do I remove ?_
>
> thx
>
>
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Thu Oct 28 12:23:07 2004