URL Substitutes problem

Author Message
John.Tai 07/13/2005 09:57 am
I had tried some many different setting of URL Substitutes, but no one working :(

the case is that

i`d like to download a site index page and some of links in that page. the url fliters works great . but all hrefs in the page are relative URLs , such as

?id=guest&pass=none&sortKey=title&sortOrder=asc&view=&g=&catid=&s=1&itemid=12345/no1sec2

?id=guest&pass=none&sortKey=title&sortOrder=asc&view=&g=&catid=&s=1&itemid=12345/no1sec3

and without URL Substitutes all the files stroed in my folder are not the html file, their name is the exactly value of the hrefs without their extnames ".html".

and now i`d like to use URL Substitutes to rename all the filename like " no1sec2.html ", " no1sec3.html " and also the links in these files.

i had tried this setting of URL Substitutes

a. (no use)
URL : ***itemid=**/*
replace: ***itemid=**/
with: (empty)

b. (no use)
URL: http://***itemid=**/*
replace: ***itemid=**/
with: (empty)

Please help me , Oleg , and i had searched this user forums. i found that there were some more variables in the URL Substitutes such as "$" "AND" , which are not listed in the help manual, could you give me a little explain? Thank you very much

Sincerely
John.Tai
Oleg Chernavin 07/13/2005 04:27 pm
Please try the following rule:

URL:
?*/
Replace:
$
With:
.htm

Add another rule there and allow all rules to execute:
URL:
*
Replace:
?*/
With:
<empty>

Best regards,
Oleg Chernavin
MP Staff
John.Tai 07/14/2005 01:17 am
> Please try the following rule:
>
> URL:
> ?*/
> Replace:
> $
> With:
> .htm
>
> Add another rule there and allow all rules to execute:
> URL:
> *
> Replace:
> ?*/
> With:
> <empty>
>
> Best regards,
> Oleg Chernavin
> MP Staff
>

Thanks Oleg, I will try these setting later today,
BTW, would u plz tell me the "?" "$" what`s their usage?
Oleg Chernavin 07/14/2005 03:11 am
? is the symbol inside the URL, $ means the URL ending.

Oleg.