{"id":99,"date":"2013-03-06T14:03:24","date_gmt":"2013-03-06T22:03:24","guid":{"rendered":"http:\/\/192.168.1.2\/wordpress\/?p=99"},"modified":"2013-03-13T17:30:19","modified_gmt":"2013-03-14T00:30:19","slug":"built-your-own-ie-accelerator","status":"publish","type":"post","link":"http:\/\/cywang.no-ip.org\/wordpress\/?p=99","title":{"rendered":"Built your own IE accelerator"},"content":{"rendered":"<p>\n\tFirst, you need to create a XML file, for example, dr_eye.xml\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p><!--more--><\/p>\n<pre class=\"brush:xml;\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;openServiceDescription xmlns=&quot;http:\/\/www.microsoft.com\/schemas\/openservicedescription\/1.0&quot;&gt;\r\n&nbsp;&lt;homepageUrl&gt;http:\/\/www.dreye.com\/&lt;\/homepageUrl&gt;\r\n&nbsp;&lt;display&gt;\r\n&nbsp;&nbsp;&lt;name&gt;Dr.eye Dictionary&lt;\/name&gt;\r\n&nbsp;&nbsp;&lt;icon&gt;http:\/\/dict.dreye.com\/ews\/favicon.ico&lt;\/icon&gt;\r\n&nbsp;&nbsp;&lt;description&gt;Dr.eye Dictionary&lt;\/description&gt;\r\n&nbsp;&lt;\/display&gt;\r\n&nbsp;&lt;activity category=&quot;Translate&quot;&gt;\r\n&nbsp;&nbsp;&lt;activityAction context=&quot;selection&quot;&gt;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute method=&quot;get&quot; action=&quot;http:\/\/dict.dreye.com\/ews\/dict.php&quot; &gt;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parameter name=&quot;w&quot; value=&quot;{selection}&quot; type=&quot;text&quot; \/&gt;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parameter name=&quot;hidden_codepage&quot; value=&quot;01&quot; \/&gt; \r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parameter name=&quot;ua&quot; value=&quot;dc_cont&quot; \/&gt; \r\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/execute&gt;\r\n&nbsp;&nbsp;&lt;\/activityAction&gt;\r\n&nbsp;&lt;\/activity&gt;\r\n&lt;\/openServiceDescription&gt; <\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\tThen, add an Install Accelerator button that calls AddService when clicked. (Installing an Accelerator XML file from the local system is not allowed.)\n<\/p>\n<pre class=\"brush:jscript;\">\r\n&lt;button onclick=&quot;window.external.addService(&#39;http:\/\/127.0.0.1\/dr_eye.xml&#39;)&quot;&gt; Install Dr.eye Accelerator&lt;\/button&gt;<\/pre>\n<p>\n\t<button onclick=\"window.external.addService('http:\/\/cywang.no-ip.org\/install_ie_accelerator_dr.eye.xml')\">Install Dr.eye Accelerator<\/button>\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\tReference: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/cc289775(v=vs.85).aspx\">OpenService Accelerators Developer Guide<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, you need to create a XML file, for example, dr_eye.xml &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":8,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":298,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/298"}],"wp:attachment":[{"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cywang.no-ip.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}