{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":12196177,"authorName":"Marc Prior","from":"Marc Prior &lt;mail@marcprior.de&gt;","profile":"lin4trans","replyTo":"LIST","senderId":"8L1JKh0g5ra632-QylJj4aKSzMFQ7ogsJWrpeqbqcIOmQi-C9elPZGUHl1-7AcKL04QTf4S79TVRglkC52JVREIiKEzP","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: [OmT] OmegaT and GoogleTranslate","postDate":"1203875988","msgId":9656,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDQ3QzFCMDk0LjQwMDA1MDJAbWFyY3ByaW9yLmRlPg==","inReplyToHeader":"PDQ3QzFBNkI3LjkwOTAzMDVAYmFsZHdpbmxpbmd1YXMuY29tPg==","referencesHeader":"PGZwcG1qdCs2bms4QGVHcm91cHMuY29tPiA8NDdDMENEMUYuOTA0MDEwNUBiYWxkd2lubGluZ3Vhcy5jb20+IDw0N0MxMUVCMS41MDIwNzA3QG1hcmNwcmlvci5kZT4gPDQ3QzEyODVBLjcwNDA2MDhAYmFsZHdpbmxpbmd1YXMuY29tPiA8NDdDMTUxODQuMjA5MDAwMUBtYXJjcHJpb3IuZGU+IDw0N0MxQTZCNy45MDkwMzA1QGJhbGR3aW5saW5ndWFzLmNvbT4="},"prevInTopic":9655,"nextInTopic":9657,"prevInTime":9655,"nextInTime":9657,"topicId":9624,"numMessagesInTopic":32,"msgSnippet":"... An http client just goes onto the net and delivers info back. An html rendering engine takes html code (from any source) and displays it nicely. And a","rawEmail":"Return-Path: &lt;mail@marcprior.de&gt;\r\nX-Sender: mail@marcprior.de\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 37497 invoked from network); 24 Feb 2008 17:58:13 -0000\r\nX-Received: from unknown (66.218.67.94)\n  by m49.grp.scd.yahoo.com with QMQP; 24 Feb 2008 17:58:13 -0000\r\nX-Received: from unknown (HELO mo-p00-ob.rzone.de) (81.169.146.161)\n  by mta15.grp.scd.yahoo.com with SMTP; 24 Feb 2008 17:58:13 -0000\r\nX-RZG-CLASS-ID: mo00\r\nX-RZG-AUTH: j/gCopV6GBybdkZQTO25IIyQPe2s21uI6Wyjpg3EdMA6kaEd5M7duBrXwi8D\r\nX-Received: from [192.168.0.106] (p5086E8E4.dip.t-dialin.net [80.134.232.228])\n\tby post.webmailer.de (fruni mo53) (RZmta 16.8)\n\twith ESMTP id 207316k1OHpRX2 for &lt;OmegaT@yahoogroups.com&gt;;\n\tSun, 24 Feb 2008 18:58:08 +0100 (MET)\n\t(envelope-from: &lt;mail@marcprior.de&gt;)\r\nMessage-ID: &lt;47C1B094.4000502@marcprior.de&gt;\r\nDate: Sun, 24 Feb 2008 18:59:48 +0100\r\nUser-Agent: Thunderbird 2.0.0.9 (X11/20071031)\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;fppmjt+6nk8@eGroups.com&gt; &lt;47C0CD1F.9040105@baldwinlinguas.com&gt; &lt;47C11EB1.5020707@marcprior.de&gt; &lt;47C1285A.7040608@baldwinlinguas.com&gt; &lt;47C15184.2090001@marcprior.de&gt; &lt;47C1A6B7.9090305@baldwinlinguas.com&gt;\r\nIn-Reply-To: &lt;47C1A6B7.9090305@baldwinlinguas.com&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1; format=flowed\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 81.169.146.161\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: Marc Prior &lt;mail@marcprior.de&gt;\r\nSubject: Re: [OmT] OmegaT and GoogleTranslate\r\nX-Yahoo-Group-Post: member; u=12196177; y=9x9ucNS1O6bPkA1LnCijZ-LcKaGklJ7F8fbd6pTDi6UR0hMM\r\nX-Yahoo-Profile: lin4trans\r\n\r\nanthony baldwin schrieb:\n\n&gt;&gt; You don&#39;t need a browser. You need an http client.\n&gt; \n&gt; See? This is how much of an expert I am...I&#39;m kind of\n&gt; fuzzy on the difference here.\n\nAn http client just goes onto the &#39;net and delivers info back.\nAn html rendering engine takes html code (from any source) and displays \nit nicely. And a browser combines both functions.\n\n&gt; I was thinking about trying to find the parts of Hv3 or BrowseX that\n&gt; grab stuff from the web and write it.\n\nIf you&#39;re thinking of exploiting an existing, highly integrated app and \njust taking the code you need from it, well... good luck. I thought I \ncould do that at first, but there was no way that I could understand the \ncode of experienced programmers. It&#39;s like taking a BMW and trying to \nmake a bicycle out of it. But you seem to have made more progress with \nTcl/Tk in three months than I have in five years, so what do I know. :-)\n\n&gt; My undertanding of the widget is that it can display web contenct in\n&gt; a widget, kind of like a textbox.\n\nYou should have no trouble embedding tkhtml in your own UI.\n\n&gt; I&#39;m not sure how that would work with grabbing results from several\n&gt; resources at once, though, unless it opened multiple widgets, which\n&gt; seems a bit cumbersome.\n\nI&#39;d think more in terms of creating a single html page and loading the \nresults from the different sources into it, and then displaying it in a \ntkhtml widget. But you could probably do it with multiple widgets as well.\n\n&gt;&gt; - Query several dictionaries at the same time, and display the results \n&gt;&gt; in a single window\n&gt;&gt; - Only display the query results, and not all the other junk displayed \n&gt;&gt; on the page\n&gt;&gt; - With a minimum of keystrokes, modify your query and relaunch it\n&gt;&gt; - Kill the display window with Escape\n&gt;&gt;\n&gt;&gt; All this can be implemented easily by modifying Ondiloto&#39;s text widget.\n&gt; \n&gt; I thought it would need a htmlwidget.\n&gt; If all it needs is a text widget, well, then it&#39;s a piece of cake.\n\nNone of the above needs an html widget. You only need an html widget if \nyou want to display html. How important is that to you? Personally, all \nI&#39;m interested in is displaying textual information: terms, their \ntranslations, perhaps some associated grammatical or lexical \ninformation. I don&#39;t need any fancy layout or colours. Like OmegaT&#39;s \npanes (glossary, match, source file list etc.).\n\n&gt;&gt; If all you want is a keyboard shortcut which uses the primary selection \n&gt;&gt; (highlighted text) to query an online dictionary and simply displays the \n&gt;&gt; results in a browser window, whether Firefox, konqueror, Hv3 or \n&gt;&gt; whatever, you don&#39;t need Ondiloto or Tcl/Tk at all. You can simply pipe \n&gt;&gt; Klipper output to a browser using a couple of lines of bash script.\n&gt; \n&gt; Could probably even pipe that to a textbox in zenity or kdialog, now you\n&gt; mention it.\n\nI don&#39;t know what zenity or kdialog do, but the &quot;browser&quot; is both the \nhttp client and the rendering engine. What your script is doing is \nforming a URL on the fly from the highlighted text, then launching the \nbrowser with the URL which it has created as an argument.\n\nMarc\n\n"}}