Results 1 to 14 of 14
  1. #1
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    Chris,

    Sorry, nothing to with color but when I click on some (most) of your search tags I get a screen full of posts most of which do not have any apparent connection with the subject.

    Q1. Are those results frozen or is a fresh search done everytime I click ?

    Q2. Do I get the same results as you and everybody else, or is it somehow dependant on different settings ?

    Just curious really

    Andrew

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=34334&page=0&view =collapsed&sb=5>try here</A>


    I think the lousy results MIGHT be coming from my early days when I didn't read the Help17 file. I was coding {search}one or more words{/search} instead of {search}"one or more words"{/search}. The former did an inclusive-or search the latter does an exact phrase search.


    To be honest (which usually suggests that I WASN'T being honest up until now) I'm still finding my way with these things. Could be that months from now I'll be roundly cursed for the time-bombs I've planted in messages.

    My gut feel is that tagging posts with {search} now is going to reap a harvest, not a whirlwind.



    Could you please point me to a particular post? I could examine it and try to resolve the problem.



    >Q1. Are those results frozen or is a fresh search done everytime I click ?

    Fresh search (on Friday it's Fresh Perch) which is where I see the great value. Today I make the post with {search}something{/search} and today not much turns up. Six months from now the new user clicks on the search-tagged code and gets all the {somethings} that have been posted in the six months since my original posting.

    Doesn't that seem like great value? I can pre-seed the database with useful STUFF.



    >Q2. Do I get the same results as you and everybody else

    Excepting for the currency of the search, we all should see the same results.

    If you and I click on <A SEARCH=1 HREF="dosearch.pl?Forum=All_Forums&Match=Entire+Ph rase&Old=allposts&Words=search+tags">search tags[/url] at the same time we'll see the same results. If you click on <A SEARCH=1 HREF="dosearch.pl?Forum=All_Forums&Match=Entire+Ph rase&Old=allposts&Words=search+tags">search tags[/url] right now, and then click on <A SEARCH=1 HREF="dosearch.pl?Forum=All_Forums&Match=Entire+Ph rase&Old=allposts&Words=search+tags">search tags[/url] again three days from now you'll see an extra three days of results.



    I hope all that makes sense.

  3. #3
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    Chris, first post in this thread SEARCH TAG produces probably a few too many links. I noticed one about six down (by John BF) that did not seem to contain the word SEARCH nevermind SEARCH TAG.

    I am not complaining, just trying to help in your research.

    Andrew

  4. #4
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles, California, USA
    Posts
    1,734
    Thanks
    0
    Thanked 3 Times in 1 Post

    Re: Search tags - colour

    All the messing about you're doing is far more likely to put people off than encourage.
    <IMG SRC=http://www.wopr.com/w3tuserpics/Eileen_sig.gif>

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Search tags - colour

    OK. So I'm the only one madly in love with search tags. I suppose someone has to be a leader, he said, typing one ...


    Is there any way we could have a different colour for (Andrew) SEARCH TAG links, different from the hyperlink-blue used for URL TAGS?

    I've tried using <font color=4682b4>colour</font color=4682b4> tags around the search and <font+color=4682b4>colour</font+color=4682b4>">colour</fontcolor=4682b4>"><font color=4682b4>colour</font color=4682b4> tags within the search. The latter is more effective. Bolded is not bad.

    Bit of a pain in the neck to have to type them each time.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    http://www.wopr.com/cgi-bin/w3t/showthread...ms&Words=SEARCH TAG&Match=Or&Searchpage=0&Limit=25&Old=allposts&Ma in=34283


    That'd be this one. Hmm. I see the words "search" and "tags" in the hyperlink. I wonder ....



    I went back and sure enough, in that particular chunk I did NOT have the double-quotes around the phrase as Eileen suggests I do.

    I have edited the post and it now does not yield John F. If you go back and re-try the search tags with your name, Andrew, just before it, you should now get different results.

    Mind you, John F wasn't sixth on the list by the time I got back to it ....




    >I am not complaining, just trying to help in your research.

    And I know you're not, and you should know that you are, respectively.

    And respectfully!

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    I agree that my initial trials were incredibly muddy (although we did win a cool VBA function out of it today).

    I think that as I refine my tagging technique it ought to get better. I don't mind if you wipe out some of the worse examples either here or in the Test area. Alternatively point me to my worst offenders and I'll go back and clean them up.


    I would, however, like to see more discussion from a whole bunch of people on the likely utility of {search}. After all, the guys who wrote the code must've thought it had merit. I wonder if they have any tips'n'tricks documentation on the efficient use of {search} tags?

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Search tags - colour

    Eileen, I tried to create a search tag for the word "evil" and I got messages that contained the alt tag "devil" ( <img src=/S/devil.gif border=0 alt=devil width=15 height=15>). This seems weird. But the interactive search works this way, too. Is there a way to avoid doing a substring match? Substring matching could create problems finding terms embedded in very common terms, such as election or notes, or embedded in many words, such as API or COM. I think prefix matching is very, very helpful, and the convention of using an asterisk would probably be comfortable for most users.

  9. #9
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search tags - colour

    You're asking for "whole word" search, I think. I don't see it in the help files.

    Wrapping it in spaces may help. as in " evil ", but probably won't help as in " evil."

  10. #10
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles, California, USA
    Posts
    1,734
    Thanks
    0
    Thanked 3 Times in 1 Post

    Re: Search tags - colour

    Don't expect anything too sophisticated. It's a very simple search engine. I'll check with the author to see if any refinements are in the works...
    <IMG SRC=http://www.wopr.com/w3tuserpics/Eileen_sig.gif>

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Search tags - colour

    Thanks, Eileen. I don't know perl, but if it's a question of searching a huge chunk of text using Regular Expressions, it's something I would be interesting in looking at. I could mock it up in VBScript...

  12. #12
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles, California, USA
    Posts
    1,734
    Thanks
    0
    Thanked 3 Times in 1 Post

    Re: Search tags - colour

    It's more a matter of searching thousands of smaller chunks of text. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    I don't do VBScript - how's about JavaScript?
    <IMG SRC=http://www.wopr.com/w3tuserpics/Eileen_sig.gif>

  13. #13
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Search tags - colour

    I'm not so conversant with JavaScript either, but actually, it turns out to be relatively simple if you are using Perl regular expressions. To limit matches to prefixes, preface the text to be searched with b (lower case only), which indicates a "word boundary." This should exclude a lot of the fluff. Can it be done? I have attached a silly VBA example (IE 5.x must be installed).
    Attached Files Attached Files

  14. #14
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles, California, USA
    Posts
    1,734
    Thanks
    0
    Thanked 3 Times in 1 Post

    Re: Search tags - colour

    Um. That looks easy enough. I should be able to make use of:

    'find pea as prefix
    lngPrefix = WildPatternCount(Selection.Text, "bpea")
    'find pea as word
    lngWord = WildPatternCount(Selection.Text, "bpeab")

    in the dosearch.pl script.
    <IMG SRC=http://www.wopr.com/w3tuserpics/Eileen_sig.gif>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •