Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Re: alc.co.jp webservice
- Date: Thu, 2 Nov 2006 16:11:30 +0900
- From: "Ian MacLean" <imaclean@example.com>
- Subject: Re: [tlug] Re: alc.co.jp webservice
- References: <200611020246.kA22kEXi020261@example.com>
On 11/2/06, Jim Breen <Jim.Breen@example.com> wrote:Ian MacLean <imaclean@example.com> wrote:
>> I've been working on a simple personal dictionary app using edict and I was
>> thinking it could be useful to optionally grab the results from
>> alc.co.jp/eijiro. Does anyone know if there is a webservice interface to it
>> ? or failing that a perl script to scrape the html ? Just thought I'd check
>> here before I write such a beast myself.
WWWJDIC links to the ALC/Eijiro server for each displayed entry. Try
http://www.csse.monash.edu.au/cgi-bin/cgiwrap/jwb/wwwjdic?1MDJhagiri and
look at the "[A]" link on the RHS. The URL generated is:
http://www2.alc.co.jp/ejr/index.php?word_in=%BB%F5%C0%DA%A4%EA&word_in3=PVawEWi72JXCKoa0Je
and it works fine.
I think the "word_in3=PVawEWi72JXCKoa0Je" is to stop people doing what
you are planning to do 8-)}
Thanks Jim,
Michael gave basically the same answer :
http://www2.alc.co.jp/ejr/index.php?word_in=ほげ&word_in3=BARThat should do the trick.Now i just need to parse the result html - which will be interesting as it does stuff like :
<font color="darkblue"><span class="ejr_j">Still - it looks doable.
花の<font color="crimson">みつ</ font>
</span></font>
Ian
- Follow-Ups:
- Re: [tlug] Re: alc.co.jp webservice
- From: Josh Glover
- References:
- [tlug] Re: alc.co.jp webservice
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Looking for advice on the best way to rebuild a gentoo box
- Next by Date: Re: [tlug] Re: alc.co.jp webservice
- Previous by thread: [tlug] Re: alc.co.jp webservice
- Next by thread: Re: [tlug] Re: alc.co.jp webservice
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links