<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1361074631679390395</id><updated>2025-05-08T21:55:28.554+08:00</updated><category term="JavaScript"/><category term="Rhino"/><category term="WSH"/><category term="Java"/><category term="心得筆記"/><category term="Google"/><category term="Blog"/><category term="Blogger"/><category term="Google Sites"/><category term="Prism"/><category term="SyntaxHighlighter"/><category term="Google Gadgets"/><category term="HR"/><category term="OOo"/><category term="SQL"/><category term="SQLite"/><category term="jQuery"/><category term="工具軟體"/><title type='text'>小爪哇的初發</title><subtitle type='html'>只看自己想看的，只寫自己想寫的，人生嘛～輕鬆點就好！</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>93</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-1118649370054976903</id><published>2018-09-25T00:04:00.000+08:00</published><updated>2018-09-30T13:31:34.216+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>JavaScript的函數是傳值還是？</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em;&quot;&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
程式寫久了，不同的程式語言間除了語法不同外，感覺好像都差不多，除了各程式語言特別強調的功能。所以現在接觸到新的程式語言已經沒有特別的學習動力，都是安裝好執行環境、瞄一下範例就動手寫寫看，除非有特別的需求，已經很少去把程式語言的學習手冊掃一遍。要說沒有好好學習是一種錯，但人性卻總是常常這樣！&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
最近在寫程式時就出現一些需要釐清的觀念，到底JavaScript的函數呼叫是傳值(Call By Value)還是傳參考(Call By Reference)？之前因為都沒有需要針對傳入的參數進行修改，所以就沒有在意這個問題。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
題外話，以前學C語言時，傳值/址可說是搞死不少人，&amp;amp;、*這兩個符號在C語言裡是用的最兇的。回想起來，C語言並沒有所謂的傳參考，因為送到函數之前就要取位址，收參數的函數就要用對應的資料型態記錄位址。雖然是很惱人的語法，但了解用法的人就會覺得這種語法的迷人之處。從硬體控制的角度來說，傳址仍舊是相當實用的語法。&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
回到JavaScript的函數到底是傳值(Call By Value)還是傳參考(Call By Reference)，可以參考「&lt;a href=&quot;http://blog.pulipuli.info/2010/09/javascript.html&quot; target=&quot;_blank&quot;&gt;JavaScript中參數的傳值與傳址心得 - 布丁布丁吃什麼？&lt;/a&gt;」，裡頭的許多討論、回覆很具參考價值。其中有一段提到「JavaScript的本質是傳值而非傳址」，其中也提到可以參考「&lt;a href=&quot;https://www.w3schools.com/js/js_function_parameters.asp&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot; target=&quot;_blank&quot;&gt;JavaScript Function Parameters&lt;/a&gt;」的內文介紹，最後兩段文字的內容如下：&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Arguments are Passed by Value&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
The parameters, in a function call, are the function&#39;s arguments.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
JavaScript arguments are passed by value: The function only gets to know the values, not the argument&#39;s locations.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
If a function changes an argument&#39;s value, it does not change the parameter&#39;s original value.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;u&gt;Changes to arguments are not visible (reflected) outside the function.&lt;/u&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
大意就是：函數呼叫的參數採用傳值方式。紅色底線說明在函數內修改參數內容不會影響到外部。&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: large;&quot;&gt;&lt;b&gt;Objects are Passed by Reference&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;u&gt;In JavaScript, object references are values.&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
Because of this, objects will behave like they are passed by reference:&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
If a function changes an object property, it changes the original value.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
Changes to object properties are visible (reflected) outside the function.
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
大意就是：物件採用傳參考方式。紅色底線說明在JavaScript語言裡物件參考是一個值(這個翻譯連自己也覺得怪)。但接續的說明比較有意思，改變傳入物件屬性資料會影響到原本的物件屬性資料。&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
關於這類的討論在網路上可以查到一大堆，就不再口水了，這篇文章只純粹記錄程式碼與執行結果對照，讓自己忘了的時候可以看一下。執行環境採用Rhino，應該跟瀏覽器的執行環境沒有差別。&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-transform: none;&quot;&gt;
底下是字串資料型態、字串物件、數值資料型態、數值物件傳入函數並修改後的程式碼與結果：&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; style=&quot;text-indent: 0em;&quot;&gt;try {

  function changeParam(fs1, fs2, fn1, fn2) {

    print(&#39;========== in function ==========&#39;);

    print(&#39;s1 type:&#39; + typeof fs1);
    print(&#39;s2 type:&#39; + typeof fs2);
    print(&#39;n1 type:&#39; + typeof fn1);
    print(&#39;n2 type:&#39; + typeof fn2);
  
    fs1 += &#39;-append&#39;;
    fs2 += &#39;-append&#39;;
    fn1 += 2;
    fn2 += 2;
  
    print(&#39;s1:&#39; + fs1);
    print(&#39;s2:&#39; + fs2);
    print(&#39;n1:&#39; + fn1);
    print(&#39;n2:&#39; + fn2);
    print(&#39;&#39;);
  }

  var s1 = &#39;s1&#39;;
  var s2 = new String(&#39;s2&#39;);
  var n1 = 10;
  var n2 = new String(10);

  print(&#39;========== Before execute function ==========&#39;);
  print(&#39;s1 type:&#39; + typeof s1);
  print(&#39;s2 type:&#39; + typeof s2);
  print(&#39;n1 type:&#39; + typeof n1);
  print(&#39;n2 type:&#39; + typeof n2);
  print(&#39;s1:&#39; + s1);
  print(&#39;s2:&#39; + s2);
  print(&#39;n1:&#39; + n1);
  print(&#39;n2:&#39; + n2);
  print(&#39;&#39;);

  changeParam(s1, s2, n1, n2);

  print(&#39;========== After execute function ==========&#39;);
  print(&#39;s1:&#39; + s1);
  print(&#39;s2:&#39; + s2);
  print(&#39;n1:&#39; + n1);
  print(&#39;n2:&#39; + n2);
}
catch (error) {

  print(&#39;Error message: &#39; + error.message);

  quit(1);
}
finally {

}
&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
執行結果：&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRg1CgZBfG98ls2dV9MxKZbOiFk9phRXPjfpx44CoXx5M6CYxrir4ByFWfq9yN6EZJ9QUHFbVNcb959dh_lOUhm7e5wzJV2M2qn0WBg8EQPCtTsaorT1-px1P0ZKrTDLABp_VTGUaLWB7n/s1600/string-number.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;458&quot; data-original-width=&quot;677&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRg1CgZBfG98ls2dV9MxKZbOiFk9phRXPjfpx44CoXx5M6CYxrir4ByFWfq9yN6EZJ9QUHFbVNcb959dh_lOUhm7e5wzJV2M2qn0WBg8EQPCtTsaorT1-px1P0ZKrTDLABp_VTGUaLWB7n/s320/string-number.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
無論傳入函數的是基本資料型態或物件型態，在函數中對參數的運算結果都不會影響到原本傳入的變數資料，也就是所謂的傳值呼叫。&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
再看底下這個例子，修改物件屬性資料：
&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; style=&quot;text-indent: 0em;&quot;&gt;try {

  function changeParam(fo) {

    print(&#39;========== in function ==========&#39;);
  
    print(&#39;fo type:&#39; + typeof fo);
  
    fo.name += &#39;-append&#39;;
    fo.age += 2;

    print(&#39;o.name:&#39; + fo.name);
    print(&#39;o.age:&#39; + fo.age);
    print(&#39;&#39;);
  }

  var o = {

    &quot;name&quot;: &quot;ABC&quot;,
    &quot;age&quot;: 24
  };
 
  print(&#39;========== Before execute function ==========&#39;);
  print(&#39;o type:&#39; + typeof o);
  print(&#39;o.name:&#39; + o.name);
  print(&#39;o.age:&#39; + o.age);
  print(&#39;&#39;);

  changeParam(o);

  print(&#39;========== After execute function ==========&#39;);
  print(&#39;o.name:&#39; + o.name);
  print(&#39;o.age:&#39; + o.age);

  quit(1);
}
catch (error) {

  print(&#39;Error message: &#39; + error.message);

  quit(1);
}
finally {

}
&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
執行結果：
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBa4DPKNWr1CpAc_O6zEjaoNo_7OMTvabMV7rEUcQfNykkmj8q8dBsUjUyVWWynoROGMOkFjP_mPP5oTzhkpWmu97LagJQBoLJc8JoqnWL8M_2oAjOQ3SC954JcK7ascNf8P77BTpEBYY-/s1600/object.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;442&quot; data-original-width=&quot;677&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBa4DPKNWr1CpAc_O6zEjaoNo_7OMTvabMV7rEUcQfNykkmj8q8dBsUjUyVWWynoROGMOkFjP_mPP5oTzhkpWmu97LagJQBoLJc8JoqnWL8M_2oAjOQ3SC954JcK7ascNf8P77BTpEBYY-/s320/object.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
在函數內修改物件屬性資料會影響到原本傳入的物件屬性資料。
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 2em; text-transform: none;&quot;&gt;
結論：JavaScript呼叫函數採用傳值呼叫！即使在呼叫時傳入物件，也只有修改物件屬性才會影響到外部的呼叫變數。所以&lt;span style=&quot;text-indent: 2em;&quot;&gt;，呼叫函數時有需要將運算跟處理資料結果儲存在參數時，就要傳入物件並儲存在對應的屬性欄位。&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/1118649370054976903/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2018/09/javascript.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1118649370054976903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1118649370054976903'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2018/09/javascript.html' title='JavaScript的函數是傳值還是？'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRg1CgZBfG98ls2dV9MxKZbOiFk9phRXPjfpx44CoXx5M6CYxrir4ByFWfq9yN6EZJ9QUHFbVNcb959dh_lOUhm7e5wzJV2M2qn0WBg8EQPCtTsaorT1-px1P0ZKrTDLABp_VTGUaLWB7n/s72-c/string-number.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-5414641359094205302</id><published>2016-04-03T23:46:00.002+08:00</published><updated>2016-04-08T11:46:10.616+08:00</updated><title type='text'>中華電信引領物聯整合 打造4G智慧城市</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: &amp;quot;arial&amp;quot;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: bold; line-height: 28px; margin: 5px 0px 0px; padding: 0px 0px 10px; width: 520px;&quot;&gt;
中華電信引領物聯整合 打造4G智慧城市&lt;img src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;pid=5520&amp;ppid=2&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 0px; text-align: center; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_160330_0204054480.jpg&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(68, 68, 68); margin: 2px 2px 5px 7px; padding: 2px;&quot; /&gt;&lt;span style=&quot;text-indent: 20px;&quot;&gt;中華電信將4G行動寬頻與交通管理結合，包括4G智慧計程車服務、4G行車影像服務、行動SNG，讓人車路網安全便捷再升級。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 0px; width: 520px;&quot;&gt;
&lt;span style=&quot;text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;用APP叫計程車不稀奇，但是增加了衛星全程定位監控才更安心；開店做生意不能守株待兔，靈活運用物聯科技串聯行動生活，才能掌握即時商機；這些最新的科技應用都在「2016智慧城市展」呈現。中華電信運用4G行動寬頻科技打造便捷、樂活與友善的智慧城市，為展覽最大亮點。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;中華電信表示，為了響應經濟部工業局「4G智慧寬頻應用城市計畫」，今年展覽以「引領物聯整合 共創智能商機」為主軸，呈現智慧交通、智慧商圈、智慧建築等三大領域，讓參觀的民眾都能體驗到更多便利的科技應用智慧服務。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;這次展覽亮點之一「4G智慧計程車服務」，民眾只要先下載《Taxi叫車便》APP，就可在衛星全程定位監控下，取得安全、安心又便利的計程車運輸服務。乘客上車後，還可運用車上多媒體設備，找到附近的觀光景點與交通資訊，體驗便捷、即時的資訊互動服務。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;另外，以電視台SNG車為概念發展出的「行動SNG」可將影像聲音即拍即傳，提供座標、方位角等完整資訊，透過行動網路上傳至行動SNG雲端平台，就能在不同裝置上同時瀏覽影像，並且取得相關的地理位置，非常適合於災害救援、緊急事件、社會事件、遠端監控、掃毒緝黑、選舉維安等相關業務需求。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;中華電信在這次展覽提出智慧商圈解決方案，可藉由人潮客群分析平台，幫助客戶選出最佳開店位置，以及有效的廣告投放點，甚至還可在門口設置Beacon感應推播優惠訊息，讓顧客可以適時、適地、適需的享受消費體驗。民眾可下載《樂遊台灣》APP，在展場與互動看板進行AR辨識互動，辨識成功就能以APP進行互動遊戲，還機會獲得驚喜禮物。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; text-indent: 20px;&quot;&gt;此外，中華電信也展出智慧建築整合平台與eHome智慧家庭。前者透過單一化的中央監控和權限管理介面，可即時監控各子系統和設備的運作，提升整體建築管理效率；後者可提供跨載具智慧家庭服務，透過網路雲端服務功能，住戶便可在外使用自己的手機或平板電腦控制家中的燈光、家電、能源管理等功能，並能時時掌握居家防災防盜的重要資訊。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-indent: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-indent: 20px;&quot;&gt;(中國時報)&lt;/span&gt;&lt;br /&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/stickers/BloggerAds_news.swf?data=20160330_5520&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/5414641359094205302/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2016/04/4g.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5414641359094205302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5414641359094205302'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2016/04/4g.html' title='中華電信引領物聯整合 打造4G智慧城市'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-2276130284856671675</id><published>2013-07-11T01:13:00.001+08:00</published><updated>2013-07-11T01:25:49.906+08:00</updated><title type='text'>中華電信 豐富家庭數位生活</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: bold; line-height: 28px; margin: 5px 0px 0px; padding: 0px 0px 10px; text-indent: 0px; width: 520px;&quot;&gt;
中華電信 豐富家庭數位生活&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=3244&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 0px; text-indent: 0px; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_130710_04521330173.jpg&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(68, 68, 68); margin: 2px 2px 5px 7px; padding: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;color: #444444; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 10px 0px 0px 5px; text-indent: 20px; width: 520px;&quot;&gt;
&lt;br /&gt;
電信龍頭中華電信的服務廣及固網、行動等領域，除了便利個人生活，同時也讓家庭的數位生活環境更為豐富。中華電信董事長李炎松指出，透過MOD第2平台，用戶可連結各種封閉與開放網路的內容資訊，而且享受具有特色化的服務。&lt;br /&gt;
&lt;br /&gt;
因應數位匯流趨勢，滿足客戶高速上網及高畫質(HD)影音娛樂的需求，中華電信積極布建光纖到戶(FTTH)網路，以提供更高速、穩定的網路服務。中華電信北區分公司副總吳明德表示，目前正推廣100M寬頻上網，同時要拓展加值服務。希望透過合作，扶植本土設備廠商。&lt;br /&gt;
&lt;br /&gt;
另外在內容方面，吳明德也說，MOD已推出周周看免費電影的活動，可說是「轟動武林」，MOD的開機率暴增近10個百分點，從48％，增加到57.4％。透過這種方式，中華電信與本土文創業者合作，可以讓大家欣賞更多優質國片。&lt;br /&gt;
&lt;br /&gt;
MOD是中華電信布局數位家庭的中樞，面對來自有線電視業者的競爭，中華電信指出，MOD服務持續加強產品內容，提供互動、連網、多螢的創新服務，包括多元型態互動性節目、Youtube、多螢服務與聊天功能應用程式(APP)、電視打卡等，希望讓用戶實際體驗多螢一雲的收視樂趣與便利性。&lt;br /&gt;
&lt;br /&gt;
除了線性內容，中華電信表示，MOD也不斷深化經營非線性內容，鎖定電影、戲劇、新聞、音樂、遊戲等產品線，與內容業者深入合作，展現MOD平台服務差異化的特色，滿足分眾客群需求，增加產品黏著度。另外也補強本土新聞及綜合頻道。&lt;br /&gt;
&lt;br /&gt;
中華電信也強調，希望扶持國內數位內容產業發展，透過邀請更多業者在MOD平台上架，逐步開放讓內容廠商自主開發客製化應用服務，以更具開放性的平台經營模式，增加應用服務，扶持現有營運商創造更大營收。&lt;br /&gt;
&lt;br /&gt;
同時，中華電信表示，希望將頻道、隨選視訊等服務APP化，並與具品牌的終端業者合作，做為智慧電視的內建影音服務，以擴大MOD經營範圍；並發展TV App商店，藉由導入Android平台基礎的機上盒，MOD可直接接取Android市集豐富的TV Apps資源，提供用戶更多元的應用服務。&lt;br /&gt;
&lt;br /&gt;
整體而言，中華電信發展光纖到府以及智慧家庭服務，對於未來數位家庭生活服務，是以家庭管理、家庭資訊服務、家庭通訊與家庭娛樂(MICE)等面貌呈現。&lt;br /&gt;
&lt;br /&gt;
上述所指的家庭管理包含安全監控管理，如門禁、門窗、居家監控、瓦斯偵測等。家庭資訊服務則是將個人雲的發展衍伸到家庭，讓家庭成員將照片、音樂、影片、文章等放置於家庭雲共同分享與使用。&lt;br /&gt;
&lt;br /&gt;
另外，家庭通訊是以IP網路技術為基礎，可與通訊結合發展出多元化的服務，例如訪客拜訪的影像可與手機結合，或可擴大以社區為單位，組成結合家庭與社區管委會的社區通訊網。至於家庭娛樂則是以MOD為基礎，提供影視、新聞、音樂、遊戲、購物等服務。&lt;br /&gt;
&lt;br /&gt;
網址：&lt;a href=&quot;http://news.chinatimes.com/2007Cti/2007Cti-News/2007Cti-News-Content/0,4521,50103936+112013070900417,00.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;http://news.chinatimes.com/2007Cti/2007Cti-News/2007Cti-News-Content/0,4521,50103936+112013070900417,00.html&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;color: #444444; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 10px 0px 0px 5px; text-indent: 20px; width: 520px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/stickers/BloggerAds_news.swf?data=20130710_3244&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;

&lt;br /&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;color: #444444; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 10px 0px 0px 5px; text-indent: 20px; width: 520px;&quot;&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal; text-indent: 0px;&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/2276130284856671675/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2013/07/ad20130711.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2276130284856671675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2276130284856671675'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2013/07/ad20130711.html' title='中華電信 豐富家庭數位生活'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-679029291633127972</id><published>2013-05-15T23:43:00.001+08:00</published><updated>2013-05-15T23:59:06.995+08:00</updated><title type='text'>永慶房屋全員啟動，共同推動社會圓滿</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: bold; line-height: 28px; margin: 5px 0px 0px; padding: 0px 0px 10px; width: 520px;&quot;&gt;
永慶房屋全員啟動，共同推動社會圓滿
&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=3120&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 0px; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_130513_11272456926.jpg&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(68, 68, 68); margin: 2px 2px 5px 7px; padding: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;color: #444444; float: left; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; margin: 0px; padding: 10px 0px 0px 5px; text-indent: 20px; width: 520px;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;永慶孫慶餘董事長：多想一點、多做一點，許社會一個圓滿的承諾&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 今年邁入25年的永慶房產集團，以「台灣銀髮長者住居安全提升計畫」，拿下2013&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.yungching.com.tw/CF/CF16.asp?Pkey=%7BF8E8FD03-3B10-49A5-99EF-03EAE792DE3D%7D&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;第九屆《遠見雜誌》企業社會責任獎&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;（CSR， Corporate Social Responsibility）-社區社群關懷組楷模獎，&lt;strong&gt;是唯一獲獎的房仲業者&lt;/strong&gt;。副總統吳敦義親臨頒獎典禮時嘉許：「永慶推動公益，致力關懷銀髮長者，讓一個家庭能兼具幼者與長者共同居住，是件很美好的事。」&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 永慶房產集團董事長孫慶餘在典禮上表示：「永慶25年來，一直以「圓滿」的推手自我期許，從交易圓滿、服務圓滿到生活圓滿，更積極承擔社會圓滿的責任，推動集團上千家門市，包括永慶房屋、永慶不動產、有巢氏房屋、台慶不動產等投身公益。」&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;● 從企業核心價值與服務出發，首創「無障礙房屋資料庫」&lt;/span&gt;&lt;br /&gt;
永慶孫慶餘董事長分享：永慶的LOGO是從「家」開始，向外畫出一組幸福同心圓，代表永慶懷抱夢想、砥礪奮進、超越自我的企業精神，以「家」為服務核心，進而將關懷的同心圓擴大到整體社會。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 有感台灣社會快速老化，老舊公寓更新不易，民眾在住居選擇上遭遇越來越多困擾，永慶動員集團資源，建立全台首創「&lt;a href=&quot;http://www.yungching.com.tw/LivingBlog/story07.aspx&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;無障礙房屋資料庫&lt;/a&gt;」，至今累計近2千棟社區大樓、6萬件房屋物件，提供有需要的民眾查詢。永慶慈善基金會則扮演整合平台，串聯產、官、學，提出「全齡通用宅」概念，連續三年舉辦通用展，宣導安全便利住居；永慶也促進「住宅法」相關法令與規範的制定，為台灣建立無障礙圓滿生活環境。&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;● 因為永慶，更加圓滿，打造友善無礙住居環境&lt;/span&gt;&lt;br /&gt;
2012年，永慶以「幸福企業」獲得遠見雜誌「企業社會責任獎」職場健康組楷模獎，今年再度獲得遠見雜誌「社區社群關懷組楷模獎」得獎的肯定，讓永慶人滿懷喜悅與感恩，堅持要想得更多、做得更好。&lt;br /&gt;
站在時代浪潮的尖端，永慶要進一步發動以「社會圓滿」為核心價值的二次革命，持續以「共享成長」的理念扮演產業變革的領航者，重新定義企業社會責任，提供房產住居生活ㄧ條龍服務，並全面推動全齡通用宅概念，改善台灣住居空間，促進生活及社會圓滿。&lt;br /&gt;
&lt;br /&gt;
@遠見雜誌企業社會責任獎報導&lt;br /&gt;
&lt;a href=&quot;http://www.gvm.com.tw/2013CSR/case.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;圓客戶成家的夢 更做社會圓滿的推手&lt;/a&gt;&lt;br /&gt;
@永慶房屋企業社會責任獎案例&lt;br /&gt;
&lt;a href=&quot;http://aurorasu.pixnet.net/blog/post/37851327&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;聽鴛鴦，唱山歌&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
永慶得獎媒體報導：&lt;br /&gt;
雅虎：&lt;a href=&quot;http://tw.news.yahoo.com/%E6%B0%B8%E6%85%B6%E6%88%BF%E7%94%A2%E9%9B%86%E5%9C%98%E7%8D%B2-%E7%A4%BE%E5%8D%80%E7%A4%BE%E7%BE%A4%E9%97%9C%E6%87%B7%E7%B5%84-%E6%A5%B7%E6%A8%A1%E7%8D%8E-045503564.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;永慶房產集團獲「社區社群關懷組」楷模獎&lt;/a&gt;&lt;br /&gt;
蕃薯藤：&lt;a href=&quot;http://n.yam.com/business/life/20130503/20130503440769.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;房仲業唯一獲獎 永慶房產集團獲「社區社群關懷組」楷模獎&lt;/a&gt;&lt;br /&gt;
UDN：&lt;a href=&quot;http://udn.com/NEWS/FINANCE/FIN9/7871794.shtml&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;永慶 獲頒企業社會責任大獎&lt;/a&gt;&lt;br /&gt;
中時電子報：&lt;a href=&quot;http://life.chinatimes.com/LifeContent/1401/20130503000922.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;永慶董事長孫慶餘︰許社會圓滿承諾&lt;/a&gt;&lt;br /&gt;
好房News：&lt;a href=&quot;http://news.housefun.com.tw/news/article/14517630284.html&quot; style=&quot;color: #df4f4f; outline-style: none;&quot;&gt;善盡企業社會責任房仲獲遠見頒獎肯定&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/stickers/BloggerAds_news.swf?data=20130513_3120&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/679029291633127972/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2013/05/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/679029291633127972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/679029291633127972'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2013/05/blog-post.html' title='永慶房屋全員啟動，共同推動社會圓滿'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-8359381723001922016</id><published>2013-03-12T00:24:00.002+08:00</published><updated>2013-04-07T23:36:38.094+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="心得筆記"/><title type='text'>2013經典賽中─我最愛的一幕</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
2013經典賽結束了，對南韓的一戰太可惜了，說真的，就像主播報導時所流下的淚一般，我也好想台灣對南韓那場能贏，雖然勝負與晉級無關，但是心理因素真的差別好大。對日一戰更不用說，將士用命的打出一場好比賽，雖然最後以一分之差輸了，但球員的表現讓人激賞。至於古巴那一戰就‧‧‧算了，不提也罷！&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
這次台灣球員的表現讓我想看球賽，輸了就輸了，但重點在於球員的表現。實力的差距是存在的，每個國家都盡可能推出最佳球員組合，能夠打贏真的是一種極至表現；但是實力的差距考量後，確實是存在一段距離。但是企圖心，就是這個「不能認輸」的努力，讓我對這次的台灣球員表現實在是印象深刻。較之以往，總是讓人覺得開打就好像認輸的感覺差別太大了。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
底下的影片是陽岱鋼對南韓時，滑累衝向一壘的畫面，在對南韓前，陽岱鋼面對荷籣之戰才因為打出一隻全壘打，加上優異表現獲得MVP；而這個畫面，讓我覺得只要肯拼，就能創造不一樣的局面。即使這場比賽最後被南韓逆轉而輸了，但這個畫面讓我一直不斷的想看。好個努力，好個拼勁，成功不只靠天份，還要不斷&lt;span style=&quot;text-indent: 2em;&quot;&gt;努力&lt;/span&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;爭取。我‧‧‧要好好學習。&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/E5C9d39bqfU&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/8359381723001922016/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2013/03/2013.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8359381723001922016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8359381723001922016'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2013/03/2013.html' title='2013經典賽中─我最愛的一幕'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/E5C9d39bqfU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-7343975473902417522</id><published>2012-08-19T13:31:00.001+08:00</published><updated>2012-08-19T13:41:59.375+08:00</updated><title type='text'>加入永慶‧朝幸福前進！ </title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-transform: none;&quot;&gt;
&lt;b style=&quot;color: #333333; line-height: 150%;&quot;&gt;加入永慶‧朝幸福前進！「幸福永慶」，錄取保障月薪五萬九個月！&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-transform: none;&quot;&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;
&lt;b&gt;
揪團預約面試，錄取再拿獎勵金6000元！&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;&lt;br /&gt;
       &lt;br /&gt;
       史上第一團！面試拿獎金，&lt;br /&gt;
       有福同享，和麻吉鬥陣作伙出頭天！&lt;br /&gt;
       前進幸福永慶，給自己一個實現理想、迎向成功的機會&lt;br /&gt;
       揪團或被揪團者，成功被錄取且報到後任職滿 1 個月，頒予6,000 元獎勵金。&lt;br /&gt;
       誰說畢業即失業，誰說轉職沒本錢！永慶的三大保障，讓你衝事業免擔優&lt;br /&gt;
       &lt;img border=&quot;0&quot; height=&quot;353&quot; src=&quot;http://www.blogad.com.tw/Events/20120807_housefunbu/images/image001.jpg&quot; width=&quot;467&quot; /&gt;
       &lt;img border=&quot;0&quot; height=&quot;0&quot; src=&quot;http://www.blogad.com.tw/Transfer/WriterCount.aspx?E_ID=1552&amp;amp;F_ID=181404&quot; width=&quot;0&quot; /&gt;
       &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
        &lt;div align=&quot;left&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;保障一：保障月薪5萬9個月&lt;br /&gt;
        無業績責任額，助你以最安定的心，變身房產達人&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
        &lt;div align=&quot;left&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;保障二：完善培訓升遷計畫&lt;br /&gt;
        價值300萬、360小時量身打造訓練課程&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
        &lt;div align=&quot;left&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;保障三：i智慧行動科技工具&lt;br /&gt;
        永慶24年專業資料庫，配備iPad輔助成交快！&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div align=&quot;left&quot; style=&quot;line-height: 150%;&quot;&gt;
&lt;span style=&quot;color: #333333; font-size: x-small;&quot;&gt;
       幸福永慶，讓妳打拼有依靠！保障月薪5萬9個月、專業培訓、i智慧相挺聰明工作！選對行業，快速晉升百萬年薪。快填履歷加入吧！&lt;br /&gt;
       &lt;br /&gt;
       我要揪團面試：&lt;a href=&quot;http://mps.yungching.com.tw/event/2012hr/index.html&quot; target=&quot;_blank&quot;&gt;http://mps.yungching.com.tw/event/2012hr/index.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/7343975473902417522/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2012/08/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7343975473902417522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7343975473902417522'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2012/08/blog-post.html' title='加入永慶‧朝幸福前進！ '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-8697765413233545854</id><published>2011-11-16T23:29:00.001+08:00</published><updated>2011-11-16T23:35:26.208+08:00</updated><title type='text'>【您的一票，決定愛的力量】50萬公益金怎麼捐？你做主！</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
【您的一票，決定愛的力量】&lt;br /&gt;
50萬公益金怎麼捐？你做主！&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=2023&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
你是不是常覺得，想做善事，但荷包有限、很難大手筆幫忙？或者，你不知該如何下手，又擔心善款不知流向何處？&lt;br /&gt;
&lt;br /&gt;
現在，這些問題通通幫你解決了！你不需要是超人，也可以改變社會喔~~&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
你只要動動手指頭，到「台新銀行公益慈善基金會」舉辦的年度公益活動「您的一票，決定愛的力量」活動頁，選擇一個你最欣賞、你最想支持的社福團體提案，票數高的社福團體，就有機會得到10萬~50萬不等的公益基金。做公益，也可以這麼輕鬆愉快！&lt;br /&gt;
&lt;br /&gt;
投票期間：100年11月1日~11月30日晚間11點59分止 投票網址：&lt;br /&gt;
&lt;a href=&quot;http://wm7.ecrm.com.tw/web_service/counter/wmax_event.aspx?poweroflove:2011poweroflove:news01&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://wm7.ecrm.com.tw/web_service/counter/wmax_event.aspx?poweroflove:&lt;br /&gt;2011poweroflove:news01&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
「簡單說，這個活動將能見度低的社福團體給予他們參加的&quot;舞台&quot;這樣一來大家都看的到弱勢角落的他們了」&lt;br /&gt;
(摘自知名部落客文章【海豚男的塗鴉本】&lt;a href=&quot;http://www.wretch.cc/blog/thebz1/21583393&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.wretch.cc/blog/thebz1/21583393&lt;/a&gt;)&lt;br /&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_2023_111115_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
趕快瞧瞧活動宣傳影片：&lt;a href=&quot;http://www.youtube.com/watch?v=zFOHvomY6-k&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.youtube.com/watch?v=zFOHvomY6-k&lt;/a&gt;&lt;br /&gt;
你的一票，真的可以變成愛的力量！&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_2023.swf?StickerId=240&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/8697765413233545854/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111116.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8697765413233545854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8697765413233545854'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111116.html' title='【您的一票，決定愛的力量】50萬公益金怎麼捐？你做主！'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-371991302390162007</id><published>2011-11-16T21:36:00.001+08:00</published><updated>2011-11-20T02:24:13.900+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="心得筆記"/><title type='text'>再見~ 地圖日記</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
今天打開電腦，連上&lt;a href=&quot;http://www.atlaspost.com/&quot; target=&quot;_blank&quot;&gt;地圖日記&lt;/a&gt;網站就出現以下的巨幅聲明公告：
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG5tklreJ57O_-D5jzkBEXd2YG1V1LKRfkDe6huk9sAUANlEmanZao5DrSf5y0RgqVIm-rfuyzvECz7q4E0BvDmjkwkKXTsgNEFrU4A6aGSsETtt6IbHJKkgzLVCe4-7m6HvisFfIr2RC0/s1600/MWSnap062+2011-11-16%252C+21_28_20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG5tklreJ57O_-D5jzkBEXd2YG1V1LKRfkDe6huk9sAUANlEmanZao5DrSf5y0RgqVIm-rfuyzvECz7q4E0BvDmjkwkKXTsgNEFrU4A6aGSsETtt6IbHJKkgzLVCe4-7m6HvisFfIr2RC0/s320/MWSnap062+2011-11-16%252C+21_28_20.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
內容主要就是說明要取消日記、相簿與地標功能，應該是打算專營團購服務。取消的功能都是原先免費的服務，這些免費的服務也因此造就許多網銷賣家的駐足，加上&lt;a href=&quot;http://www.atlaspost.com/main.php&quot; target=&quot;_blank&quot;&gt;地圖日記&lt;/a&gt;提供居住地比對的功能，所以上去之後都可以看到許多的在地廣告；雖然這個功能不能算是非常獨具特色，但有時也可以藉機看看別人介紹自己住的地方有啥沒玩到的，況且用了一陣子之後，還滿習慣這個網站的操作方式。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
只是如今將日記、相簿之類的功能取消，也就表示已經不會有站友的私人寫作，那麼來到這個網站應該只剩單純的搜尋團購資訊了？如果是這樣的轉變，那會不會跟其它的團購網站已經沒有分別？在現今一堆團購網站的戰火下，這樣的方向實在有點很難認同？&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
但是在商言商，免費的服務如果不能創造價值，那麼捨棄這些服務只是時間的問題。只是團購對我自己來說並不具有吸引力，面對這樣的轉變，看來以後再上&lt;a href=&quot;http://www.atlaspost.com/main.php&quot; target=&quot;_blank&quot;&gt;地圖日記&lt;/a&gt;的次數應該會相對減少許多。&lt;/div&gt;
&lt;br /&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/371991302390162007/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/atlaspost.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/371991302390162007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/371991302390162007'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/atlaspost.html' title='再見~ 地圖日記'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG5tklreJ57O_-D5jzkBEXd2YG1V1LKRfkDe6huk9sAUANlEmanZao5DrSf5y0RgqVIm-rfuyzvECz7q4E0BvDmjkwkKXTsgNEFrU4A6aGSsETtt6IbHJKkgzLVCe4-7m6HvisFfIr2RC0/s72-c/MWSnap062+2011-11-16%252C+21_28_20.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-5537355290905660982</id><published>2011-11-14T23:57:00.001+08:00</published><updated>2011-11-15T00:02:38.310+08:00</updated><title type='text'>省錢除舊佈新！下載收納、衣鞋櫃優惠，獨享「現金折抵」</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=2009&amp;amp;ppid=2&quot; /&gt;省錢除舊佈新！&lt;br /&gt;
下載收納、衣鞋櫃優惠，獨享「現金折抵」&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_2009_111110_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
時序進入11月，2011年即將倒數計時囉！而且你知道嗎？今年的農曆年節特別早，再過2個半月就是除夕，動作快的早就開始計畫歲末大掃除囉~~&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;櫥櫃換新、善用收納幫手，老房子「新」氣象&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
其實，歲末除舊佈新、換個好「新」情，沒有想像中那麼複雜，也不需要砸大錢、花上萬元重新整修裝潢！怎麼省省的除舊佈新呢？除了整間房子清掃一遍，讓它看起來亮晶晶，把用了多年的老舊櫥櫃、空間胃納量不夠的衣架鞋櫃等換掉，或者添購一些收納箱讓衣物、棉被、兒童玩具…收得更整齊有秩序，也能讓家裡變得&quot;煥然一新&quot;喔！&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;除舊佈新怎麼省？換購櫥櫃、層架，風格大變身&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
舉例來說，如果你喜歡優雅潔淨的風格，可以將房間的櫃子，換成米白色、外型講究質感的日本抽屜收納櫃；如果你喜歡歐美簡約風格，可以換德克鍍鉻超寬衣架，不只衣物收納空間變大了，而且多層架讓你可以分類收納，皮包一層、配件一層、內衣褲一層…..多功能運用更實際！花這些少少的錢，就能讓你家的空間變得很不同。&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;廚房雜物架換新！胃納量大增加廚房空間&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
或者你也可以改變廚房、客廳、兒童房等空間的櫥櫃！尤其廚房是家中最容易堆積雜物的地方，舉凡油、調味醬料、鍋碗瓢盆、菜刀等烹飪工具，以及大型電器，如：微波爐、烤箱、電磁爐等，通通佔掉廚房不少空間。東西一多，如果再沒整理好，就會看起來雜亂，廚房也變得很小。這時候你需要花更多錢換間更大的廚房？NoNoNo！你只要花3000元換個容量大、好用的櫥櫃層架，就能創造不同風格，讓廚房也更寬廣。&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;省錢趁現在！下載優惠代碼獨享「現金折抵」&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
更重要的是，為了顧及荷包，現在這些櫥櫃層架的價格，通通&quot;獨家下殺&quot;，平均單件可省好幾百元呢！！而且「滿3800元現省500元，滿7600元現省1000元……依此類推」！只要下載優惠代碼，持代碼到全台特力屋門市買櫥櫃層架商品，就能馬上獨享：&lt;a href=&quot;http://www.sharer.com.tw/o2o/?utm_source=stick&amp;amp;utm_medium=cpm&amp;amp;utm_campaign=news&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.sharer.com.tw/o2o/?utm_source=stick&amp;amp;utm_medium=cpm&amp;amp;utm_campaign=news&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_2009.swf?StickerId=236&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/5537355290905660982/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111114.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5537355290905660982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5537355290905660982'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111114.html' title='省錢除舊佈新！下載收納、衣鞋櫃優惠，獨享「現金折抵」'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-3967293269395024549</id><published>2011-11-14T01:58:00.001+08:00</published><updated>2012-02-28T19:46:08.928+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="工具軟體"/><title type='text'>LiveHTTPHeaders</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在上一篇「&lt;a href=&quot;http://ace33022.blogspot.com/2011/11/http-get-post.html&quot; target=&quot;_blank&quot;&gt;HTTP通訊協定&lt;/a&gt;」文章內，除了找到一些HTTP的基本資料，也從「&lt;a href=&quot;http://www.dotblogs.com.tw/marcus116/archive/2011/05/29/26428.aspx&quot; target=&quot;_blank&quot;&gt;[HTTP]Http GET、POST Method&lt;/a&gt;」文章內學到利用「&lt;a href=&quot;http://www.httpwatch.com/&quot; target=&quot;_blank&quot;&gt;HttpWatch&lt;/a&gt;」工具協助查詢HTTP的封包內容；這個很重要，特別是在POST Method模式時，沒有這些互動過程的記錄是沒辦法取得想要的網頁資料。
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
而這裡來寫一下另一個我喜歡的工具─「&lt;a href=&quot;http://livehttpheaders.mozdev.org/&quot; target=&quot;_blank&quot;&gt;LiveHttpHeaders&lt;/a&gt;」，這個工具只能在&lt;a href=&quot;http://www.mozilla.org/&quot; target=&quot;_blank&quot;&gt;Firefox&lt;/a&gt;上執行，對於已經習慣&lt;a href=&quot;http://www.mozilla.org/&quot; target=&quot;_blank&quot;&gt;Firefox&lt;/a&gt;環境的我來說，「&lt;a href=&quot;http://livehttpheaders.mozdev.org/&quot; target=&quot;_blank&quot;&gt;LiveHttpHeaders&lt;/a&gt;」相對來說更為簡單與方便(「&lt;a href=&quot;http://www.httpwatch.com/&quot; target=&quot;_blank&quot;&gt;HttpWatch&lt;/a&gt;」不只支援&lt;a href=&quot;http://www.mozilla.org/&quot; target=&quot;_blank&quot;&gt;Firefox&lt;/a&gt;，也支援IE，呈現的資訊更豐富，但是在很多情況下其實用不到這麼多資訊，所以「&lt;a href=&quot;http://livehttpheaders.mozdev.org/&quot; target=&quot;_blank&quot;&gt;LiveHttpHeaders&lt;/a&gt;」相對簡潔有力，也是我愛用的原因)。&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在「&lt;a href=&quot;http://ace33022.blogspot.com/2011/11/rhino-java-url.html&quot; target=&quot;_blank&quot;&gt;Rhino環境應用Java的URL類別抓取網頁資料&lt;/a&gt;」文章中，使用該段程式後確實可以取得該網頁的資料，但取回的內容為近幾期的內容，且預設取得之資料包括各類彩券的最近期獎號。當然，如果&quot;定時&quot;的取得這個網頁資料回來剖析並記錄，也能完整的得到所有的樂透彩資料(隨著時間會更新期數/獎號內容)。但如果想更進一步只取得想要的期數&lt;span style=&quot;text-indent: 2em;&quot;&gt;與獎號&lt;/span&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;，就必須透過網頁上的查詢功能，而從這裡開始，網頁採用的就是POST Method向主機交換資料，所以必需依照樂透網頁的溝通方式送出正確的封包。這時候就是應用「&lt;/span&gt;&lt;a href=&quot;http://livehttpheaders.mozdev.org/&quot; style=&quot;text-indent: 2em;&quot; target=&quot;_blank&quot;&gt;LiveHttpHeaders&lt;/a&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;」這套工具的場合，執行&lt;/span&gt;&lt;a href=&quot;http://www.mozilla.org/&quot; style=&quot;text-indent: 2em;&quot; target=&quot;_blank&quot;&gt;Firefox&lt;/a&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;的「工具/Live HTTP headers」選項，開啟如下的畫面：&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvNTZp5BmZByycYapLBJf2Mk9XfkuhymKI8GRTbsrFrq58OJZqT1CY472ybSR9vkOVO2U2PD5AP8bjHHypRXlEgWX4ejZk8v2BULjbnSL0paNlA1Fbs_GrDRzhT6qMnuRkNsoTpz19DqLA/s1600/MWSnap070+2012-02-12,+17_33_47.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvNTZp5BmZByycYapLBJf2Mk9XfkuhymKI8GRTbsrFrq58OJZqT1CY472ybSR9vkOVO2U2PD5AP8bjHHypRXlEgWX4ejZk8v2BULjbnSL0paNlA1Fbs_GrDRzhT6qMnuRkNsoTpz19DqLA/s320/MWSnap070+2012-02-12,+17_33_47.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
接著在網頁輸入欲查詢的期數後進行查詢，如下圖：
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwqTzwrsx3TPkHc2XL4UuTb0KoM1kA4MKc161yzK3oDP9W5lyWzqoqbI80_vRZZHScLUAF4zHgd1V7BC_Vq2T53-RyZ1SKmd9S3IgtBpH4Hraft7yi4s2n5xAmkVX_eEovhMB5THnWj0F/s1600/MWSnap060+2011-11-14,+03_06_07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwqTzwrsx3TPkHc2XL4UuTb0KoM1kA4MKc161yzK3oDP9W5lyWzqoqbI80_vRZZHScLUAF4zHgd1V7BC_Vq2T53-RyZ1SKmd9S3IgtBpH4Hraft7yi4s2n5xAmkVX_eEovhMB5THnWj0F/s400/MWSnap060+2011-11-14,+03_06_07.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在Live HTTP headers的畫面中，就可以順利得到封包送出/取回的過程，如下圖：
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjCy5bLjXZVDuINIjnMZmqJmDFNEl5HusOhbkc5PPtWzcl8u-THre0aI1wnzfHcBOn9yXAKi0EPrxyIdwtc-75nso8nYITYbVhOeZNtcY4RsOhXx-iMzSPVeinTHJjPiTfyhfbmnRTpvPe/s1600/MWSnap061+2011-11-14,+03_06_32.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjCy5bLjXZVDuINIjnMZmqJmDFNEl5HusOhbkc5PPtWzcl8u-THre0aI1wnzfHcBOn9yXAKi0EPrxyIdwtc-75nso8nYITYbVhOeZNtcY4RsOhXx-iMzSPVeinTHJjPiTfyhfbmnRTpvPe/s400/MWSnap061+2011-11-14,+03_06_32.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
有了這些資料，接下來只要模擬這個處理過程，「應該(？)」就可以順利取得所需要的網頁資料了。
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/3967293269395024549/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/livehttpheaders.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/3967293269395024549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/3967293269395024549'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/livehttpheaders.html' title='LiveHTTPHeaders'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvNTZp5BmZByycYapLBJf2Mk9XfkuhymKI8GRTbsrFrq58OJZqT1CY472ybSR9vkOVO2U2PD5AP8bjHHypRXlEgWX4ejZk8v2BULjbnSL0paNlA1Fbs_GrDRzhT6qMnuRkNsoTpz19DqLA/s72-c/MWSnap070+2012-02-12,+17_33_47.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-3154613797749482685</id><published>2011-11-11T00:50:00.001+08:00</published><updated>2011-11-11T00:57:09.635+08:00</updated><title type='text'>淘寶商城光棍節11/11網購狂歡一整天，精品下殺5折</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
淘寶商城光棍節11/11網購狂歡一整天，&lt;br /&gt;
精品下殺5折&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=2012&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;embed allowscriptaccess=&quot;always&quot; height=&quot;250&quot; sap=&quot;flash&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_2012_111109_swf.swf&quot; width=&quot;300&quot;&gt;&lt;/embed&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
11月正是台灣百貨公司週年慶的尾聲，網購狂歡節立即接棒展開，其中以&lt;a href=&quot;http://www.tmall.com/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;淘寶商城&lt;/a&gt;光棍節最吸引人，舉凡服飾、包箱、鞋子……各大熱門精品在11月11日光棍節當日一天開放下殺5折的搶購活動。此外，台灣網友還享有當日在淘寶商城購買商品的退貨寄送服務，體驗淘寶網全方位的優質服務。&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
淘寶商城在2010年創下雙11光棍節在11月11日單日9.36億人民幣的營業額傳奇（折合台幣約40億元，是香港地區實體店家一日的營收總額），共有181家店鋪破百萬業績，同時也讓「雙11」、「光棍節」成為最火的名詞。到底這是怎麼樣的節日，能夠創造出這些神奇營業額？光棍節其實就是單身節的意思，以外型像棍子的1做為代表，因此在11月11日大肆慶祝，顯見現代男女晚婚蔚為趨勢，而普羅大眾的心聲就是真愛難尋，一方面希望早日找到愛情的歸宿、脫離光棍的單身生活，一方面也希望縱使單身，也能得到適當的尊重和擁有享樂的權利&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
看好「單身寵愛，狂歡搶購」的風潮，延續去年規劃的光棍節活動成績亮眼成績、大獲好評，淘寶商城今年以「網購狂歡節」、「雙11狂歡節」的方式作規劃，華麗熱鬧的活動網站已經搶先登場，準備倒數計時迎接光棍節。除了規劃家裝家紡、服飾、鞋包、化粧品、食品母嬰等數百萬件商品同場5折亮相外，也邀請台灣會員共襄盛舉！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
另外，為了讓台灣地區的會員朋友體驗優質的購物服務，只要是11月11日購買淘寶商城商品，即可透過台灣配合的「&lt;a href=&quot;http://www.happyshopping.tw/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;爽購&lt;/a&gt;」物流進行退貨寄送服務，體驗跨國購物的樂趣，一起來享受光棍節：「擺脫單身，迎接閃亮未來！&lt;br /&gt;
&lt;br /&gt;
了解更多關於淘寶商城「光棍節」的活動訊息，請瀏覽：&lt;a href=&quot;http://1111.tmall.com/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://1111.tmall.com&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
想了解更多關於台灣限定的寄送服務，請瀏覽台灣物流配合單位－&amp;nbsp;&lt;a href=&quot;http://www.happyshopping.tw/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;爽購&lt;/a&gt;網站。&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_2012.swf?StickerId=238&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/3154613797749482685/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111111.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/3154613797749482685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/3154613797749482685'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111111.html' title='淘寶商城光棍節11/11網購狂歡一整天，精品下殺5折'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-7170036424480959780</id><published>2011-11-08T23:52:00.001+08:00</published><updated>2012-01-24T18:07:03.777+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="心得筆記"/><title type='text'>HTTP通訊協定</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
電腦的使用習慣，從以前的DOS純文字操作模式，一直到Windows的圖形使用者介面，再到現在的Browser使用環境，變化實在是越來越快。對於現在多數的使用者來說，沒有視窗可以托托~拉拉~點點的操作環境，幾乎可說是不會操作電腦了(也許有點誇大，但週遭的許多朋友陸續&lt;span style=&quot;text-indent: 2em;&quot;&gt;發生&lt;/span&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;這種狀況XD)。&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
進步是好事，畢竟太過繁鎖的學習過程是造成科技無法為人服務的一大障礙。同樣的，瀏覽器的使用介面一舉取代以前的Telnet、BBS等純文字的網路溝通方式，開創出聲光豐富的溝通新體驗，實在是創時代的好產品。&lt;a href=&quot;http://http//www.google.com.tw/&quot; target=&quot;_blank&quot;&gt;Google&lt;/a&gt;甚至提出更創新的作法，要以&lt;a href=&quot;http://googlechromereleases.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Chrome&lt;/a&gt;瀏覽器當作OS(Operation System)，推出&lt;a href=&quot;https://www.google.com/intl/en/chromebook/&quot; target=&quot;_blank&quot;&gt;Chromebook&lt;/a&gt;，讓以往Micforsoft Windows主導的電腦使用習慣有了不一樣的選擇。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
從目前的瀏覽器爭奪態勢來看(有IE、&lt;a href=&quot;http://www.mozilla.org/&quot; target=&quot;_blank&quot;&gt;Firefox&lt;/a&gt;、&lt;a href=&quot;http://googlechromereleases.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Chrome&lt;/a&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;、&lt;a href=&quot;http://www.opera.com/&quot; target=&quot;_blank&quot;&gt;Opera&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: 2em;&quot;&gt;、&lt;a href=&quot;http://www.apple.com/safari/&quot; target=&quot;_blank&quot;&gt;Safari&lt;/a&gt;等)，再輔以各大網路服務紛紛主推的雲端架構，在可見的未來，以瀏覽器作為主要的開發平臺好像是必然的發展方向。對於程式設計師來說，面對這樣的狀況也只能加緊腳步追上，不然可以發揮的舞臺只怕會越來越少。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-variant: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
想要在瀏覽器上開發程式需要學習一些基本的技術，首要自然是必需了解&lt;b&gt;&lt;i&gt;HTTP Protocol(Hypertext Transfer Protocol)&lt;/i&gt;&lt;/b&gt;，就是這個靈活又完整的架構，讓瀏覽器應用程式創造出許多以往想像不到的服務(至少許多服務都是在推出後許～久之後，才驚覺到它的神奇面~_~)。底下連結是W3C上的說明文件，可說是要深入了解&lt;span style=&quot;text-indent: 2em;&quot;&gt;&lt;b&gt;&lt;i&gt;HTTP Protocol((Hypertext Transfer Protocol)&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-style: normal; font-weight: normal; text-indent: 2em;&quot;&gt;的最佳參考資料：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616.html&quot; target=&quot;_blank&quot;&gt;Hypertext Transfer Protocol -- HTTP/1.1&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html&quot; target=&quot;_blank&quot;&gt;HTTP/1.1: Method Definitions&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
不愧是官方文件，內容之生硬真是無法擋，有看是沒有懂阿~_~。只好另外再找幾篇講解比較淺顯易懂的文章，如下：&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dotblogs.com.tw/marcus116/archive/2011/05/29/26428.aspx&quot; target=&quot;_blank&quot;&gt;[HTTP]Http GET、POST Method&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.toright.com/?p=1203&quot; target=&quot;_blank&quot;&gt;淺談 HTTP Method：表單中的 GET 與 POST 有什麼差別？&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://radio-idea.blogspot.com/2010/05/http-get-and-post-basic.html&quot; target=&quot;_blank&quot;&gt;電波幻想: HTTP GET and POST basic&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
特別一提的是，在「&lt;a href=&quot;http://www.dotblogs.com.tw/marcus116/archive/2011/05/29/26428.aspx&quot; target=&quot;_blank&quot;&gt;[HTTP]Http GET、POST Method&lt;/a&gt;」這篇文章中還介紹&lt;a href=&quot;http://www.httpwatch.com/&quot; target=&quot;_blank&quot;&gt;HttpWatch&lt;/a&gt;工具，可以用來觀察POST方法的封包資料傳遞過程，可說是抓取網頁資料的必備工具之一。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em;&quot;&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
另外一些參考資料一併整理如下，方便日後參考：&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://googlechromereleases.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Chrome Releases&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://playpcesor.blogspot.com/2009/07/google-chrome-os.html&quot; target=&quot;_blank&quot;&gt;Google Chrome OS ：瀏覽器多了個名字叫作業系統，網路是未來工作平台&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol&quot; target=&quot;_blank&quot;&gt;Hypertext Transfer Protocol - Wikipedia, the free encyclopedia&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/7170036424480959780/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/http-get-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7170036424480959780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7170036424480959780'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/http-get-post.html' title='HTTP通訊協定'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-2235228351361904543</id><published>2011-11-08T23:42:00.001+08:00</published><updated>2011-11-16T14:14:22.141+08:00</updated><title type='text'>橘子工坊-令人安心的廚房好幫手!</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
橘子工坊-令人安心的廚房好幫手!&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=2010&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
這次又要來介紹橘子工坊兩個超好用的清潔產品!真的是每個家庭都需要有的，不曉得有沒有媽媽們跟我一樣，清潔劑的味道聞久了會頭暈不舒服，尤其是廚房重油汙的清潔劑，味道都很嗆鼻!感覺在清理時一直聞真的很傷身體，而洗碗精也是，我是根本不敢用雙手去洗碗盤或是清理廚房，一定要戴手套，不戴手套的下場就是會脫皮變成媽媽手，但是戴了手套，沒戴口罩，化學清潔劑還是有機會侵入我們的身體裡! 只是萬萬沒想到……蹲在廁所半小時，我腳都快痠死了，結果~&quot;嗯&quot;不出來啦~~吼~!!&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_2010_101108__img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
要介紹這瓶被我稱之為廚房萬用法寶:&lt;strong style=&quot;font-style: normal;&quot;&gt;橘子工坊廚房烤爐清潔劑&lt;/strong&gt;，天啊，說真的用到這瓶我好感動喔!!因為之前我愛用的廚房清潔劑雖然好用，但氣味真的很嗆鼻!常常聞一聞都有頭昏眼花快中毒的感覺!這瓶...只有淡淡的橘子香味兒，說真的以前烤箱裡面我根本不敢用清潔劑清洗，所以害我都只敢烤一些不會亂噴弄髒烤箱的東西，因為烤箱畢竟溫度很高，我怕化學清潔劑殘留在牆壁上，然後一高溫烤就整個溶出來附著在食物上，現在我可以放心的烤東西啦!這瓶橘子工坊廚房烤爐清潔劑，不只是烤箱的好朋友,還是蒸爐和微波爐的好朋友呢!&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_2010_101108__img03.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
&lt;strong style=&quot;font-style: normal;&quot;&gt;橘子工坊天然蔬果清潔精&lt;/strong&gt;，真的一瓶就可以洗碗盤、洗蔬果，好方便!而且又不用像以前一樣疑神疑鬼怕沒洗乾淨吃到肚子裡!而且不含石化界面活性劑，生物分解度高，對我們的生態環境也是一個貢獻喔!&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
現在洗碗盤不用戴手套都好安心，根本不會讓手變得乾燥，脫皮。且產品裡添加甘油，所以手也不會乾燥喔!如果家裡有小BABY的媽媽，就可以放心用這瓶清潔寶寶的食器或奶瓶，以前我幫Murnie洗奶瓶時都要沖好幾遍，就怕小孩子吃下化學清潔劑啊!而且現在很多蔬果都有農藥殘留，我訂的有機蔬菜都沒有蔥，所以蔥都是在菜市場買，買回來我就會趕快用橘子工坊天然碗盤蔬果清潔劑清洗浸泡， 每公升的水滴入3~5cc，然後浸泡3~5分鐘再沖淨即可，100%食品級的原料,讓我們主婦們用的真的很安心呢!&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
現在我們家庭排放的廢水對河川的汙染量已經超過工業用廢水，所以請大家選擇對我們環境友善無毒的清潔劑來為保護水資源盡一份心力!感謝橘子工坊用百分百冷壓橘油,讓我們只留乾淨清潔，不殘留化學毒害!也可以讓媽媽們在清潔時不再聞入一些刺鼻難受的化學味，而是由清香的橘子味取代，保護家人與自己的健康!!就從加入橘子工坊的愛用者開始吧!!!&lt;br /&gt;
參考官網:&amp;nbsp;&lt;a href=&quot;http://www.orangehouse.com.tw/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.orangehouse.com.tw/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_2010.swf?StickerId=237&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/2235228351361904543/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111108.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2235228351361904543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2235228351361904543'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/ad20111108.html' title='橘子工坊-令人安心的廚房好幫手!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-8042995925092018201</id><published>2011-11-01T01:19:00.001+08:00</published><updated>2011-11-15T02:31:01.349+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>Rhino環境應用Java的URL類別抓取網頁資料</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
前篇「&lt;a href=&quot;http://ace33022.blogspot.com/2011/10/rhino-readurl.html&quot; target=&quot;_blank&quot;&gt;應用readUrl函數取得網頁資料&lt;/a&gt;」使用的是&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境提供的函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readUrl()&lt;/a&gt;抓取網頁資料，算是方便又簡單的抓取網頁資料方法，這篇改以呼叫Java的&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/URL.html&quot; target=&quot;_blank&quot;&gt;URL&lt;/a&gt;類別實作抓取網頁資料的作法。
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
其實會想自行改用Java的&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/URL.html&quot; target=&quot;_blank&quot;&gt;URL&lt;/a&gt;類別抓取網頁連線，主要是看到這篇文章「&lt;a href=&quot;http://blog.yslifes.com/archives/367&quot; target=&quot;_blank&quot;&gt;java HttpURLConnection來實作get及post動作&lt;/a&gt;」的範例與說明，該文章同時介紹了GET與POST方法；GET部份其實用函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readUrl()&lt;/a&gt;就可以達成，但POST部份就沒看到Rhino環境有提供適用的函數，看來要想辦法自行設計，剛好「借」該篇文章的程式碼來改看看。
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在這裡先試著完成比較簡單的GET方法，底下程式碼就是應用Java的&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/URL.html&quot; target=&quot;_blank&quot;&gt;URL&lt;/a&gt;類別完成抓取&lt;a href=&quot;http://www.taiwanlottery.com.tw/&quot; target=&quot;_blank&quot;&gt;樂透彩&lt;/a&gt;網頁的程式碼：
&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot;&gt;/**
 *
 * Rhino環境應用Java的URL類別抓取網頁資料
 *
 * @author ace
 *
 * @version 2011/10/31 v0.1
 *
 * @see &amp;lt;a href=&quot;http://blog.yslifes.com/archives/367&quot;&amp;gt;java HttpURLConnection來實作get及post動作&amp;lt;/a&amp;gt;
 * @see &amp;lt;a href=&quot;http://blog.xuite.net/ray00000test/blog/32131847&quot;&amp;gt;下載網頁檔案、擷取網頁html&amp;lt;/a&amp;gt;
 * 
 * @description
 *
 */

load(&quot;js/rhino/InitialEnv.js&quot;);

try {
  // 威力彩(http://www.taiwanlottery.com.tw/Lotto/SuperLotto638/history.aspx) 
  var strSourceURL = new String(&quot;http://www.taiwanlottery.com.tw/Lotto/SuperLotto638/history.aspx&quot;); 
  var strTargetFile = new String(&quot;C:\\Dev-Rhino\\SuperLotto638.html&quot;);

  // 資料寫入檔案(UTF8編碼格式)。
  var filTarget = new java.io.File(strTargetFile);
  var fisTarget = new java.io.FileOutputStream(filTarget); 
  var BufferedWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(fisTarget, &quot;UTF-8&quot;));

  var URL = new java.net.URL(strSourceURL);
  var URLConnection = URL.openConnection();

  var isSource = new java.io.InputStream(URLConnection.getInputStream());
  var BufferedReader = new java.io.BufferedReader(new java.io.InputStreamReader(isSource, &quot;UTF-8&quot;));
  
  var strTemp = new String();
  while ((strTemp = BufferedReader.readLine()) != null) {
  
    BufferedWriter.write(strTemp);
    BufferedWriter.newLine();
  }
}
catch (e) {
  print(&quot;執行過程有誤，錯誤訊息：&quot; + e.message);
}
finally {
  if (BufferedWriter != null) {
    BufferedWriter.flush();
    BufferedWriter.close();
  }  
} 
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
修改之後的程式碼與原文章「&lt;a href=&quot;http://blog.yslifes.com/archives/367&quot; target=&quot;_blank&quot;&gt;java HttpURLConnection來實作get及post動作&lt;/a&gt;」介紹的GET方法略有出入，原文章尚有補強header送出的字串，看起來比較完整；只是改到&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境的JavaScript語法遇到一些狀況，所以略微調整成以上的程式碼。(其實是碰上轉型的問題，原文章採用Java語言設計，再將&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/URL.html&quot; target=&quot;_blank&quot;&gt;URL&lt;/a&gt;類別轉型成&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/HttpURLConnection.html&quot; target=&quot;_blank&quot;&gt;HttpURLConnection&lt;/a&gt;類別後再接續進行連線設定與操作；但在JavaScript語法中沒有轉型語法，故原文章介紹的程式碼無法完整在&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境完成，只好變通改以&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/net/URL.html&quot; target=&quot;_blank&quot;&gt;URL&lt;/a&gt;類別直接操作。)&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
儘管少掉送出header的功能，也不如原文章「&lt;a href=&quot;http://blog.yslifes.com/archives/367&quot; target=&quot;_blank&quot;&gt;java HttpURLConnection來實作get及post動作&lt;/a&gt;」設計的完整，但以上精簡後的版本還是可以用來抓到&lt;a href=&quot;http://www.taiwanlottery.com.tw/&quot; target=&quot;_blank&quot;&gt;樂透彩&lt;/a&gt;網頁資料，也算達到目的。至於轉型的問題，目前正在找資料，看有沒有解決的方法 ~_~&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/8042995925092018201/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/11/rhino-java-url.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8042995925092018201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/8042995925092018201'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/11/rhino-java-url.html' title='Rhino環境應用Java的URL類別抓取網頁資料'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-870153431037520665</id><published>2011-10-29T00:49:00.001+08:00</published><updated>2011-11-07T04:11:51.156+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>應用readUrl函數取得網頁資料</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
抓取網頁資料在程式設計討論區中可說是常被提及的問題，在之前的「&lt;a href=&quot;http://ace33022.blogspot.com/2010/11/wsh-xmlhttp.html&quot; target=&quot;_blank&quot;&gt;利用WSH環境的JScript抓取網頁資料&lt;/a&gt;」文章中，就已經試過抓取網頁資料。現在換到&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境下，也用這個課題來實作一下。
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在&lt;a href=&quot;http://ace33022.blogspot.com/search/label/WSH&quot; target=&quot;_blank&quot;&gt;WSH&lt;/a&gt;環境下，採用的是Microsoft.XMLHttp物件抓取網頁資料；轉換到&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境下，當然沒有這樣的物件。只是&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;可以應用Java的物件，所以要達到抓取網頁的功能當然也可以透過呼叫Java的物件來完成。不過殺雞焉用牛刀，&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境即提供函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readUrl()&lt;/a&gt;可以抓取網頁資料，已足夠用來抓取一般的網頁資料。
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
底下程式碼就是使用函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readUrl()&lt;/a&gt;抓取樂透彩網站的開獎號碼網頁資料：&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot;&gt;/**
 *
 * 使用Rhino的readUrl()函數取得網頁資料。
 *
 * @author ace
 *
 * @version 2011/10/31 v0.1
 *
 * @see &amp;lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot;&amp;gt;readUrl(url [, characterCoding])&amp;lt;/a&amp;gt;
 * 
 * @description
 *
 */

load(&quot;js/rhino/InitialEnv.js&quot;);

try {

  // 威力彩(http://www.taiwanlottery.com.tw/Lotto/SuperLotto638/history.aspx)
  var strSourceURL = new String(&quot;http://www.taiwanlottery.com.tw/Lotto/SuperLotto638/history.aspx&quot;); 
  var strTargetFile = new String(&quot;C:\\Dev-Rhino\\SuperLotto638.html&quot;);

  // 資料寫入檔案(UTF8編碼格式)。
  var filTarget = new java.io.File(strTargetFile);
  var fisTarget = new java.io.FileOutputStream(filTarget); 
  var BufferedWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(fisTarget, &quot;UTF-8&quot;));
  
  // 使用Rhino的readUrl()函數讀取網頁內容。
  var URLContent = new String(readUrl(strSourceURL, &quot;UTF-8&quot;));
  
  BufferedWriter.write(URLContent);
}
catch (e) {
  print(&quot;執行過程有誤，錯誤訊息：&quot; + e.message);
}
finally {
  if (BufferedWriter != null) {
    BufferedWriter.flush();
    BufferedWriter.close();
  }
}        
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
抓取網頁資料同樣需要注意編碼格式，以免取得的網頁資料變成亂碼；函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readUrl(url_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readUrl()&lt;/a&gt;的第二個引數即可指定取得網頁的編碼格式，可說是相當方便的設計。&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/870153431037520665/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/rhino-readurl.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/870153431037520665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/870153431037520665'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/rhino-readurl.html' title='應用readUrl函數取得網頁資料'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-7922674270004501276</id><published>2011-10-28T13:25:00.001+08:00</published><updated>2011-10-30T21:12:59.038+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>應用readFile函數讀取檔案</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在之前的「&lt;a href=&quot;http://ace33022.blogspot.com/2011/07/rhino-java-package.html&quot; target=&quot;_blank&quot;&gt;Rhino運用Java物件的方式&lt;/a&gt;」、「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhino-java-package.html&quot; target=&quot;_blank&quot;&gt;Rhino運用Java物件讀寫UTF-8文字檔案&lt;/a&gt;」文章裡頭都是在&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境下載入Java的&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/io/FileReader.html&quot; target=&quot;_blank&quot;&gt;FileReader&lt;/a&gt;、&lt;a href=&quot;http://download.oracle.com/javase/6/docs/api/java/io/InputStreamReader.html&quot; target=&quot;_blank&quot;&gt;InputStreamReader&lt;/a&gt;物件進行讀取檔案的功能；後來再回到&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;官網才發現，原來&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境已經提供函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readFile(path_.5B.2C_characterCoding.5D)&quot; target=&quot;_blank&quot;&gt;readFile()&lt;/a&gt;讀取檔案，且可藉由指定引數來讀取不同編碼格式的檔案。
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
改寫一下之前「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhino-java-package.html&quot; target=&quot;_blank&quot;&gt;Rhino運用Java物件讀寫UTF-8文字檔案&lt;/a&gt;」文章的程式碼如下：&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot;&gt;/**
 *
 * 應用函數readFile()讀取檔案。
 *
 * @author ace(http://ace33022.blogspot.com/)
 *
 * @version 2011/10/27 v0.1 初始版本。
 *
 * @see &amp;lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#readFile(path_.5B.2C_characterCoding.5D)&quot;&amp;gt;readFile(path [, characterCoding])&amp;lt;/a&amp;gt;
 *
 * @description
 *
 */
 
load(&quot;js/rhino/InitialEnv.js&quot;);
 
try {

  var strSourceFile = new String(&quot;C:\\Dev-Rhino\\joke-utf8.txt&quot;);
  
  // 應用函數readFile()讀取檔案內容(UTF8編碼格式)。
  var FileContent = readFile(strSourceFile, &quot;UTF-8&quot;);
  
  print(FileContent);
}
catch (e) {
    print(&quot;執行過程有誤，錯誤訊息：&quot; + e.description);
}
finally {
}
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
原本自行使用迴圈逐行讀取的程式碼也省了，配合函數&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#print(.5Bexpr_....5D)&quot; target=&quot;_blank&quot;&gt;print()&lt;/a&gt;就可以顯示，程式碼簡潔不少。&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/7922674270004501276/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/rhino-readfile.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7922674270004501276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7922674270004501276'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/rhino-readfile.html' title='應用readFile函數讀取檔案'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-1692078024120425594</id><published>2011-10-26T23:32:00.001+08:00</published><updated>2011-10-26T23:35:13.551+08:00</updated><title type='text'>運動高手下戰帖！急尋「鐵腿」傳人， 快來拿OSIM美腿機</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
運動高手下戰帖！急尋「鐵腿」傳人&lt;br /&gt;
快來拿OSIM美腿機&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=1980&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1980_111025_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
台灣高爾夫球之光曾雅妮，在眾所期待下，把LPGA大賽的冠軍留在家鄉！這是台灣第一次主辦LPGA大賽，就擊出一場漂亮的戰役！你也跟曾雅妮一樣，對運動有著無比的熱情？或平常有運動習慣，不定時會登山、慢跑、打球、跳舞，或上上健身房？或者……你正在努力減重，想讓自己更健康窈窕？&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
如果你符合上述任一狀況，那麼恭喜你，你有很大的機會可以把市價18,800元的OSIM美腿機帶回家！！趕快來參加「運動高手下戰帖！急尋鐵腿傳人」活動：&lt;a href=&quot;http://www.titan-tech.com.tw/store/activity/index.php&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.titan-tech.com.tw/store/activity/index.php&lt;/a&gt;只要你在活動期間內，相揪你的親朋好友、左鄰右舍、網友等一起體驗最專業的titan襪任一襪款，就有機會把大獎抱回家！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
titan襪是國內首度結合運動原理和生物力學，根據不同運動的衝擊力大小，以及所需要的專業防護，設計出來的襪子。它採用純棉設計，舒適、透氣且吸汗，同時包覆腳部、支撐足弓、分散足壓等特殊設計，讓雙腳不論是走路、站立或運動都變得更輕鬆。而且它經過許多運動高手的試穿體驗，獲得一致的好評價！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
熱愛慢跑7年的&quot;趴趴牛&quot;，是位很會流汗的跑者，每次跑步襪子就會濕漉漉的，更嚴重的是，如果進行長距離路跑，像是馬拉松之類的，潮濕的襪子會讓他的腳底起水泡受傷！在穿了titan襪，以及另一雙不知名運動襪試跑後，他說：「titan襪襪底的氣體導流溝巢設計，提供襪子與鞋墊間絕佳的止滑。合腳和服貼性，讓襪子在激烈的上下坡路跑過程中，襪子與腳部間保持幾乎沒有移動，腳指與腳掌的間隙也沒有皺摺，有效避免腳底磨擦、產生水泡受傷。」&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
打籃球資歷有20年的&quot;摩根先生&quot;，則對titan籃球襪讚譽有加：「前端加厚的部分很不錯，對打籃球的人來說，趾間加厚對會用趾間跑跳的人來說舒服許多。」而今年6月成功挑戰百岳，常參加鐵人賽事和越野挑戰賽的運動高手&quot;泰域&quot;，則把titan襪穿去挑戰四天的北二段O型縱走路現，重裝約18公斤，「這雙襪子出奇排汗和除臭，穿完一整天行程後在山屋紮營，毫不猶豫拿起來聞，幸好一點味道也沒有。」&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
單車拜客佑佑也對titan襪的緩衝印象深刻！他說：「運動中由於不停踩踏，下壓時承受的衝擊力非常大，更有瞬間衝擊，因此足底筋膜需要足夠的緩衝力伸張，穿titan襪明顯感受到有較好的緩衝！」&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
你還不相信titan襪在運動界的魅力？趕快親自試試看，沒試過titan，別說你穿過真正的運動襪！&lt;a href=&quot;http://www.titan-tech.com.tw/store/activity/index.php&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.titan-tech.com.tw/store/activity/index.php&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1980.swf?StickerId=229&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/1692078024120425594/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111026.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1692078024120425594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1692078024120425594'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111026.html' title='運動高手下戰帖！急尋「鐵腿」傳人， 快來拿OSIM美腿機'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-2214498232163422616</id><published>2011-10-20T23:45:00.001+08:00</published><updated>2011-10-21T02:27:58.939+08:00</updated><title type='text'>阿基師：「調整體質 我現在喝深命力！」</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
阿基師：「調整體質 我現在喝深命力！」&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=1951&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;369&quot; src=&quot;http://www.youtube.com/embed/TFB3Rlu9ejo&quot; width=&quot;500&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
依據104人力銀行2010年的調查，目前25~45歲的上班族每日外食二次以上的比例高達64%，飲食不均衡的情況更高達八成以上！你就是勞心勞力、天天坐在辦公桌前為公事奔忙的上班族嗎?小心，你經常外食、蔬果長期攝取不足、熬夜、應酬、工作操勞，這些看似已經習慣的作息方式正逐步影響您的身體健康，如果再不想辦法，你的體質漸漸改變，健康也就亮起紅燈了！&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1951_111014_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
許多人透過攝取「鹼性食物」來調整體質，但是你知道什麼才是判定食物酸鹼性的關鍵嗎？其實食物的「酸鹼性」，並不是憑口感或驗pH值的石蕊試紙決定，而是依食物本身所含的酸性或鹼性元素多寡而定喔！舉例來說，&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;像是檸檬、梅子和果醋，雖然吃起來酸酸的，但因這些食材含有較多鹼性元素，因此都屬於鹼性食材。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;如果平時太忙碌，沒有足夠時間吃水果，或很難忍受檸檬那類太酸的食物，想調整體質、維持健康，其實還有更簡單方便的方式：只要您長期飲用含「天然鹼性元素」的海洋深層水&lt;/span&gt;，除了解渴外，更可以藉此吸收到鎂、鈉、鉀、鈣等天然鹼性元素，讓你調整體質、健康滿分！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
市面上的鹼性水不少，但是，你真的喝對了嗎？事實恐怕讓你大感意外！市面上幾款號稱pH值呈鹼性的「鹼性離子水」，其實是透過「電解」的方式，讓水的pH值成為弱鹼性，但一旦開瓶後接觸空氣，很快就會回復到一般水的pH值，更要注意的是：此類離子水中鹼性元素含量極低，無助於調整體質。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
由阿基師推薦、現正熱銷的&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;「深命力鹼性元素海洋深層水」&lt;/span&gt;，是取自花蓮東岸西太平洋662公尺深之海洋深層水，除了水分子團小能被人體迅速吸收。它透過高科技提取技術&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;保留了深層海水中天然鹼性元素，鹼性元素含量比市售的離子水多出3倍以上！開瓶後不易受空氣影響，可調整體質，有益健康，是真正的鹼性元素水。&lt;/span&gt;「深命力」榮獲國內經濟部標準檢驗局VPC與國際HACCP、ISO 22000等三項品質驗證，讓你喝的安心，健康有保障。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
作為「深命力」的代言人阿基師，瞭解到「真正」鹼性元素水的概念後，都不禁說：「以前以為喝鹼性水，就能調整體質，結果也不知道有沒有喝到？現在我都喝深命力，它的天然鹼性元素比一般鹼性離子水更豐富，還有三項驗證掛保證。看清楚！有天然鹼性元素，才能調整體質喔！」，注重健康的您，快跟阿基師一起喝「深命力」調整體質吧！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
想真正調整體質？ 讓阿基師告訴您秘訣：&lt;a href=&quot;http://www.taiwanyes-dow.com.tw/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;www.taiwanyes-dow.com.tw&lt;/a&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; width: 350px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;鹼性元素成人一日建議攝取量&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor=&quot;#88b7cf&quot; style=&quot;color: white;&quot;&gt;&lt;th align=&quot;center&quot; style=&quot;font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;鹼性元素&lt;/th&gt;&lt;th align=&quot;center&quot; style=&quot;font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;毎日建議攝取量(毫克)&lt;/th&gt;&lt;/tr&gt;
&lt;tr bgcolor=&quot;#d3e2e9&quot;&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;鎂&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;320~380&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor=&quot;#fff&quot;&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;鈉&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;2,400&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor=&quot;#d3e2e9&quot;&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;鉀&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;4,700&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor=&quot;#fff&quot;&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;鈣&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;1,000&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; padding-top: 15px;&quot;&gt;*參考衛生署網站及美國飲食參考攝取量&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1951.swf?StickerId=223&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/2214498232163422616/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111020.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2214498232163422616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2214498232163422616'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111020.html' title='阿基師：「調整體質 我現在喝深命力！」'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/TFB3Rlu9ejo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-4833832731760808411</id><published>2011-10-03T23:19:00.001+08:00</published><updated>2011-10-03T23:45:19.862+08:00</updated><title type='text'>「精彩一百 生日派對」 國寶級歌手胡德夫確定演出</title><content type='html'>&lt;div class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
「精彩一百 生日派對」 國寶級歌手胡德夫確定演出&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; height=&quot;320&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1919_111003_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; width=&quot;400&quot; /&gt;&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=1919&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
建國百年國慶晚會的搖滾音樂劇《夢想家》於日前進行總彩排，國慶晚會創意總監賴聲川導演率領臺北、臺中兩地超過100位演員在臺北建國啤酒廠大整合。受邀前往觀賞的包括文建會主委盛治仁、陳志遠遺孀陳若葵女士及名主持人陳文茜，大家對於國慶晚會的演出內容表示滿意，並且深受感動。臺灣國寶級的原住民歌手胡德夫，也確定將於國慶晚會高歌一曲，絕對讓當天的觀賞民眾值回票價。&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
《夢想家》劇情交錯百年的時空，訴說愛情、親情與國家大愛，主演的幾位演員雖然年輕，但經過幾個月的揣摩和磨練，不論是演技、舞技和歌聲，都已達到專業演出的水準，排演時一旁的來賓不時被劇情所感動，頻頻鼻酸拭淚。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
賴聲川導演表示，由於國慶晚會工作人員人數相當龐大，舞台演出人員超過100人，幕後工作人員也高達500人，平常分別在臺北與臺中兩地分別排練，只有少數時間臺中體院的演出學生北上，才能有珍貴的機會進行整體彩排。目前所有工作人員已移師臺中，展開更密集嚴格的排練，為國慶晚會做最完善的準備，相信在演出當晚，一定能帶給大家巨大的感動。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
而有「臺灣民歌之父」美譽的原住民歌手胡德夫，確定會在國慶晚會演出，肯定會讓國慶晚會的表演更添風采。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
《夢想家》預定於10月10日晚間7:30在臺中市的圓滿戶外劇場演出，另外為了讓更多民眾能共同歡度一百年國慶，特別在隔日10月11日晚間8:00加演一場。為慶祝國慶，所有票價皆為100元，民眾可透過7-11 ibon購票。由於門票即將售罄，請民眾把握最後的機會盡快前往購票。&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1919.swf?StickerId=215&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/4833832731760808411/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111003.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/4833832731760808411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/4833832731760808411'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111003.html' title='「精彩一百 生日派對」 國寶級歌手胡德夫確定演出'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-5024229712890088113</id><published>2011-10-01T00:52:00.001+08:00</published><updated>2011-10-01T01:05:42.134+08:00</updated><title type='text'>FETnet搜好康 手機上網也能搜</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
FETnet搜好康 手機上網也能搜&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=1916&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1916_110929_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;may_font_green&quot; style=&quot;color: #52832e; font-weight: bold;&quot;&gt;會員回娘家 月月抽Apple iPod Touch 任天堂NDS遊戲機&lt;br /&gt;加碼HAPPY GO點數20點 再抽Sony VAIO筆電&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
「FETnet搜好康」活動推出後引發空前的熱烈迴響！為了讓FETnet會員可以隨時掌握好康訊息、隨地搶購好東西，即日起手機上網也能瀏覽遠傳「FETnet搜好康」活動情報，以及快速查詢遠傳各項數位內容，如：S市集、影城、Omusic、e書城等最新推薦跟人氣排行，所有會員相關活動與服務好康都能經由手機查詢並參加！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
手機上網直接輸入&lt;a href=&quot;http://www.fetnet.net/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;www.fetnet.net&lt;/a&gt;，即可馬上進入FETnet專為手機族群所規劃的行動網站，簡潔易閱的規劃設計，由上到下分為三大區塊來呈現資訊內容：「最新推薦」、「人氣排行榜」與「搜好康活動專區」。「最新推薦」專區，包含蘋果日報新聞天天看、音樂、閱讀、應用軟體、影視等內容；往下瀏覽可看到「電子書」、「全曲／MP3」、「來電鈴聲」、「鈴聲下載」等類別的「人氣排行榜」，讓使用者可快速掌握最夯的下載排行榜。最下方就是大受好評的「FETnet搜好康活動專區」，除了針對時事與節日推出熱門話題的留言活動和全民公投外，還可參加遠傳數位內容相關的好康活動。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
遠傳FETnet搜好康各項活動，不限遠傳電信用戶都可以參加。現在只要是FETnet會員朋友，在9月20日到12月31日之間，回FETnet參加會員獎不完回娘家活動，體驗S市集、影城、Omusic、e書城等遠傳最新數位服務內容，每月都有不同的超值好禮讓會員朋友免費領取，月月再抽出Apple iPod Touch、任天堂NDSL掌上遊戲機，連抽三個月！另外，在9月30日前加碼送每位會員可獲得HAPPY GO點數20點；活動壓軸時更將抽出價值四萬多的Sony VAIO筆電！想馬上體驗獎不完的好康優惠嗎？ 立即上活動網站：&amp;nbsp;&lt;a href=&quot;http://event.fetnet.net/backhome/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://event.fetnet.net/backhome/&lt;/a&gt;，手機上網的會員朋友可輸入：&lt;a href=&quot;http://event.fetnet.net/backhome/Mobile/&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://event.fetnet.net/backhome/Mobile/&lt;/a&gt;，都可以參加獎不完活動。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
此外，遠傳e書城推出「免費試讀尋寶趣，送開卷神秘禮加碼抽限量實體書」活動，只要下載試讀本，即可抽限量實體書，還能享新書79折再折15元超值優惠！試讀本中擁有諸多的熱銷書籍，如再出發的台灣之光－《「沈默的王牌　王建民》為洋基記者6年來的貼身觀察所撰出的王建民心路歷程；還有永遠不敗的青春玉女林青霞的戲夢人生－《「窗裡窗外》，以及日本趨勢大師大前研一與知名服裝品牌Unique創辦人柳井正合作所寫之超人氣新書《放膽去闖》等，皆能免費下載試閱。搶鮮閱讀最新暢銷電子書，就在遠傳e書城！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
想要了解更多FETnet好康活動訊息，除了上FETnet官網會員活動專區外（不限電腦版或手機版），還可以鎖定Facebook FETnet搜好康粉絲團，還有粉絲專屬的好康活動！想要免費獲得更多3C用品、現金禮券嗎？立即加入FETnet搜好康粉絲團，好康活動永不漏接！請上網搜尋：「FETnet搜好康」，或是直接連上：&lt;a href=&quot;http://www.facebook.com/FETnetfans&quot; style=&quot;color: #df4f4f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;http://www.facebook.com/FETnetfans&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1916.swf?StickerId=213&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a class=&quot;logo&quot; href=&quot;http://www.sitebro.tw/zh5a049494/&quot; id=&quot;sitebro_stick_logo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://image.tw.sitebro.com/img/b/stick_sitebro.png&quot; style=&quot;border: 0;&quot; /&gt;&lt;/a&gt;&lt;script type=&quot;text/javascript&quot;&gt;
var sitebot_JsHost = &quot;http://www.sitebro.tw/&quot;;var sitebot_userid = &quot;MTAxNzcz&quot;;var sitebot_websiteid = &quot;NDk0OTQ=&quot;; var sitebot_lang = &quot;zh_TW&quot;;
&lt;/script&gt;&lt;script src=&quot;http://www.sitebro.tw/track.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/5024229712890088113/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111001.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5024229712890088113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5024229712890088113'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/10/ad20111001.html' title='FETnet搜好康 手機上網也能搜'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-7623287452217801245</id><published>2011-09-15T17:05:00.001+08:00</published><updated>2011-10-29T02:33:59.912+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>應用load函數載入共用的程式碼</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
對於經常共用的程式碼，撰寫成獨立的檔案後再提供給主程式載入呼叫，是再平常不過的作法(其實這也是必要的，重複程式碼的存在表示日後維護上的可怕夢靨)。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境下是透過&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#load(.5Bfilename.2C_....5D)&quot; target=&quot;_blank&quot;&gt;load()&lt;/a&gt;函數載入外部JavaScript程式碼，載入的語法可以採用絕對路徑與相對路徑的方式；這樣一來，可以考慮將共用的JavaScript程式碼統一放置在固定目錄下，採用絕對路徑的方式載入共用的程式碼。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
雖然採用絕對路徑的方式可以達到共用程式碼只需要一份的目的，但在不同電腦上使用時，就必須建立該路徑(不然就是要修改程式碼內的路徑字串)，若是再考量作業系統的差異，使用絕對路徑有時不見得是方便的方式。有鑑於此，我還是習慣使用相對路徑的方式，在「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/dev-rhino.html&quot; target=&quot;_blank&quot;&gt;整合Portable Notepad++的Rhino執行環境&lt;/a&gt;」設計的批次檔中，就加入工作路徑切換，目的就是方便&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#load(.5Bfilename.2C_....5D)&quot; target=&quot;_blank&quot;&gt;load()&lt;/a&gt;函數使用相對路徑指定共用的JavaScript程式碼。只是這樣一來，變成在每個設計工作的目錄下都必須複製乙份這些共用的程式碼；而且當共用的JavaScript程式碼有修改時，如何維持這些共用JavaScript程式碼保持一至也是一個需要留意的問題。
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
廢話寫完了，接下來以「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhino-console.html&quot; target=&quot;_blank&quot;&gt;指定Rhino環境的DOS視窗編碼格式&lt;/a&gt;」該文的程式碼，將Console視窗輸出的編碼格式獨立至InitialEnv.js檔案，再應用&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#load(.5Bfilename.2C_....5D)&quot; target=&quot;_blank&quot;&gt;load()&lt;/a&gt;函數載入此檔案。InitialEnv.js檔案的程式碼如下：&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
InitialEnv.js檔案的程式碼如下：&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot;&gt;/**
 *
 * 初始執行環境之相關設定。
 *
 * @author ace
 *
 * @version 2011/08/22 v0.1
 *
 * @see
 * 
 * @description
 *
 */

// 設定console輸出資料為Big5編碼格式。 
java.lang.System.setOut(new java.io.PrintStream(java.lang.System.out, true, &quot;BIG5&quot;));
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
原程式碼修改後如下：&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot;&gt;/**
 *
 * Rhino字元編碼。
 *
 * @author ace
 *
 * @version 2011/09/03 v0.1
 *
 * @see &amp;lt;a href=&quot;http://www.mozilla.org/rhino/ScriptingJava.html&quot;&amp;gt;Scripting Java&amp;lt;/a&amp;gt;
 * @see &amp;lt;a href=&quot;https://developer.mozilla.org/en/Scripting_Java&quot;&amp;gt;Scripting Java&amp;lt;/a&amp;gt;
 * @see &amp;lt;a href=&quot;https://developer.mozilla.org/en/JavaScript/Reference/Statements/try...catch&quot;&amp;gt;try...catch&amp;lt;/a&amp;gt;
 * @see &amp;lt;a href=&quot;http://www.javascriptkit.com/javatutors/trycatch.shtml&quot;&amp;gt;Handling runtime errors in JavaScript using try/catch/finally&amp;lt;/a&amp;gt;
 *
 * @see &amp;lt;a href=&quot;http://caterpillar.onlyfun.net/Gossip/Encoding/UnicodeUTF.html&quot;&amp;gt;Unicode 與 UTF&amp;lt;/a&amp;gt;
 * @see &amp;lt;a href=&quot;http://caterpillar.onlyfun.net/Gossip/Encoding/UTF8.html&quot;&amp;gt;UTF-8&amp;lt;/a&amp;gt;
 *
 * @description
 *
 */
 
// 使用load()函數載入InitialEnv.js檔案。
load(&quot;js/rhino/InitialEnv.js&quot;);
 
try {
    // 開始執行程式
    print(&quot;Rhino script start running...&quot;);
    print(&quot;顯示測試資料！&quot;);
    print(&quot;阿堃！&quot;);
}
catch (e) {
    print(&quot;執行過程有誤，錯誤訊息：&quot; + e.description);
}
finally {
}
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
執行畫面如下：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuGR47t8ImIZmbUbpOmdBVLMIZ-lKJNiyPGhWQ1f8DFXis-vmun9fSFt-c4pPi3iGiCYLHZ9UTnzyyEaHyZ3RpCGav58lUm4muOY_SFjV3xo-j5gtoXfAgE5yQjQ19RDjlRK1zZijGIWMH/s1600/Rhino_001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuGR47t8ImIZmbUbpOmdBVLMIZ-lKJNiyPGhWQ1f8DFXis-vmun9fSFt-c4pPi3iGiCYLHZ9UTnzyyEaHyZ3RpCGav58lUm4muOY_SFjV3xo-j5gtoXfAgE5yQjQ19RDjlRK1zZijGIWMH/s400/Rhino_001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
這樣就完成載入InitialEnv.js檔案並執行！！&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/7623287452217801245/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/09/rhino-load.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7623287452217801245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7623287452217801245'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/09/rhino-load.html' title='應用load函數載入共用的程式碼'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuGR47t8ImIZmbUbpOmdBVLMIZ-lKJNiyPGhWQ1f8DFXis-vmun9fSFt-c4pPi3iGiCYLHZ9UTnzyyEaHyZ3RpCGav58lUm4muOY_SFjV3xo-j5gtoXfAgE5yQjQ19RDjlRK1zZijGIWMH/s72-c/Rhino_001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-1547625562631225741</id><published>2011-09-01T02:20:00.001+08:00</published><updated>2011-09-01T02:26:31.504+08:00</updated><title type='text'>台灣白花油特教盃樂樂棒球 勇敢天使的黃金時刻</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f3f3f3; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
台灣白花油特教盃樂樂棒球 勇敢天使的黃金時刻&lt;img border=&quot;0&quot; src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;amp;pid=1869&amp;amp;ppid=2&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 520px;&quot;&gt;
&lt;object height=&quot;311&quot; sap=&quot;object&quot; width=&quot;500&quot;&gt;&lt;embed height=&quot;311&quot; width=&quot;500&quot; src=&quot;http://www.youtube.com/v/j2RSHF1Q3Lw?version=3&amp;amp;hl=zh_TW&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 20px; width: 520px;&quot;&gt;
建國百年白花油盃樂樂棒球錦標賽暨第一屆特教盃樂樂棒球邀請賽，已經在5月29日、30日二天熱鬧展開囉！這次總共有接近100支來自全台各地的國小隊伍，包括特教班的小朋友們，一起共襄盛舉，讓台北市立田徑場頓時多了稚嫩孩童的歡呼聲！&lt;br /&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
比賽當天，現場的氣氛是既緊張又溫馨，許多參與活動的家長、貴賓們，看到現場600多名特教班小朋友那勇敢、認真應戰的態度，相當感動。他們在平日努力練習下，各個摩拳擦掌，在場上用力揮棒、奔跑，場下也大聲加油，躍躍欲試。&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
然而這些看似簡單的動作，對特教班小朋友來說，是需要一而再、再而三的練習和解說，才能完成的重大工程。也因此，今年白花油和中華民國樂樂棒球協會，特別為特教班孩子們舉辦獨立賽事「第一屆特教盃樂樂棒球邀請賽」！&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
在歷經三年的觀摩培訓，數百位特教班師生終於在今年可以走出教室打棒球，甚至還有些行動不便的小朋友，坐著輪椅參加。老師說：「小朋友們都很高興，因為他們終於有機會可以走出戶外，揮棒打棒球！」&lt;/div&gt;
&lt;div style=&quot;height: auto; overflow-x: hidden; overflow-y: hidden; padding-bottom: 4px; padding-left: 2px; padding-right: 0px; padding-top: 4px; width: auto;&quot;&gt;
白花油表示，透過這樣的賽事，讓小朋友們學會了互動、了解團隊合作的重要，增進彼此的人際關係，以及體會運動家精神。而且更重要的是，白花油堅持多年的樂樂棒球，「在孩子們從一開始的不熟悉，到現在可以輕鬆駕馭球棒、揮出好球，讓白花油感到很欣慰。」白花油也希望能和大家一起分享令人動容的畫面，欣賞天使們的純真，邀請你記得下回要和白花油一起來為孩子們加油喔！&lt;/div&gt;
&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1869_100901_img02.jpg&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(68, 68, 68); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(68, 68, 68); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(68, 68, 68); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(68, 68, 68); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 7px; margin-right: 2px; margin-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot; /&gt;&lt;/div&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1869.swf?StickerId=203&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/1547625562631225741/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/09/ad20110901.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1547625562631225741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/1547625562631225741'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/09/ad20110901.html' title='台灣白花油特教盃樂樂棒球 勇敢天使的黃金時刻'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-7886724237543523270</id><published>2011-08-31T03:02:00.011+08:00</published><updated>2011-08-31T03:13:45.927+08:00</updated><title type='text'>「MOD的體育頻道守備範圍超廣，全面防守不漏接！」</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: Arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #444444; font-family: Arial,Helvetica,sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;div class=&quot;may_font_h3&quot; style=&quot;color: #f67a00; float: left; font-size: 22px; font-weight: bold; line-height: 28px; margin: 5px 0px 0px; padding: 0px 0px 10px; width: 520px;&quot;&gt;MOD的體育頻道守備範圍超廣，全面防守不漏接！&lt;/div&gt;&lt;div style=&quot;margin: 0px; padding: 0px; width: 520px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;may_pic&quot; src=&quot;http://pic.bloggerads.net/portal/ACT_ICON/act_1862_110826_img02.jpg&quot; style=&quot;background-color: white; border: 1px solid rgb(68, 68, 68); margin: 2px 2px 5px 7px; padding: 2px;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;may_font_h4&quot; style=&quot;float: left; font-size: 12px; font-weight: 100; margin: 0px; padding: 10px 0px 0px 5px; text-indent: 20px; width: 520px;&quot;&gt;之前有發表一篇MOD豪華套餐電影頻道的體驗心得，但其實MOD裡的體育頻道更值得跟大家分享分享。&lt;img src=&quot;http://js1.bloggerads.net/p_impr.aspx?bid=20100925000097&amp;pid=1862&amp;ppid=2&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;height: auto; margin: 0px; overflow: hidden; padding: 4px 0px 4px 2px; width: auto;&quot;&gt;MOD的家庭豪華餐裡一共有10個體育頻道(重點還是HD高畫質的，超有臨場感的!!!)，籃球、棒球、足球、撞球、高爾夫球，其實那麼多頻道，我也不是全部都會看，但只要有台灣球星出賽的，能為中華隊、台灣之光加油的比賽，我一定照單全收。&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;height: auto; margin: 0px; overflow: hidden; padding: 4px 0px 4px 2px; width: auto;&quot;&gt;MOD在這部分做的真的很棒，像是曾雅妮、王建民的比賽，MOD幾乎都會轉播，還是高畫質的，另外我也看到MOD有一個「台灣之光專區」，有收錄一些台灣選手的比賽影片，真的很貼心！&lt;/div&gt;&lt;div style=&quot;height: auto; margin: 0px; overflow: hidden; padding: 4px 0px 4px 2px; width: auto;&quot;&gt;其實仔細看一看，第四台一個月要花5~600元，MOD一個月才359元就可以看到一百多個頻道，電影、體育頻道都超豐富的，還有壹電視新聞，完全滿足了我的收視需求。&lt;/div&gt;&lt;div style=&quot;height: auto; margin: 0px; overflow: hidden; padding: 4px 0px 4px 2px; width: auto;&quot;&gt;如果大家有在考慮辦MOD，我真心推薦有機會不妨可以去試看看喔！&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;embed allowscriptaccess=&quot;never&quot; height=&quot;140&quot; src=&quot;http://js1.bloggerads.net/Stickers/news_1862.swf?StickerId=198&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;535&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/7886724237543523270/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/08/ad20110831.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7886724237543523270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/7886724237543523270'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/08/ad20110831.html' title='「MOD的體育頻道守備範圍超廣，全面防守不漏接！」'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-5268609169906967680</id><published>2011-08-28T00:27:00.004+08:00</published><updated>2011-10-25T11:01:47.824+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>整合Portable Notepad++的Rhino執行環境</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
在之前的「&lt;a href=&quot;http://ace33022.blogspot.com/2011/02/rhino-jportable.html&quot; target=&quot;_blank&quot;&gt;應用jPortable軟體架設Rhino執行環境&lt;/a&gt;」文章中，運用批次檔的方式簡化輸入指令的步驟，再加上這陣子寫一些小程式的經驗，這樣的方式雖不滿意但還算可以接受。最近在&lt;a href=&quot;http://portableapps.com/&quot; target=&quot;_blank&quot;&gt;PortableApps&lt;/a&gt;網站上下載&lt;a href=&quot;http://portableapps.com/apps/development/notepadpp_portable&quot; target=&quot;_blank&quot;&gt;Notepad++ Portable&lt;/a&gt;版本試用(越來越喜歡這種綠色軟體架構，簡單又方便使用)，偶然的狀況下發現&lt;a href=&quot;http://notepad-plus-plus.org/&quot; target=&quot;_blank&quot;&gt;Notepad++&lt;/a&gt;提供的「執行」功能加上之前設計的批次檔，就可以直接在&lt;a href=&quot;http://notepad-plus-plus.org/&quot; target=&quot;_blank&quot;&gt;Notepad++&lt;/a&gt;的環境下直接執行正在編輯的&lt;a href=&quot;http://ace33022.blogspot.com/search/label/Rhino&quot; target=&quot;_blank&quot;&gt;Rhino JavaScript&lt;/a&gt;檔案。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
加入這樣的調整，純粹只是為了方便。不過有些簡單又方便的使用方式，所能節省的時間也是很可觀的。許多很棒的整合開發平臺就是為了讓程式設計過程更加的方便，才深受許多人接受並使用；只是&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;好像不是很受關愛，可以找到的資源並不太多，就更不敢指望有人會為了它提供方便好用的開發環境 @_@&quot;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
底下就是「&lt;a href=&quot;http://ace33022.blogspot.com/2011/02/rhino-jportable.html&quot; target=&quot;_blank&quot;&gt;應用jPortable軟體架設Rhino執行環境&lt;/a&gt;」文章中的批次檔調整結果：&lt;/div&gt;
&lt;pre class=&quot;brush: plain&quot; style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;@echo off
rem ----------------------------------------------------------------------------
rem 程式功能:啟動rhino執行JavaScript。
rem 傳入參數:
rem       %1:JavaScript檔案。
rem
rem @version 2011/01/11 初始版本。
rem @version 2011/01/24 修改開啟之「命令提示字元」視窗抬頭字串。
rem @version 2011/02/08 說明內容調整。
rem @version 2011/08/23 新增檔案編碼參數(-Dfile.encoding=UTF-8)。
rem @version 2011/08/23 新增工作路徑切換。
rem
rem @see 取得Batch file所在目錄路徑(http://yjy198410.blogspot.com/2009/11/batch-file.html)
rem @see 在DOS Batch File中傳遞任意個數參數(http://askalee.blogspot.com/2007/04/dos-batch-file.html)
rem
rem @description
rem ----------------------------------------------------------------------------

:EnvVarSet
title Dev-Rhino

set jrePath=%~dp0CommonFiles\Java\bin

set javaExeFile=%jrePath%\java.exe
set javawExeFile=%jrePath%\javaw.exe

set ClassName=org.mozilla.javascript.tools.shell.Main
set CLASSPATH=%~dp0js.jar
goto StartBat

:StartBat
rem 切換工作目錄至第一個參數(即指定執行之JavaScript目錄)之路徑下。
cd /d %~dp1

&quot;%javaExeFile%&quot; -Dfile.encoding=UTF-8 &quot;%ClassName%&quot; %*
goto End

:End
pause
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em;&quot;&gt;
&lt;div style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;
主要增加以下二項功能：&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial;&quot;&gt;新增檔案編碼參數(-Dfile.encoding=UTF-8)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial;&quot;&gt;新增工作路徑切換&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
加入檔案編碼參數的說明請參考「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhing-fileencoding.html&quot; target=&quot;_blank&quot;&gt;Rhino原始碼使用UTF-8編碼格式儲存與執行&lt;/a&gt;」；&quot;工作路徑切換&quot;功能是將工作路徑切換到指定執行之JavaScript目錄下，這樣的好處可以將路徑設定改以相對路徑的方式進行指定，讓程式可以自行擺放至任意位置(主要目的是用來配合&lt;a href=&quot;http://www.mozilla.org/rhino/&quot; target=&quot;_blank&quot;&gt;Rhino&lt;/a&gt;環境的&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#load(.5Bfilename.2C_....5D)&quot; target=&quot;_blank&quot;&gt;load()&lt;/a&gt;函數，否則當預設工作目錄不是JavaScript檔案所在路徑，則&lt;a href=&quot;https://developer.mozilla.org/en/Rhino_Shell#load(.5Bfilename.2C_....5D)&quot; target=&quot;_blank&quot;&gt;load()&lt;/a&gt;函數必須指定絕對路徑的格式)。
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em;&quot;&gt;
&lt;div style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;
再來就是在&lt;a href=&quot;http://notepad-plus-plus.org/&quot; target=&quot;_blank&quot;&gt;Notepad++&lt;/a&gt;的環境下，將上面的批次檔加到&quot;執行&quot;功能，設定的步驟與畫面如下：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9Rcg3BRumK7K92DfvXmhzPj1qXBYtrdguC0aunbxCoGtyk9evxRoFASCY-dtWBv95qf7DW9W6EPaRQ4mx4tzBoG4MF71jV8FQ50GlH7vZpl7RsHmhdCYacDVp0PcovmU7nOFjaVRqgXE/s1600/Rhino_004.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9Rcg3BRumK7K92DfvXmhzPj1qXBYtrdguC0aunbxCoGtyk9evxRoFASCY-dtWBv95qf7DW9W6EPaRQ4mx4tzBoG4MF71jV8FQ50GlH7vZpl7RsHmhdCYacDVp0PcovmU7nOFjaVRqgXE/s400/Rhino_004.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em;&quot;&gt;
&lt;div style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;
點選「執行」後將出現以下設定程式名稱的視窗，程式名稱部份輸入以下設定字串：&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial;&quot;&gt;C:\Dev-Rhino\RunRhinoScript &quot;$(FULL_CURRENT_PATH)&quot;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qqh3pbk0hYTK-Tt5JGPTaRMk4DHvhUAIilBmlmviAPEwZ_lhr7q6NElE7Bx7tju3leP_kEpX49KCo9oZvPA2Ag4yZHTLT1DFKzWca7hg3Ngpn-mWs-DwLECgJbYMxDDFvuD2PJwTPfVw/s1600/Rhino_006.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qqh3pbk0hYTK-Tt5JGPTaRMk4DHvhUAIilBmlmviAPEwZ_lhr7q6NElE7Bx7tju3leP_kEpX49KCo9oZvPA2Ag4yZHTLT1DFKzWca7hg3Ngpn-mWs-DwLECgJbYMxDDFvuD2PJwTPfVw/s1600/Rhino_006.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
程式名稱設定完成後點選儲存，即進入以下畫面設定快捷鍵，這裡設定成&quot;Ctrl+F5&quot;：
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7LYR-mtqf_qcsSuO8q5skURZtdXfZb4WNnnfcLw2E2P8kgWrI4D3qjqFXihWkBkUbPwZ7xL5Y9rlCRu4dUCiCezf0xts_nB82h1_65M3VFiEYZpCHw9kEvmANgj5ygi01Xa6PHYq_FMem/s1600/Rhino_007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7LYR-mtqf_qcsSuO8q5skURZtdXfZb4WNnnfcLw2E2P8kgWrI4D3qjqFXihWkBkUbPwZ7xL5Y9rlCRu4dUCiCezf0xts_nB82h1_65M3VFiEYZpCHw9kEvmANgj5ygi01Xa6PHYq_FMem/s1600/Rhino_007.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
點選OK按鈕後，即完成在&lt;a href=&quot;http://notepad-plus-plus.org/&quot; target=&quot;_blank&quot;&gt;Notepad++&lt;/a&gt;執行&lt;a href=&quot;http://ace33022.blogspot.com/search/label/Rhino&quot; target=&quot;_blank&quot;&gt;Rhino JavaScript&lt;/a&gt;程式碼的設定。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
底下使用「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhino-console.html&quot; target=&quot;_blank&quot;&gt;指定Rhino環境的DOS視窗編碼格式&lt;/a&gt;」的程式碼作測試，由於統一採用UTF-8編碼格式，因此開啟新檔案時需先行設定編碼格式，畫面如下圖：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sL1guDlecsbkANu3iwvfMUCXxy-deGQKW88PAm-wTXDrIoeiJmoWUhU9JT-JR2_oAUrRWhQRt-6QMulTQpHaYOzDMSZvIX6Dm8G5IKgkuaiJH0p_sYc83oVS1Xe5uYIvGIQmVJVxAyGq/s1600/Rhino_008.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sL1guDlecsbkANu3iwvfMUCXxy-deGQKW88PAm-wTXDrIoeiJmoWUhU9JT-JR2_oAUrRWhQRt-6QMulTQpHaYOzDMSZvIX6Dm8G5IKgkuaiJH0p_sYc83oVS1Xe5uYIvGIQmVJVxAyGq/s320/Rhino_008.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL56HPKL7hn6HjsITkxEOhgy2OIooUcEI3PdZno9mw5-o5sIFB5SX-tjb4iiD1z0d8iYx1TNmPoKaqrPmgWnMCZZO13kPhoswYOOdDzw41o6Ep5KANjBpkCpOY7P-c2m4u0wW8WnH-zpQ4/s1600/Rhino_009.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL56HPKL7hn6HjsITkxEOhgy2OIooUcEI3PdZno9mw5-o5sIFB5SX-tjb4iiD1z0d8iYx1TNmPoKaqrPmgWnMCZZO13kPhoswYOOdDzw41o6Ep5KANjBpkCpOY7P-c2m4u0wW8WnH-zpQ4/s320/Rhino_009.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
指定編碼格式後，再將「&lt;a href=&quot;http://ace33022.blogspot.com/2011/08/rhino-console.html&quot; target=&quot;_blank&quot;&gt;指定Rhino環境的DOS視窗編碼格式&lt;/a&gt;」的程式碼貼入後存檔，畫面如下圖：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYzRuQjLJo5HXC-Wo57EY7OhHCgW2k8vadjal2VkFKDyFAnkeo_j6rS3sCIBZ9Wb5QPjaSUIaxgmzBQ2-tGI34VMe7hUHRN7UNjS3la62_1TjnueEYR-n3augordlgSdP-dr9g56VB0DpH/s1600/Rhino_010.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYzRuQjLJo5HXC-Wo57EY7OhHCgW2k8vadjal2VkFKDyFAnkeo_j6rS3sCIBZ9Wb5QPjaSUIaxgmzBQ2-tGI34VMe7hUHRN7UNjS3la62_1TjnueEYR-n3augordlgSdP-dr9g56VB0DpH/s320/Rhino_010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
再來就是執行這個JavaScript程式碼的方式，可以從「執行」-&amp;gt;「Run-Rhino」直接執行目前開啟中的程式碼，執行畫面如下圖所示：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmMNfZKDHM51Kx-4iiAZKxZWFgkhZ6YdP6wJRdZtMBmDhKgSBEEHQlja8STgKJQggLlt2_lz9bes596_zNElGpqnWbXcMorvSEWtkTHrU00vsjy_TJYbd5nWne5F66iHHpv0QJfBjoaOWP/s1600/Rhino_011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmMNfZKDHM51Kx-4iiAZKxZWFgkhZ6YdP6wJRdZtMBmDhKgSBEEHQlja8STgKJQggLlt2_lz9bes596_zNElGpqnWbXcMorvSEWtkTHrU00vsjy_TJYbd5nWne5F66iHHpv0QJfBjoaOWP/s320/Rhino_011.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72FpkvfSSE3hYXkOvISvHPJ7GOdbARNXb8OyPSpfuSqgFzPQqPomKtqkjPVGfqERngtaxaBZwze1WxiHH3iOaDd2VrnmUrRqsLg8N3KmOpqQl3KRr4_J6QKEv3eNvP4mtU18QE7jn88sc/s1600/Rhino_012.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72FpkvfSSE3hYXkOvISvHPJ7GOdbARNXb8OyPSpfuSqgFzPQqPomKtqkjPVGfqERngtaxaBZwze1WxiHH3iOaDd2VrnmUrRqsLg8N3KmOpqQl3KRr4_J6QKEv3eNvP4mtU18QE7jn88sc/s320/Rhino_012.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
而且由於之前已設定快捷鍵，也可以直接按下「Ctrl-F5」執行。這樣一來，就可以方便的在開發階段直接執行&lt;a href=&quot;http://ace33022.blogspot.com/search/label/Rhino&quot; target=&quot;_blank&quot;&gt;Rhino JavaScript&lt;/a&gt;程式碼並檢視執行結果是否正確。&lt;/div&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 10px; text-indent: 2em; text-transform: none;&quot;&gt;
如果沒有需要自行設定快捷鍵與Dev-Rhino目錄(預設在C:\Dev-Rhino)的話，可以從這裡&lt;a href=&quot;http://www.xun6.com/file/e28d69728/Dev-Rhino.zip.html&quot; target=&quot;_blank&quot;&gt;下載&lt;/a&gt;上面已設定完成的包裝檔案。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/5268609169906967680/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/08/dev-rhino.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5268609169906967680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/5268609169906967680'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/08/dev-rhino.html' title='整合Portable Notepad++的Rhino執行環境'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9Rcg3BRumK7K92DfvXmhzPj1qXBYtrdguC0aunbxCoGtyk9evxRoFASCY-dtWBv95qf7DW9W6EPaRQ4mx4tzBoG4MF71jV8FQ50GlH7vZpl7RsHmhdCYacDVp0PcovmU7nOFjaVRqgXE/s72-c/Rhino_004.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1361074631679390395.post-2019481728245771760</id><published>2011-08-23T00:57:00.001+08:00</published><updated>2011-10-25T22:06:23.072+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhino"/><title type='text'>Rhino環境的BIG5toUTF-8編碼轉檔程式</title><content type='html'>&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
既然已經可以讀/寫&quot;BIG5&quot;編碼格式與UTF-8編碼格式的文字檔，要完成BIG5轉UTF-8檔案轉碼功能的函數就只要拼湊前面用到的Java物件就行了。這篇文章只是純粹整理前面用到的程式碼，如果有人不小心看到這篇，就不用浪費時間往下再看了 @..@&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
調整後的程式碼如下：&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot;&gt; /**
 *
 * BIG5ToUTF8。
 *
 * @author ace
 *
 * @version 2011/08/18 v0.1
 *
 * @see 
 * 
 * @description
 *
 */

function BIG5toUTF8(SourceFileName, TargetFileName) {

    try {
    
        var strSourceFile = new String(SourceFileName); 
        var strTargetFile = new String(TargetFileName);

        // 讀取來源檔案(BIG5編碼格式)。
        var filSource = new java.io.File(strSourceFile);
        var fisSource = new java.io.FileInputStream(filSource); 
        var BufferedReader = new java.io.BufferedReader(new java.io.InputStreamReader(fisSource, &quot;BIG5&quot;));

        // 資料寫入檔案(UTF-8編碼格式)。
        var filTarget = new java.io.File(strTargetFile);
        var fisTarget = new java.io.FileOutputStream(filTarget); 
        var BufferedWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(fisTarget, &quot;UTF-8&quot;));
    
        // Start writing to the output stream
        var strTemp = new String();

        while ((strTemp = BufferedReader.readLine()) != null) {
            BufferedWriter.write(strTemp);
            BufferedWriter.newLine();
        }
    }
    finally {
    if (BufferedWriter != null) {
        BufferedWriter.flush();
        BufferedWriter.close();
        }    
    }
}

// 設定console輸出資料為BIG5編碼格式。 
java.lang.System.setOut(new java.io.PrintStream(java.lang.System.out, true, &quot;BIG5&quot;));

try {
    BIG5toUTF8(arguments[0], arguments[1]);
}
catch (e) {
    print(&quot;執行過程有誤，錯誤訊息：&quot; + e.message);
}
finally {
}        
&lt;/pre&gt;
&lt;div style=&quot;border-collapse: separate; font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; padding: 10px 0px 0px 5px; text-indent: 2em; text-transform: none;&quot;&gt;
執行方式如下：
&lt;/div&gt;
&lt;pre class=&quot;brush: plain&quot;&gt;RunRhinoScript.bat xxx.js BIG5FILE.txt UTF-8FILE.txt
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ace33022.blogspot.com/feeds/2019481728245771760/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ace33022.blogspot.com/2011/08/rhino-big5-utf8.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2019481728245771760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1361074631679390395/posts/default/2019481728245771760'/><link rel='alternate' type='text/html' href='http://ace33022.blogspot.com/2011/08/rhino-big5-utf8.html' title='Rhino環境的BIG5toUTF-8編碼轉檔程式'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>