SC4 Devotion Forum Archives

SC4Evermore Welcome Portal => SC4Evermore Site Goings-on => Topic started by: Jonathan on March 10, 2009, 03:17:50 PM

Title: LEX Keyword Search
Post by: Jonathan on March 10, 2009, 03:17:50 PM
Would it be possible to add a LEX keyword search to the search page?
all it would have to be is a textbox (and a separate button if easier) that runs a script that will open a google page that searches for "site:http://sc4devotion.com/csxlex/", and the script appends the contents of the textbox to the end of the search.

It would be better than the no keyword search we have at the moment.

I had a grease monkey script that did this but know with the new checkbox and alphabetical creators(thanks sooo much for that) it doesn't work

Jonathan
Title: Re: LEX Keyword Search
Post by: callagrafx on March 10, 2009, 03:21:27 PM
Hi Jonathon, we've asked Colyn to take a look at it, but reality is biting hard for him in ZA, so no promises I'm afraid.
Title: Re: LEX Keyword Search
Post by: Pat on March 10, 2009, 03:53:01 PM
I do have to honestly give a kudos who ever re arranged the creators search list to be alphabetized...
Title: Re: LEX Keyword Search
Post by: BarbyW on March 10, 2009, 03:57:28 PM
You can thank Jeroni for that, Pat.
Title: Re: LEX Keyword Search
Post by: Pat on March 10, 2009, 06:59:57 PM
Ahhh sweet KOOOL Thank you Jeroni for doing that!!!!



(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg6.imageshack.us%2Fimg6%2F4884%2Fthankyou04.jpg&hash=3775eee52c6e9c8f4876a47d9418b452bc5c1923)
Title: Re: LEX Keyword Search
Post by: meinhosen on March 10, 2009, 07:10:23 PM
Quote from: Pat on March 10, 2009, 03:53:01 PM
I do have to honestly give a kudos who ever re arranged the creators search list to be alphabetized...
Quote from: BarbyW on March 10, 2009, 03:57:28 PM
You can thank Jeroni for that, Pat.

Yes, I quite agree, that was well done; thank you Jeroni!  The addition of the "exclude locked files" checkbox deserves a round of applause, too. 
Title: Re: LEX Keyword Search
Post by: Jonathan on March 11, 2009, 12:34:51 PM
Thanks Jeronij very much for the checkbox and the Alphabetication :thumbsup:
I understand about Colyn, hopefully RL will get clearer for him
btw, how was the checkbox added then?

Jonathan

Title: Re: LEX Keyword Search
Post by: Sartoris on April 14, 2009, 10:13:42 PM
If Colyn didn't have any issues with it, I am sure I could hack together a search function for you. I do asp.net development at work, but I should know enough php to get the job done.
Title: Re: LEX Keyword Search
Post by: Jonathan on April 15, 2009, 12:14:46 AM
Jeroni, couldn't you just modify the google custom search at the top of forums only search the LEX?
Because at the moment it searches the entire internet, which is very pointless, as the actual google is there to do that.

Or if you can add a checkbox to include locked items, can't you add a textbox that will do a search using google (not custom search) with "site:www.sc4devotion.com/csxlex" prefixed in the search?

Jonathan
Title: Re: LEX Keyword Search
Post by: jeronij on April 17, 2009, 08:22:28 AM
Quote from: Jonathan on April 15, 2009, 12:14:46 AM
Jeroni, couldn't you just modify the google custom search at the top of forums only search the LEX?
Because at the moment it searches the entire internet, which is very pointless, as the actual google is there to do that.

Or if you can add a checkbox to include locked items, can't you add a textbox that will do a search using google (not custom search) with "site:www.sc4devotion.com/csxlex" prefixed in the search?

Jonathan

Please, dont press me  ::)  $%Grinno$% ¡¡¡ I am a family man ...  ;)

I'll have a look into this during the weekend... I think it may work  ;D
Title: Re: LEX Keyword Search
Post by: jeronij on April 17, 2009, 11:50:55 AM
BUMP¡¡  -->  You may want to give it a try now  ;D
Title: Re: LEX Keyword Search
Post by: Jonathan on April 17, 2009, 12:24:58 PM
Very nice, not meaning to be ungrateful,
but I tried using google CSE and it wouldn't search in the page titles? So a lot less results come up for some reason, even though the lot title is on the page as well.
Try searching normal google for
"site:sc4devotion.com/csxlex power"(88 results)
and
search power in the CSE box on the LEX.(4 results)

But it's a step in the right direction, thanks very much!!!!! No matter how my part of this post above sounds it's much better to have this search than none at all. :thumbsup:

Jonathan
Title: Re: LEX Keyword Search
Post by: jeronij on April 17, 2009, 12:53:50 PM
Well, I cant control the way the CSE works internally. If you can tell me the way to solve this, I'd really appreciate it.
Title: Re: LEX Keyword Search
Post by: Jonathan on April 17, 2009, 01:15:26 PM
I have loked for one but can't find it, only found people trying to turn off searching in the page titles, so there must be an option somewhere, or maybe it's the way the LEX is made(as in there's not an individual page for each lot is there, a template page and then the info is brought onto that or something)?

Jonathan


Title: Re: LEX Keyword Search
Post by: Sartoris on April 17, 2009, 09:37:20 PM
Very nice jeronij! Now I can actually find stuff if I don't know the author. :thumbsup:
I just wish it showed the thumbnails. Can't make google do that unfortunately.
Title: Re: LEX Keyword Search
Post by: jeronij on April 17, 2009, 10:43:49 PM
The LEX pages are created on the fly. They do not exist elsewhere besides in a database. I dont think Google can index databases.... yet... but perhaps a site map tool could help to create an index for it... I'll try to investigate further.
Title: Re: LEX Keyword Search
Post by: mike3775 on April 19, 2009, 05:42:07 AM
Quote from: jeronij on April 17, 2009, 11:50:55 AM
BUMP¡¡  -->  You may want to give it a try now  ;D

You did a great job on it.  I just did a search for a lot that I could not remember who made it, and only remembered the name and it found it. 

Thank you so much for this new feature

Mike
Title: Re: LEX Keyword Search
Post by: Jonathan on April 19, 2009, 05:52:30 AM
It seems to search the titles with keywords other than "power" :)

Thanks again  :thumbsup:
Jonathan