In my previous entry, I mentioned youalign. The developers of that wonderful tool asked me to check out their new Internet resource, webitext. I did, of course, and then I thought of trying to integrate it into CafeTran, one of the many CT features I haven't even looked at.
It's easy. In the workflow UI, you go to Library>New Resource and choose Internet>OK. You will see the following dialogue box.
Click to enlarge
I'm afraid I only entered the webitext URL because I had (and have) no clue about Address Start and Address End. Never mind, click OK and go back to the workflow UI. To activate webitext, go to Library>Internet>webitext.
Click to enlarge
And there you are. Some things don't work as I would have expected, and it's a bit slow, but then again, this is my very first try.
Click to enlarge
UPDATE: Please do enter the Address Start and End fields (see comments below). If you do, the whole lot works faster, plus you can use the CT Search Field to enter terms (by double clicking or selecting them in the source pane) to get results from webitext.



Hi Hans,
ReplyDeleteIt is good to polish your Webitext settings a bit. When clicking the Search button on the Webitext webpage, it generates the following web address query:
http://webitext.com/bin/webitext.cgi?sl=en&tl=nl&mnuc=all%3Ageneral&uss=&dlg=search&mock=&ul=en&kiv=&term=YourTerm&submit_button=Search
I chose the source language English (sl=en) and the target language Dutch (tl=nl).
Looking at this query you need to determine two parts:
Address start (before YourTerm):
http://webitext.com/bin/webitext.cgi?sl=en&tl=nl&mnuc=all%3Ageneral&uss=&dlg=search&mock=&ul=en&kiv=&term=
Address end (after YourTerm):
&submit_button=Search
Now in CafeTran, type or paste the above in the Address start and Address end fields and leave the Internet Address field empty.
Select "System browser" in the Style field if you wish to view your search results in your system web browser. It is a little faster and presents better some complex web pages.
After opening this Internet resourse in CafeTran, you will be able to type your term in CafeTran's Search field and optionally view the result in your system web browser.
Doesn't seem to work, Igor. I filled in the Address Start and End fields, deleted what I entered in Internet Address. See http://dl.dropbox.com/u/2184204/Resource%20Info.png
ReplyDeleteI saved it, and restarted CT. No Webitext… I re-entered the URL in Internet Address without deleting the info in the Start/End fields, and there it was again, but the CT search still didn't work.
Hans, you have filled in Page start and Page end fields. You should fill Address start and Address end field, instead.
ReplyDeleteSilly me. Now it works. Double click the term, and http://dl.dropbox.com/u/2184204/webitext%20OK.png
ReplyDelete