named: [pagetarget href=``dir/page'' target=``frame'' arg=``argument'']
positional: [pagetarget pg frame arg*]
Same as the page element above, except it specifies an output frame to
target if frames are turned on. The name is case-sensitive, and if it doesn't exist a new window will be popped up.
This is the same as the [page ...] tag if frames are not activated. For
example, [pagetarget shirts main] will expand into a link like <a href=``http://machine.company.com/cgi-bin/vlink/shirts?WehUkATn;;1''
TARGET=``main''>. The catalog page displayed will come from shirts.html
in the pages directory, and be output to the main
frame. Be careful, frame names are case-sensitive.
MiniVend allows you to pass a search in a
URL. Just specify the search with the special page
reference scan
. Here is an example:
[page scan se=Impressionists sf=category] Impressionist Paintings [/page]
Here is the same thing from a home page (assuming /cgi-bin/vlink is the CGI path for MiniVend's vlink):
<A HREF="/cgi-bin/vlink/scan/se=Impressionists/sf=category"> Impressionist Paintings </A>
The two-letter abbreviations are mapped with these letters:
DL mv_raw_dict_look MM mv_more_matches SE mv_raw_searchspec ac mv_all_chars bd mv_base_directory bs mv_begin_string co mv_coordinate cs mv_case de mv_dict_end df mv_dict_fold di mv_dict_limit dl mv_dict_look do mv_dict_order dp mv_delay_page dr mv_record_delim em mv_exact_match er mv_spelling_errors fi mv_search_file fm mv_first_match fn mv_field_names hs mv_head_skip id mv_index_delim lr mv_line_return ml mv_matchlimit mm mv_max_matches mp mv_profile ms mv_min_string ne mv_negate nu mv_numeric op mv_column_op os mv_orsearch ra mv_return_all rd mv_return_delim rf mv_return_fields rg mv_range_alpha rl mv_range_look rm mv_range_min rn mv_return_file_name rs mv_return_spec rx mv_range_max se mv_searchspec sf mv_search_field sp mv_search_page sq mv_sql_query st mv_searchtype su mv_substring_match tc mv_sort_command tf mv_sort_field to mv_sort_option ty mv_sort_crippled
They can be treated just the same as form variables on the page, except that they can't contain spaces, '/' in a file name, or quote marks. These characters can be used in
URL hex encoding, i.e. %20
is a space, %2F
is a
/
, etc. -- &sp;
or  
will not be recognized. If you use one of the methods below to escape these
``unsafe'' characters, you won't have to worry about this.
Beginning in MiniVend 3.08, you may specify a one-click search in three different ways. The first is as used in previous versions, with the scan
URL being specified completely as the page name. The second two use the ``argument'' parameter to the
[page ...]
or [area ...]
tags to specify the search (an argument to a scan is never valid anyway).
[page scan se=Surreal/se=Gogh/os=yes/su=yes/sf=artist/sf=category] Van Gogh -- compare to surrealists [/page]
In this method of specification, to replace a / (slash) in a file name (for the sp, bd, or fi parameter) you must use the shorthand of ::, i.e. sp=results::standard. (This may not work for some browsers, so you should probably either put the page in the main pages directory or define the page in a search profile.)
[page scan se="Van Gogh"&sp=lists/surreal&os=yes&su=yes&sf=artist&sf=category] Van Gogh -- compare to surrealists [/page]
Any ``unsafe'' characters will be escaped.
[page scan se="Van Gogh" sp=lists/surreal os=yes su=yes sf=artist sf=category ] Van Gogh -- compare to surrealists [/page]
Any ``unsafe'' characters will be escaped. You may not search for trailing spaces in this method; it is allowed in the other notations.
New syntax and old syntax handle the tags the same, though if by some odd
chance you wanted to be able to search for a ]
(right square bracket) you would need to use new syntax.
The optional arg is used just as in the page tag.