Page 1 of 1

%GDWORD% + "Enter" or similar?

PostPosted: Fri Oct 26, 2012 11:57 am
by Alec
Can anyone advise about GoldenDict's Websites feature, please?

This is a useful dictionary website: http://russian.dmll.cornell.edu/rdt

I can nearly persuade GoldenDict to access it with this code: http://russian.dmll.cornell.edu/rdt/getlisting.cfm=%GDWORD% , but it doesn't work, because it seems to require an extra command, probably the equivalent of clicking the "GO" button at the bottom of the screen.

The code for that element of the website seems to be:
<input type="submit" name="SearchSubmit" id="SearchSubmit" value="Go"/>
<input type="hidden" name="NumListTarget" id="NumListTarget" value=""/>

Does anyone know how to work out which code is needed to complete the command, and how to insert it into GD's Website line?

Alec.

Re: %GDWORD% + "Enter" or similar?

PostPosted: Fri Oct 26, 2012 12:26 pm
by chulai
That website uses POST method to send the query but, unfortunately, GoldenDict currently only supports GET method for website dictionaries.

<form name='SearchForm' id='SearchForm' target='entry' action='getlisting.cfm' method='post'
onSubmit='return DigitizeTarget(this.RawTarget.value)'>