[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Using your mv_searchspec values in the search results page.
****** message to minivend-users from mikeh@minivend.com ******
Quoting Matthew Healy (mhealy@senojweb.com.au):
>
> How do you go about displaying the search keywords of a user defined search
> in the search results page?
>
> Is this possible?
>
> Could someone tell me if there is any other documentation other than the
> HTML pages offered at the minivend site. Something which goes into how all
> the individual tags and form field work and how they are used.
I don't know how am I supposed to take slams on the docs seriously when
I can type in "mv_searchspec" at the search box on the front-page
of minivend.com (certainly the form field in question) and get
as the first entry returned:
-----
[value-extended ...]
named: [value-extended
name=formfield
outfile=filename*
ascii=1*
yes="Yes"*
no="No"*
joiner="char|string"*
test="isfile|length|defined"*
index="N|N..N|*"
file_contents=1*
elements=1*]
positional: [value-extended name]
HTML examples:
No match found for <PARAM MV="value-extended"
MV.JOINER=" and "
MV.NAME=mv_searchspec>
<INPUT TYPE="text" NAME="mv_searchspec"
VALUE="[value-extended name=mv_searchspec index=0]">
<INPUT TYPE="text" NAME="mv_searchspec"
VALUE="[value-extended name=mv_searchspec index=1]">
-----
I believe four of the first six returns are also on point. I haven't
even tried the power search now; with this type of hit on the quick
search I don't know why anyone would bother.
Is it too much of a jump to try a [value-extended mv_searchspec] from this?
I believe there is also an example of this, using [value mv_searchspec],
in the demo results page as well as mv_searchspec being mentioned in
the first two paragraphs of "The Search Form".
< RANT TARGET=no_one_specific >
Windows and Macs have done us all a disservice by discouraging interaction
with multiple documents. Running a "grep" or word find both the docs
and the collected demo pages with at least a couple of different keywords
should be a pre-requisite to posting to this mail list or any similar
forum.
If there are any vi lovers out there, try this little script I use
all of the time:
#!/bin/sh
if test -z $1
then
echo usage: vg string
exit
fi
if test "no$1" = "no-g"
then
shift
CMD=gvim
else
CMD=vi
fi
name='-type f'
if test -z "$2"
then
$CMD +/$1/ `find . $name -print -follow | egrep -v '\.swp|RCS/' | sort| xargs grep -l $1`
else
$CMD +/$1/ `find . $name -print | grep -v $2 |sort| xargs grep -l $1`
fi
Careful when you do this; you might end up like me and post about 3
questions a year. I am counting in that three my interactions with many
major Internet software packages, 2 programming languages, X, and the
4 different UNIX operating systems I routinely work with. My questions
rarely get answered either; and not because they are FAQs.
If you don't have the tools locally then you should use the
ones provided. In many cases, I believe they will work well when
used with a modicum of diligence. If they don't, then you post.
I am certainly not expecting everyone to have my 15 years of UNIX
experience, but I don't think it takes that to type in a few words
in a search box and click on (and read!) the resulting links.
I will try and learn from this; people look one place and give up, and I
guess I ought to know that. If every single thing isn't in the specific
section "The Results Page" (or whereever someone divines as the first
place to look) it simply won't be found. I don't think this is how it
ought to be but then I guess God didn't consult me when the blueprint
was made for imperfect humans....
< /RANT >
...like me. Sorry for the rant. 8-\
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 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