[ic] capture_page cgi

Sam Batschelet sbatschelet at mac.com
Wed Mar 23 00:20:31 UTC 2011

capture_page is a nice tool for generating static pages.  I use the scan feature of the tag to create static pages with search results.  To customize the static page creation I would like to pass cgi variables during the page creation.  For example I currently use something like:

[capture-page page="results.html" file="pages/static/foo_bar.html" umask="002" hide=1 scan="fi=products/st=db/co=1/sf=prod_group/se=foo/op=rm/nu=0/sf=category/se=bar/op=rm/nu=0/ml=50/tf=price/to=nr"]

Could the functionality of this tag be expanded to allow cgi variable injection into the static page creation?

[capture-page page="results.html" file="pages/static/foo_bar.html" umask="002" hide=1 scan="fi=products/st=db/co=1/sf=prod_group/se=foo/op=rm/nu=0/sf=category/se=bar/op=rm/nu=0/ml=50/tf=price/to=nr" cgi="foo_var=1&bar_var=2"]

Seems like it could I'm not a perl expert and would be willing to pay for the customization if possible.  Thanks in advance.


More information about the interchange-users mailing list