MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Beyond Remembering mv_searchspec



******    message to minivend-users from mikeh@minivend.com     ******

Quoting Thompson-Jordan (Thompson-Jordan@mindspring.com):
> 
> I understand how to use either standard Minivend or Perl to assign the
> values of vars like mv_search_field into my variables (see below). But if
> the values are null, there is no use in saving them. It makes sense that
> Minivend clears them. But, is there a way to access these mv_ vars after a
> search.

Not really. Since there can be multiple searches in a page, and
many,many searches in a session, this would conceivably require storing
a lot of search objects.

> 
> As Frank correctly points out, [more-list] generates these searches. The URL
> generated by [more-list] looks like:
> 
> www.mysite.com/cgi-bin/vlink/scan/MM=29b28b7c7f0d4372b53eba:50:99:50:?ABxz5m
> y3;;42
> 
> It looks like the search information is stuffed in the first parameter of
> the mv_max_matches parameter (which might explain why some people have had
> problems using mv_max_matches).

MM is "mv_more_matches", mm is mv_max_matches. As Frank pointed out previously,
mv_max_matches only applies to Glimpse. mv_matchlimit is the proper thing
to set to limit search return.

> However most of my pages don't have more
> items than will fit on a page, hence no more-list. Any ideas on how to get
> to this information?
> 

If you generated the search parameters, you should be able
to recreate them. 8-)

[set last_search]
    se=whatever
    sf=whatever
    sp=whatever
[/set]

    <A HREF="[area
                href=scan
                arg="[last_search]"
            ]">Last search</A>

I will consider adding an option to save the search object even
if no overflow condition is present. In fact, I thought I was doing
that; but I guess I decided not to since the number of files created
in the tmp/ directory could be very large.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Few blame themselves until they     131 Willow Lane, Floor 2  | ||  _ \
have exhausted all other            Oxford, OH  45056         | || |_) |
possibilities.                      <mikeh@minivend.com>     |___|  _ <
 -- anonymous                       513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: