HTTrack Website Copier
Free software offline browser - FORUM
Subject: This might work
Author: Bandit
Date: 12/03/2009 09:04
 
>>> How can I make the build look like EXAMPLE1 from EXAMPLE2?>>> EXAMPLE1:
index.php?showtopic=100&st=90
>>> EXAMPLE2: index.php?s=ghhkgkhdfskjghdfk&showtopic=100&st=90
>>> I have tried doing this, but no luck: %h%p/%n%[s:?s*&:?::].%t 
>>>
>> 
>> Don't know what you mean, but you can not have "?",
>> "*", or "&" in the replacement string(s) as those
>> are not valid characters in filenames
>> 
>> User-defined structure -
>> <http://httrack.kauler.com/help/User-defined_structure>
>>
> 
> I'm trying to make the forum to be all linked
> together through build because the always changing
> variable "s" (PHPSESSID) is in all the urls. 
> 

Hi!  I'm a little late but after playing around with this, I think I can help. 
Or at least give something to try if Purple Phoenix comes back a month after
asking.  lol

Actually, "&" can be used in Windows filenames.  I don't know that it works in
the HTT structure function.  May need to precede it with a \ or something...
maybe not.

But, if instead of "index.php?showtopic=100&st=90"
you'd settle for "index.showtopic#100.st#90.php"
this should work: %h%p/%n.%[showtopic:showtopic#:.::]%[st:st#:.::]%t
at least for all the pages that look like this:
index.php?s=ghhkgkhdfskjghdfk&showtopic=100&st=90

I know you cannot put a "?" or "*" in there.
I don't know what happens if you try using &'s and ='s :)
try: %h%p/%n.%t%[showtopic:#showtopic=:::]%[st:&st=:::].html
or: %h%p/%n%[showtopic:#showtopic=:::]%[st:&st=:::].%t
Btw, I believe that the filetypes (extensions) of the mirrored index.php's
will be .html...
...unless they're not.

Without doing this, the PHPSESSID should be irrelevant with default settings
because the query string would be replaced with an MD5 hash.  In other words,
the forum should be "all linked together" without any changes - unless I'm
missing something...

 
Reply Create subthread


All articles

Subject Author Date
Custom Build Question

11/01/2009 18:56
Re: Custom Build Question

11/01/2009 19:46
Re: Custom Build Question

11/01/2009 22:23
This might work

12/03/2009 09:04




1

Created with FORUM 2.0.11