Re: non-commit: abiword-plugins: rewrite url plug-ins

From: Alan Horkan <horkana_at_maths.tcd.ie>
Date: Sun Nov 28 2004 - 18:47:43 CET

On Sat, 27 Nov 2004, Francis James Franklin wrote:

> Date: Sat, 27 Nov 2004 23:23:26 +0000
> From: Francis James Franklin <postmaster@alinameridon.plus.com>
> To: AbiWord Dev list <abiword-dev@abisource.com>
> Subject: non-commit: abiword-plugins: rewrite url plug-ins
>
> A mixture of extensions, clean-up & fixes. I'd like to commit, but it's
> all so horribly confusing at the moment!

> AbiURLDict: Add Webster, Cambridge and, er, Oxford (okay, yes, I know,
> but it works for me, and I'm want to add some configuration mechanism
> for this kind of thing anyway)

Sweeeet!!! I'd really appreciate being able to add dictionaries manually.

While Oxford is not free the unversity has subscribed to it (which is why
I did not immediately realise it was not free) and it is really good
quality dictionary. I really look forward to being able to use it thanks
to your work.

I have probably ranted about acronyms before but URL is a really nasty
word (real words like location or address are often a much clearer choice)
and I would encourage you to rename the new improved and more versatile
plugin to something more descriptive and easily understandable like
AbiWebDict.

> AbiGoogle: Add Yahoo

"AbiGoogle" the sound of that word is something else, it really
wacky, silly and makes me smile :) (I've got to get out more!)

To be consistant I should suggest renaming this to something that better
describes what it does but I cannot quite think of a succint way to convey
"Search the web for this word using $SEARCH_ENGINE"

from looking at the current code for AbiGoogle
http://www.abisource.com/lxr/source/abiword-plugins/tools/google/xp/AbiGoogle.cpp

> AbiWikipedia: currently looks up English wiki, but could be worth
> making this language-sensitive.

That seems like a worthwhile improvement but it seems like it could get
very messy. Each language has a different domain, for example
en.wikipedia.org for English
fr.wikipedia.org for French
etc

To do this in a safe and robust way you would probably want to lookup a
whitelist (config file) that lists languages that are known to be
supported otherwise you will end up with the same kind of mess we have
with the help files where anyone not in exactly the correct local gets no
help at all rather than falling back to what is actually available (I
realise this has been improved in recent times but it was still pretty
annoying).

Making the Link configurable rather than trying to guess at it might be a
better approach.

> Sulking,
> Frank

You seem to be doing some great work on Abiword, hope the cause of your
sulking can resolved soon. Wish I had a Mac so I could enjoy more of your
work.

Sincerely

Alan Horkan

Free SVG Clip Art http://OpenClipArt.org
Dia is for Diagrams http://gnome.org/projects/dia/
Abiword is Awesome http://abisource.com
Received on Sun Nov 28 18:45:38 2004

This archive was generated by hypermail 2.1.8 : Sun Nov 28 2004 - 18:45:38 CET