topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 6:23 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: FreeThesaurus.net - new official DC web service, is now up and running!  (Read 36870 times)

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #25 on: September 07, 2007, 07:15 AM »
@Carol: I'm not yet skilled in javascript scripting :-[, perhaps there was some hidden bug in my ajax scripts. If so, I hope someone will point it out here for me to fix.

ak_

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 223
    • View Profile
    • wopah
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #26 on: September 07, 2007, 08:09 AM »
Christian  a. (3c): decent, civilized.  ;)

Tell that to victims of the crusades (or George Bush/Tony Blair) ...
Ahah :-*

Ok enough with the off-topic posts, sorry.

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #27 on: September 07, 2007, 09:18 AM »
Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #28 on: September 07, 2007, 09:31 AM »
Wordzilla, my skills are worst than yours in JavaScript, but it seems to me that the Ajax part is trapped in a loop under Firefox, as it tries to show the yellow box, but it can get the data. The browser slows and the antivirus icons is spinning like mad. Opera and Internet Explorer don't show this problem, so maybe it's a Firefox bug?

Bug reporting aside, great work! :Thmbsup:

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #29 on: September 07, 2007, 09:36 AM »
Glad it isn't just me - I was beginning to think it must be an issue with a Firefox addin.

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #30 on: September 07, 2007, 09:41 AM »
Hmm.  I use Firefox and all works as expected.

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #31 on: September 07, 2007, 09:49 AM »
@Lashiec, Carol:

I just modified and uploaded the ajax script, in which I removed the part that tell it to "retry on failure" (probably very dumb idea :P).

I'm not sure if the yellow definition panel will display for you guys but it now shouldn't slow down/freeze your browser.

I have two independent firefox 2.0.0.6 here, one works (with firebug turned on), one doesn't. :( :-\

Please post here if you have any problem with the live suggest/dictionary features, I'll fix asap.  :Thmbsup:

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #32 on: September 07, 2007, 09:52 AM »
That seems to have cured the slow downs for me - no yellow pop ups though in FF.

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #33 on: September 07, 2007, 09:56 AM »
Yup, fixed now, at least the browser don't go berserk. The panel is not appearing, anyway ;D. So Opera FTW! (is not that I was using Firefox anyway... ;))

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #34 on: September 07, 2007, 12:39 PM »
Ok just updated the script again, seems to me that the bug has been fixed.

It turned out that I was caught by a Firefox bug/nonconformance, as described here :wallbash::

http://lukav.com/wor...ronos-calls-problem/
https://bugzilla.moz...ow_bug.cgi?id=313646

And interestingly, people who have Firebug installed are not affected: :-\
http://lukav.com/wor...ronos-calls-problem/


Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #35 on: September 07, 2007, 12:53 PM »
Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.

Well I coded it from scratch (inspired by an ajax script published in the book Ajax for Dummies)

This is the javascript that handles live suggest requests:
http://freethesaurus.net/suggest.js

Database backend (which outputs one word/phrase each line, with \n as separator, simple stuff):
http://freethesaurus...t/suggest.php?q=xxxx

Inline javascript:
<input type="text" value="" id="q" name="q" size="35" onkeyup="sd()" onclick="sd()" onblur="rh()" autocomplete="off"/>


The entry function in suggest.js delays ajax action for 250 milliseconds to accommodate fast typers:
var TimerId = 0;

function sd(){
      clearTimeout(TimerId);
      TimerId = setTimeout("getSuggest()",250);
}

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #36 on: September 07, 2007, 01:27 PM »
That seems to have got it - well done ;)

It's all a learning curve  :Thmbsup:

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #37 on: September 07, 2007, 01:33 PM »
Another 'bug' - don't know how you can fix this one ...

If a definition is a long one the pop up box is too narrow to display the whole definition. Try hovering over "good" to see what I mean.

AFAICS the only way to solve this would be to allow the mouse to enter the yellow box (currently it disappears if you move the mouse) and include a scroll bar. A workaround would be to make the yellow box quite a bit wider so that more will fit on screen.

Some of the synonyms for good are a bit over the top (and not really synonyms as far as I can see).

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #38 on: September 07, 2007, 03:16 PM »
Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.

Well I coded it from scratch (inspired by an ajax script published in the book Ajax for Dummies)


Good stuff.  Would I be able to use what you have done on my website (another free service)? - I will find a place to give you credit of course...

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #39 on: September 07, 2007, 05:46 PM »
Sure Veign, feel absolutely free to use my code in any way you like. :)

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #40 on: September 07, 2007, 05:49 PM »
Another 'bug' - don't know how you can fix this one ...

If a definition is a long one the pop up box is too narrow to display the whole definition. Try hovering over "good" to see what I mean.

AFAICS the only way to solve this would be to allow the mouse to enter the yellow box (currently it disappears if you move the mouse) and include a scroll bar. A workaround would be to make the yellow box quite a bit wider so that more will fit on screen.

Some of the synonyms for good are a bit over the top (and not really synonyms as far as I can see).

Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? 8)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #41 on: September 07, 2007, 06:46 PM »
Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? 8)
Amazing!!! Beautiful, i must say. Too bad it won't work under opera  :(

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #42 on: September 07, 2007, 06:53 PM »
Hmm, I've tested it on Firefox 2.0.0.6, IE 7, Opera 9.23, and Safari 3 here and Lashiec just confirmed it to work on Opera. Grrrrrh, browsers, browsers..

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: FreeThesaurus.net - new official DC web service, is now up and running!
« Reply #43 on: September 07, 2007, 06:55 PM »
Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? 8)

Oooooooooo .... beautiful ;)

What a star!