GoogieSpell v3.2

GoogieSpell v3.2 is realesed. Bug fixes and a better API. Get it from here.
Announcements · Code · JavaScript 27. Apr 2006
12 comments so far

I've just downloaded and it keeps getting better!

awesome, thanks amir!

oops! there seems to be a mistake in googiespell.js around line 21: the variable GOOGIE_CUR_LANG is not defined unless the cookie is set, which leads to other errors. i added the line var GOOGIE_CUR_LANG = "en"; before line 21 and this seems to have fixed it for me, but it's probably not the right way to fix it :)

er, i meant i added the line before the function definition.

one more small thing... the version number inside googiespell.js still reads 3.1 :)

YOU... FREAKING... ROCK...

It was oh so easy to add to my super simple comment editor.

I am getting the "...accessing information not under your control..." junk on my XP machine but such is life... I think... any chance I screwed something up in it?

Anyway: THANK YOU!

ithcy:
Thanks for reporting that. GoogieSpell v3.2.1 is out, with this fixed.

James Newton:
That warning is only shown if you run GoogieSpell from your own local computer. An example: Try to visit Orangoo Spell Check - hopefully you won't get any warnings. Btw. thank you, I know I am all rock&roll, hehe ;)

amix:
No, I'm seeing that message from a real web site (www.massmind.org) from any machine that doesn't have it set as trusted. Notice that Orangoo does NOT access google directly for the spell check. It goes to http://orangoo.com/noxspell/?l... and it doesn't use googliespell.js either, although I'm sure the static/js_generated.js does more or less the same thing.

It is possible that I've hosed up something since I did hack on the googiespell.js a bit just to try to get it down to a smaller size. I took out language support since my site is pretty much english only (sorry, but it has just worked out that way, and I tried at first to be inclusive and there was little interest) and trimmed a few other options down.

I changed the text to be a title so it would "tool tip" when you mouse over the button... Just like the other edit controls. check it out!

I'll be looking into it more today. I think the answer will be running a "spelling server proxy" on my web server just as you do on orangoo. Any chance you will release that code?

James Newton:
The code is already released and can be found on the GoogieSpell site. There are proxies written in Perl, Python, PHP and Ruby.

I can't seem to find GoogieSpell on massmind.org - Maybe you are hacking on it right now ;]?

amix:
Ok, I made proxy in poor old .ASP VBscript. Googliespell is GPL so I will email it to you. It also does some debugging stuff to show the request and response and parse the response if you just hit the .asp page directly. I want this so if google changes the api or actually stops people who didn't register, I can see quickly what they are returning, etc...

Maybe everyone else understood this, but if you don't put a proxy script on your server and change the "http://www.google.com/tbproxy/spell?lang=" to the url of your script, most of your users will get that "...accessing information not under your control..." or just a "permission denied" javascript error. IE does not allow scripts to go get content from some other site besides the one the user is currently browsing unless the site is set as trusted.

GoogieSpell is on every single page at massmind.org. At least it is my poor hacked version. Just look at the little form at the bottom of the page for adding comments, links, code, etc... and see the icon to the right of the other editing buttons at the top of the text area. Mouse over the button to see the text and credits! If I were a better programmer, I would add an about box with credits when the results were being displayed...

By the way, in my own small way, I'm proud of those editing controls. They do a good job of making it really easy for users to enter simple HTML. The link button is really smart.

But I bow to the master! amix is THE MAN!

Has anyone built a C# aspx proxy?

عقارات السعودية - عقارات الرياض - عقارات الخرج - عقارات مكة المكرمة - عقارات جدة - عقارات الطائف - عقارات المدينة المنورة - عقارات ينبع - عقارات الدمام - عقارات الخبر - عقارات الأحساء - عقارات القصيم - عقارات عسير - عقارات حائل - عقارات تبوك - عقارات الباحة - عقارات الحدود الشمالية - عقارات الجوف - عقارات جازان - عقارات نجران - عقارات مصر - عقارات القاهرة - عقارات الجيزة - عقارات حلوان - عقارات 6 اكتوبر - عقارات الاسكندرية - عقارات الساحل الشمالي - عقارات البحيرة - عقارات السويس - عقارات الاسماعلية - عقارات بورسعيد - عقارات البحر الاحمر - عقارات مطروح - عقارات جنوب سيناء - عقارات شمال سيناء - عقارات دمياط - عقارات الدقهلية - عقارات كفر الشيخ - عقارات الشرقية - عقارات الغربية - عقارات القليوبية - عقارات المنوفبة - عقارات الفيوم - عقارات قنا - عقارات المنيا - عقارات اسيوط - عقارات بني سويف - عقارات سوهاج - عقارات الوادي الجديد - عقارات الأقصر - عقارات اسوان - عقارات الامارات - عقارات ابوظبي - عقارات العين - عقارات دبي - عقارات جبل علي - عقارات الشارقة - عقارات رأس الخيمة - عقارات عجمان - عقارات أم القيوين - عقارات الفجيرة - الوطن العربي - عقارات الكويت - عقارات عمان - عقارات قطر - عقارات البحرين - عقارات الاردن - عقارات لبنان - عقارات المغرب - عقارات السودان - عقارات سوريا - وظائف - وظائف في السعودية - وظائف في الامارات - وظائف في مصر - وظائف في الكويت - وظائف في عمان - وظائف في قطر - وظائف في البحرين - وظائف في الاردن - وظائف في لبنان - وظائف في المغرب - وظائف في السودان - وظائف في سوريا - خدمات - العروض الجديدة - الرعاية و الإعلان - الدعم الفني - العقارات العام - شراء شقق - شراء شقة - شقق بالتقسيط - شقة بالتقسيط - شقق تمليك - شقة تمليك - شقق سكنية - شقة سكنية - شقق فندقية - شقة فندقية - شقق للايجار - شقة للايجار - شقق للبيع - شقة للبيع - شقق مفروشة - شقة مفروشة - غير مصنف - مطلوب شقق - مطلوب شقة
اهداف الدوري الأنجليزي
اهداف الدوري الأسباني
اهداف دوري ابطال اوروبا
مهارات ولقطات منوعة
اهداف الدوري السعودي
اهداف تصفيات كأس العالم
اهداف الدوري المصري
اهداف الدوري الالماني
أهداف كأس الخليج
هدف تيوب

Post a comment
Commenting on this post has expired.
© 2000-2009 amix. Powered by Skeletonz.