HTTrack Website Copier
Free software offline browser - FORUM
Subject: user-defined structure %[param:bef:aft:empt:notfd]
Author: Bandit
Date: 11/30/2009 05:34
 
> Hi, I found an old post in this forum
> <http://forum.httrack.com/readmsg/13714/10931/index.html>
> with an intriguing and very useful format for
> dynamically generated pages, [parameter:::]. 
> 
> I suppose many people around here know about it, but
> it's not in the standard documentation. Not in the
> help file, not in the program on the section on
> user-defined build options. Not even in the
> tutorial/guide for command-line use.
> <http://www.httrack.com/html/fcguide.html>

Agreed - this is noticeably absent in WinHTTrack, even with the F1
(context-sensitive) Help.  Once I became aware of this option:
  %[param] param variable in query string
I did a search and found detailed usage syntax here:
  <http://httrack.kauler.com/help/User-defined_structure>
[...]
%[param:before:after:empty:notfound] advanced variable extraction
  param : parameter name
  before : string to prepend if the parameter was found
  after : string to append if the parameter was found
  notfound : string replacement if the parameter could not be found
  empty : string replacement if the parameter was empty
all fields, except the first one (the parameter name), can be empty
[...]

LOL in fact, just about a day before you (Scarbrow) posted this, I posted a
case where using this feature was the only solution I could think of to help
with a certain mirror:
<http://forum.httrack.com/readmsg/22377/22374/index.html>

Very, VERY useful, indeed!
B^D

 
Reply Create subthread


All articles

Subject Author Date
Undocumented feature

11/26/2009 20:57
user-defined structure %[param:bef:aft:empt:notfd]

11/30/2009 05:34




d

Created with FORUM 2.0.11