Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 06:41 am EDT

Geeklog Forums

Search results, query variable, bug?


Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
When I search for some keywords, why are the links generated with an additional &query value? I know this is helpful for tracking but I don't see this type of information in the Top 10 of the stats page, so was this a potential feature that was never used? Maybe a highlighting feature? (or is that what it's used for and my css doesn't assign an alternate color?)

edit: additional question, see below
www.antisource.com
 Quote

Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
Quote by RickWFrownor is that what it's used for and my css doesn't assign an alternate color?)


Nevermind, already figured it out - I just looked at the source of one of these pages and that's exactly what it's used for... Embarassed
www.antisource.com
 Quote

Status: offline

RickW

Forum User
Full Member
Registered: 01/28/04
Posts: 240
Location:United States
New question about search results:

If I search for "spam", and click on one of the articles, I get this:

Spam King Struck Down in Court

But note the (now) highlighted "spam". Two of the words are supposed to be "spammers", but they show up as "spamers" (mispelled). If I remember correctly, that's how the article was originally posted and I had to correct the mistake. So does the search routine cache all of the searches?
www.antisource.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That may be a side-effect of the regexp that does the highlighting.

The search is always done on the current content of the story - there's no caching happening here.

bye, Dirk
 Quote

All times are EDT. The time is now 06:41 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content