2009-06-06 15:28:21艾倫 Programer

拆解 XML 取得 RSS 股市新聞標題


本文的重點在於幫助交易員拆解 XML 取得 RSS 股市新聞標題, 取得新聞標題最大的用意在於預警, 可避免投資標的物暴漲或暴跌, 甚至搶得投資先機 !

簡單的說, RSS 顯示出的網頁會是以 XML 為基礎的文字檔案, 自行拆解比使用一般市面上的 RSS Reader 閱讀器最大優點在於自己可以掌握主動通知, 可以容易的結合自行開發的程式, 亦可以定義自己需要的【關鍵字】提醒 !

首先, 我們先用 WebBrowser1.DocumentType.ToString() = "XML Document" 來驗證是否為 XML 格式, 再使用 Net.WebClient 的 DownloadData 將 XML 全部抓回來處理, 最後, 並將每個節點資訊拆開即可 !

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
    Try
        If WebBrowser1.DocumentType.ToString() = "XML Document" Then
            '下載 XML
            Dim myWebClient As New Net.WebClient
            Dim myByte() As Byte
            Dim strXML As String = ""
            myByte = myWebClient.DownloadData(TextBox1.Text.ToString())
            Select Case TextBox2.Text.Trim.ToUpper()
                Case "UTF-8".Trim.ToUpper()
                    strXML = Encoding.UTF8.GetString(myByte, 0, myByte.Length)
                Case "UTF-16".Trim.ToUpper()
                    strXML = Encoding.Unicode.GetString(myByte, 0, myByte.Length)
                Case "UTF-32".Trim.ToUpper()
                    strXML = Encoding.UTF32.GetString(myByte, 0, myByte.Length)
                Case "ASCII".Trim.ToUpper()
                    strXML = Encoding.ASCII.GetString(myByte, 0, myByte.Length)
                Case Else
                    If TextBox2.Text.Trim.Length > 0 Then
                        Try
                            myByte = Encoding.Convert(Encoding.Default, Encoding.GetEncoding(TextBox2.Text.Trim), myByte)
                            strXML = Encoding.Default.GetString(myByte, 0, myByte.Length)
                        Catch exErr As Exception
                            strXML = ""
                        End Try
                    Else
                        strXML = ""
                    End If
            End Select
            '拆解 XML
            Dim strNode() As String
            strNode = Split(strXML, "")
            '讀取節點
            If strNode.Length > 1 Then
                Dim iIndex As Integer = 0
                For iIndex = strNode.Length - 2 To 0 Step -1
                    If iIndex = 0 Then
                        If InStr(strNode(0), " 0 Then
                            Dim strTmp() As String
                            strTmp = Split(strNode(0), "                            strNode(0) = strTmp(strTmp.Length - 1)
                        Else
                            strNode(0) = ""
                        End If
                    End If
                    Dim strAddTitle As String = ""
                    Dim strAddUrl As String = ""
                    Dim strAddTime As String = ""
                    '抓取 <BR>                    Try<BR>                        Dim iFrom As Integer = 0<BR>                        Dim iTo As Integer = 0<BR>                        Dim strCode As String = ""<BR>                        strCode = "title"<BR>                        iFrom = InStr(strNode(iIndex), "<" + strCode + ">")<BR>                        iTo = InStr(strNode(iIndex), "</" + strCode + ">")<BR>                        If iFrom > 0 And iTo > 0 Then<BR>                            strAddTitle = Mid(strNode(iIndex), iFrom + strCode.Length + 2, iTo - CInt(iFrom + strCode.Length + 2))<BR>                            strAddTitle = strAddTitle.Replace("<![CDATA[", "").Replace("]]>", "").Trim()<BR>                        End If <BR>                    Catch exCatch As Exception<BR>                    End Try<BR>                    '抓取 <link><BR>                    Try<BR>                        Dim iFrom As Integer = 0<BR>                        Dim iTo As Integer = 0<BR>                        Dim strCode As String = ""<BR>                        strCode = "link"<BR>                        iFrom = InStr(strNode(iIndex), "<" + strCode + ">")<BR>                        iTo = InStr(strNode(iIndex), "</" + strCode + ">")<BR>                        If iFrom > 0 And iTo > 0 Then<BR>                            strAddUrl = Mid(strNode(iIndex), iFrom + strCode.Length + 2, iTo - CInt(iFrom + strCode.Length + 2))<BR>                            strAddUrl = strAddUrl.Replace("<![CDATA[", "").Replace("]]>", "").Trim()<BR>                        End If <BR>                    Catch exCatch As Exception<BR>                    End Try<BR>                    '抓取 <pubDate><BR>                    Try<BR>                        Dim iFrom As Integer = 0<BR>                        Dim iTo As Integer = 0<BR>                        Dim strCode As String = ""<BR>                        strCode = "pubDate"<BR>                        iFrom = InStr(strNode(iIndex), "<" + strCode + ">")<BR>                        iTo = InStr(strNode(iIndex), "</" + strCode + ">")<BR>                        If iFrom > 0 And iTo > 0 Then<BR>                            strAddTime = Mid(strNode(iIndex), iFrom + strCode.Length + 2, iTo - CInt(iFrom + strCode.Length + 2))<BR>                            strAddTime = strAddTime.Replace("<![CDATA[", "").Replace("]]>", "").Trim()<BR>                        End If<BR>                    Catch exCatch As Exception<BR>                    End Try<BR></FONT>                    '加入資訊<BR>                    RichTextBox1.Text = RichTextBox1.Text + "-----------------------------------------------------------------------------------------------" + vbNewLine<BR>                    RichTextBox1.Text = RichTextBox1.Text + "Title: " + strAddTitle + vbNewLine<BR>                    RichTextBox1.Text = RichTextBox1.Text + "Url: " + strAddUrl + vbNewLine<BR>                    RichTextBox1.Text = RichTextBox1.Text + "Time: " + strAddTime + vbNewLine<BR>                Next<BR>            End If<BR>        Else<BR>            MessageBox.Show("不是 XML Document", "有誤", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)<BR>        End If<BR>    Catch ex As Exception<BR>        MessageBox.Show(ex.ToString, "Error Message - WebBrowser1_DocumentCompleted()", MessageBoxButtons.OK, MessageBoxIcon.Error)<BR>    End Try<BR>End Sub</P> <P>VB.NET 2005 範例下載 <A href="http://cat.hfu.edu.tw/~m9025004/download/GetNewsTitle.zip">http://cat.hfu.edu.tw/~m9025004/download/GetNewsTitle.zip</A></P> <P> </P></div> </div> <ul class="sharebtnarea"> <li><a href="javascript:void(0)"><span class="kazabtn"></span></a></li> <li><a href="javascript:void(0)"><span class="fasbukbtn"></span></a></li> <li><a href="javascript:void(0)"><span class="linebtn"></span></a></li> <li><a href="javascript:void(0)"><span class="emailbtn"></span></a></li> <li><a href="javascript:void(0)"><span class="gugplsbtn"></span></a></li> </ul> <script> var article_arg = {"title":"\u62c6\u89e3 XML \u53d6\u5f97 RSS \u80a1\u5e02\u65b0\u805e\u6a19\u984c - PChome Online \u500b\u4eba\u65b0\u805e\u53f0","img":"\/\/mypaper.pchome.com.tw\/show\/article\/stockfuture\/A1313005656","link":"http:\/\/mypaper.m.pchome.com.tw\/stockfuture\/post\/1313005656","desc":"..."}; var fb_feed = function(article_arg){ FB.ui({ method: 'feed', name: article_arg.title +' - PChome Online 個人新聞台', link: article_arg.link, picture: article_arg.img, caption: article_arg.link, description: article_arg.desc }, function(response){ if(response && response.post_id){ //alert('Post was published.'); }else{ //alert('Post was not published.'); } }) }; var email_feed = function(article_arg){ window.location.href = 'mailto:?subject='+ encodeURIComponent(article_arg.title) +'&body='+encodeURIComponent(article_arg.link); }; var gplus_feed = function(article_arg){ window.open('https://plus.google.com/share?url='+ encodeURIComponent(article_arg.link), '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=490,width=490'); }; var line_feed = function(article_arg){ window.open('http://line.naver.jp/R/msg/text/?'+ encodeURIComponent(article_arg.title) +' '+ encodeURIComponent(article_arg.link), '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=80,width=1120'); }; var kaza_feed = function(article_arg){ //var e = document.createElement('script'); //e.setAttribute('type', 'text/javascript'); //e.setAttribute('charset', 'UTF-8'); //e.setAttribute('id', 'kait_script'); //e.setAttribute('src', 'http://kaza.pchome.com.tw/js/kait.js?r='+Math.random()*99999999); //document.body.appendChild(e); window.open('http://kaza.pchome.com.tw/post_url.htm?img='+ (article_arg.img ? encodeURIComponent(article_arg.img) : 'http://mypaper.pchome.com.tw/show/article/logo') +'&ref_url='+ encodeURIComponent(article_arg.link), '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=340,width=620'); }; var recomd_feed = function(article_arg){ }; var shareFB = { 'kazabtn' : kaza_feed, 'fasbukbtn' : fb_feed, 'linebtn' : line_feed, 'emailbtn': email_feed, 'gugplsbtn': gplus_feed, 'recomdbtn': recomd_feed }; var article_id =1313005656; jQuery("#pop-adult18").fancybox({ 'showCloseButton' : false, 'autoDimensions' : true, 'hideOnOverlayClick': false, 'overlayOpacity' : 0.99, 'padding' : 0, 'margin' : 0, 'overlayColor' : '#000000', }); jQuery( document ).ready(function( $ ) { // FB.init({appId: "768141693221775"}); FB.init({ appId : "768141693221775", xfbml : true, version : 'v2.0' }); if( jQuery('.plg').has("img").length <1 ){ jQuery('.kazabtn').hide(); } jQuery('ul.sharebtnarea li span').on('click', function(){ // //cpv_type = $(this).data('key'); // //jQuery.ajax({ // // type: 'POST', // // data: {'type': cpv_type}, // // url: '/m/pv.php', // // success: function(msg){} // //}); // shareFB[$(this).attr('class')](article_arg); // shareFB[$(this).attr('class')](article_arg); }); jQuery(':input').on('focus', function(){ jQuery(".ftrpage").hide(); }); jQuery(':input').on('blur', function(){ jQuery(".ftrpage").show(); }); ////// 站長回應 Start jQuery('.edrpybtn').on('click', function(){ var this_rid = jQuery(this).attr("data-rid"); //class="edrpybtn" data-rid="'. $rv['rid'] .'" jQuery('#' + this_rid).show(); }); jQuery('.delbtn').on('click', function(){ var this_rid = jQuery(this).attr("data-rid"); //class="edrpybtn" data-rid="'. $rv['rid'] .'" jQuery('#' + this_rid).hide(); }); jQuery('.submitbtn').on('click', function(){ var this_obj = jQuery(this); var this_rid = this_obj.attr("data-rid"); var s_content= jQuery('#s_content_' + this_rid).val(); // 回應內容長度 if (s_content.length > 2000){ alert('內容請在2000個字以內,目前' + s_content.length + '個字'); jQuery('#s_content_' + this_rid).focus(); return false; } jQuery("#tt3_time").val(Date.now()); jQuery("#tt3_rid").val(this_obj.attr("data-rid")); jQuery("#tt3_rsid").val(this_obj.attr("data-rsid")); jQuery("#tt3_s_content").val(s_content); jQuery("#tt3").attr('action', '/website/station/action/reply_reply.php'); jQuery("#tt3").submit(); }); ////// 站長回應 End }); </script> <div class="atc_prenext"> </div> <!--PChome聯播網 AD300100 START--> <center class="pcadcenterbx adm_displaynone"> <script language="javascript"> pad_width=300; pad_height=100; pad_customerId="PFBC20190424002"; pad_positionId="PFBP201906270004C"; </script> <script id="pcadscript" language="javascript" src="https://kdpic.pchome.com.tw/img/js/xpcadshow.js"></script> </center> <!--PChome聯播網 AD300100 END--> <!--留言 replybx start--> <form name="ttimes" id="ttimes" method="post"> <a name="to_reply" id="#to_reply"></a> <input type="hidden" id="email" name="email" value="" /> <input type="hidden" id="url" name="url" value="" /> <input type="hidden" name="mypaper_id" id="mypaper_id" value="stockfuture"> <input type="hidden" name="mypaper_sid" id="mypaper_sid" value=""> <input type="hidden" id="aid" name="aid" value="1313005656" /> <input type="hidden" name="from_side" id="from_side" value="station" /> <input type="hidden" name="single_aid" id="single_aid" value="1313005656"> <div class="comentform replybotm" style="display:none"><b>我要回應</b></div> <div class="comentreply" id="replybx" style="display:none"> <!-- 我要回應 --> <div class="comentform"><input id="nickname" name="nickname" type="text" value="" class="replyname" placeholder="請輸入暱稱"></div> <div class="comentform"><textarea class="replytxt" name="s_content" id="s_content"></textarea></div> <div class="comentform"> <b>悄悄話:</b> <input type="radio" name="reply_status" value="1" checked="checked">否 <input type="radio" name="reply_status" value="0">是 (若未登入"個人新聞台帳號"則看不到回覆唷!) </div> <!-- 我要回應 --> <div id="comments-form"> <center> <div id="Gcode_Space"> <input type="hidden" name="Auth_Code" id="Auth_Code" value=""> <input type="hidden" name="authRandcode" id="authRandcode" value="pEZmkePEivczsiA58ASwIQ=="/> <input type="hidden" name="authAddr" id="authAddr" value="34.80.86.46" /> <table border="0" cellpadding="0" cellspacing="0"> <tr bgcolor="#FFFFFF"> <tr><td valign="top" nowrap="nowrap"><span class="t13">請輸入圖片中算式的結果(可能為0) </span> <input type="text" name="authRandnum" id="authRandnum" size="20" /></td></tr> </table><table> <tr><td></td></tr> <tr> <td align="center" colspan="6"> <img src="https://gcode.pchome.com.tw/gs/image?rand=gUjojfqmoskAUIXv%2FhQEEQ%3D%3D" /> </td> </tr> </table> </div> </center> </div> <a class="replysubmit" onClick="javascript:reset_gcode('Gcode_Space')">換驗證碼</a> <a class="replysubmit" id="set_reply" name="confirm" onclick="javascript:reply();">我要回應</a> </div> </form> <!--留言 replybx end--> <!-- loop start --> <!-- loop end --> <div class="listlast"> </div> <!-- 展開文章 btn START --> <div class="readmorebtn-4o"> <button>繼續閱讀 <b></b></button> </div> <!-- 展開文章 btn END --> </div><!--readreleasewp END--> <!--PChome聯播網 AD300250 START--> <center class="adm_displaynone"> <script language="javascript"> pad_width=300; pad_height=250; pad_customerId="PFBC20190424002"; pad_positionId="PFBP201906270002C"; </script> <script id="pcadscript" language="javascript" src="https://kdpic.pchome.com.tw/img/js/xpcadshow.js"></script> </center> <!--PChome聯播網 AD300250 END--> <form name="tt3" id="tt3" method="post"> <input type="hidden" name="mypaper_id" id="mypaper_id" value="stockfuture"> <input type="hidden" name="mypaper_sid" id="mypaper_sid" value=""> <input type="hidden" id="aid" name="aid" value="1313005656" /> <input type="hidden" name="time" id="tt3_time" value=""> <input type="hidden" name="rid" id="tt3_rid" value=""> <input type="hidden" name="rsid" id="tt3_rsid" value=""> <input type="hidden" name="s_content" id="tt3_s_content" value=""> <input type="hidden" name="page_type" id="page_type" value=""> </form> <!--文章推薦 START--> <div class="artcommd"> <h3 class="tittxt">你可能感興趣的文章</h3> <div class="atcblk"> <a href="/jou1212/post/1381880480" class="ui-link"> <div class="picar"><b class="tbcl"><img src="/show/portal/sw_S1381880480"></b></div> <h2>文字獄女子438</h2> <p> 其實,上天都在無形之中幫助我們 就是生活中會出現一些訊息提示你 記得當初香港名媛分屍命案時 在出遊的房間裡,警惕著自己 </p> <b class="date_gray">11 小時前</b> </a> </div> <div class="atcblk"> <a href="/mdintwn/post/1381880540" class="ui-link"> <div class="picar"><b class="tbcl"><img src="/show/portal/sw_S1381880540"></b></div> <h2>12款中西家常菜 / 甜點</h2> <p> 涼拌海蜇海帶絲 ‧涼拌菜適合烈日炎炎的夏天食用,不過因為我加了辣子,所以即便冬天身處在乾燥的北加州內陸食用也會微微冒汗,因此</p> <b class="date_gray">7 小時前</b> </a> </div> <div class="atcblk"> <a href="/amortrigo_2400/post/1381880481" class="ui-link"> <div class="picar"><b class="tbcl"><img src="/show/portal/sw_S1381880481"></b></div> <h2>淪陷第1天</h2> <p>在蒲台島最南接洽中国水域,可以坐快艇接駁船去澳門 </p> <b class="date_gray">11 小時前</b> </a> </div> <div class="atcblk"> <a href="/amortrigo_2400/post/1381880285" class="ui-link"> <div class="picar"><b class="tbcl"><img src="/show/portal/sw_S1381880285"></b></div> <h2>不定期小呂榮動態</h2> <p>            </p> <b class="date_gray">21 小時前</b> </a> </div> <div class="atcblk"> <a href="/holly520/post/1381880545" class="ui-link"> <div class="picar"><b class="tbcl"><img src="/show/portal/sw_S1381880545"></b></div> <h2>異國交流長知識</h2> <p> 今晚結束舞蹈課趕緊飛奔南港 CityLink因朋友要介紹一位韓國歐巴(不是相親不要想歪)這是我第一次可以跟韓國人用中文交談超過2小時實</p> <b class="date_gray">5 小時前</b> </a> </div> </div> <!--文章推薦 END--> <!-- CONTENT END --> </div> </div> </div> <!-- content 內容 結束 --> </div><!-- global_content_wrapper--> </div><!-- id=sb-site--> <!-- content 結束 --> <!-- slide 左右選單開始 --> <script type="text/javascript"> (function ($) { $(document).ready(function(){ jQuery('#s_in1_1,#s_out').hide(); var you = getCookie('id_pchome'); var stock_id = getCookie('stock_id'); if (you){ //$('.global_menuL_usrid').append(you); //$('.user_id').append(you); jQuery('#s_out').show(); } else if(stock_id){ //$('.global_menuL_usrid').append(stock_id); //$('.user_id').append(you); jQuery('#s_out').show(); }else{ jQuery('#s_in1_1').show(); } }); })(jQuery); function getCookie(c_name){ var i, x, y, ARRcookies = document.cookie.split(";"); for (i = 0; i < ARRcookies.length; i++) { x = ARRcookies[i].substr(0,ARRcookies[i].indexOf("=")); y = ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1); x = x.replace(/^\s+|\s+$/g,""); if (x == c_name) return unescape(y); } } </script> <!-- NEW --> <!--左選單 開始--> <div class="sb-slidebar sb-left sb-momentum-scrolling"> <!--左選單內容開始--> <link rel="stylesheet" href="https://fonts.googleapis.com/earlyaccess/notosanstc.css"> <link rel="stylesheet" href="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/public/css/style.min.css"> <div class="menupage"> <!-- 目錄按鈕 --> <div class="menu-box btn txt-table" id="s_in1_1" style="display:none"> <a class="txt-cell" href="https://member.pchome.com.tw/login.html?ref=http%3A%2F%2Fmypaper.m.pchome.com.tw%2Fstockfuture%2Fpost%2F1313005656">登入</a> <a class="txt-cell" href="https://member.pchome.com.tw/apply.html"><span>註冊</span></a> </div> <!-- 目錄連結 --> <div class="menu-box list txt-table txt-left p-lr20 p-t20"> <div class="txt-cell txt-top b-b1 p-b40"> <span><a href="https://www.m.pchome.com.tw/">PChome首頁</a></span> <span><a href="https://shopping.pchome.com.tw">線上購物</a></span> <span><a href="https://24h.m.pchome.com.tw">24h購物</a></span> <span><a href="https://24h.pchome.com.tw/books/">書店</a></span> <span><a href="http://www.ruten.com.tw/">露天拍賣</a></span> <span><a href="https://www.pchomeec.tw/sites/overseasgoods">比比昂代購</a></span> </div> <div class="txt-cell txt-top b-b1 p-b40 p-l20"> <span><a href="http://news.pchome.com.tw/">新聞</a> / <a href="http://news.pchome.com.tw/weather/">氣象</a></span> <span><a href="http://pchome.megatime.com.tw/">股市</a></span> <span><a href="http://mypaper.pchome.com.tw/">個人新聞台</a></span> <span><a href="http://show.pchome.com.tw/">廣告刊登</a></span> <span><a href="http://show.pchome.com.tw/pfb/index.html">加入聯播網</a></span> <span><a href="https://global.pchome.com.tw">全球購物</a></span> </div> </div> <div class="menu-box list txt-table txt-left p-lr20 p-t20"> <div class="txt-cell txt-top b-b1 p-b40"> <span><a href="http://www.rakuya.com.tw/">買賣租屋</a></span> <span><a href="https://www.pchomepay.com.tw/">支付連</a></span> <span><a href="https://www.interpay.com.tw/">國際連</a></span> <span><a href="https://www.piapp.com.tw">Pi 拍錢包</a></span> <span><a href="https://pchometravel.com/">旅遊</a></span> <span><a href="http://faq.pchome.com.tw/service/user_reply.html?c_nickname=member">服務中心</a></span> </div> <div class="txt-cell txt-top b-b1 p-b40 p-l20"> <span><a href="http://car.pchome.com.tw/">買車</a></span> <span><a href="http://travel.pchome.com.tw/">旅行團</a></span> <span><a href="http://car.pchome.com.tw/active/2020tmnewa/hrv/?utm_source=index&utm_medium=index_menubar">汽車險推薦</a></span> <span><a href="https://apis.pchome.com.tw/mj/">線上麻將</a></span> <span><a href="http://news.pchome.com.tw/magazine/">雜誌</a></span> <span><a href="http://news.pchome.com.tw/constellation.php?mode=sign&type=day&sign_id=1">星座命理</a></span> <span><a href="http://member.pchome.com.tw/">會員中心</a></span> </div> </div> <div class="menu-box list txt-table txt-left p-lr20 p-t20"> <div class="txt-cell txt-top b-b1 p-b40"> <span><a href="http://sms.pchome.com.tw/">一元簡訊</a></span> <span><a href="http://live.pchome.com.tw/">直播達人</a></span> <span><a href="https://pchome-ssl.cloudmax.com.tw/">數位憑證</a></span> <span><a href="http://office-sms.pchome.com.tw/index.html">企業簡訊</a></span> </div> <div class="txt-cell txt-top b-b1 p-b40 p-l20"> <span><a href="http://myname.pchome.com.tw/">買網址</a></span> <span><a href="http://webhosting.pchome.com.tw/">虛擬主機</a></span> <span><a href="http://webhosting.pchome.com.tw/activity/officemail/index.html">企業郵件</a></span> </div> </div> <div class="menu-box list txt-table txt-left p-lr20 p-t20" id="s_out" style="display:none"> <div class="txt-cell txt-top p-b40"> <span><a class="txt-cell" href="https://member.pchome.com.tw/logout.html?ref=http%3A%2F%2Fmypaper.pchome.com.tw%2F">登出</a></span> </div> <div class="txt-cell txt-top p-b40 p-l20"> </div> </div> <!-- 頁尾 --> <div class="wrap footer"> <!-- 版權宣告 --> <div class="copyright-box txt-center b-t1"> <div class="copyright-logo"> <a class="txt-inlineblock" data-icon="PChome" href="https://www.pchome.com.tw" target="_blank"></a> </div> <div class="copyright-link"> <a href="http://show.pchome.com.tw/">廣告刊登</a> <a href="http://faq.pchome.com.tw/faq_solution.html?q_id=16&c_nickname=member&f_id=4">隱私權聲明</a> </div> <div class="copyright-link"> <a href="https://cpc.ey.gov.tw/">消費者保護</a> <a href="http://member.pchome.com.tw/child.html">兒童網路安全</a> </div> <div class="copyright-link"> <a href="https://corp.pchome.tw/">About PChome</a> <a href="https://corp.pchome.tw/investor-relations/contact/">投資人聯絡</a> <a href="https://corp.pchome.tw/hire">徵才</a> </div> <div class="copyright-text b-t1"><a href="https://www.pchome.com.tw/copyright.html">著作權保護</a>|網路家庭版權所有、轉載必究<span> ‧Copyright PChome Online </span><p>PChome Online and PChome are trademarks of PChome Online Inc.</p></div> </div> </div> </div> <!--左選單內容結束--> </div> <!--左選單 結束--> <!-- trigger 開始--> <script type="text/javascript"> (function($) { $(document).ready(function() { $.slidebars({ scrollLock: true }); }); }) (jQuery); </script> <!-- trigger 結束--> <link href="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/mypaper/global/global_frame.css?t=20160816144836" rel="stylesheet" type="text/css"> <link href="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/mypaper/global/global_menuL.css?t=20170406110000" rel="stylesheet" type="text/css"> <link href="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/mypaper/global/global_reset.css?t=20160114103954" rel="stylesheet" type="text/css"> <link href="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/mypaper/slidebars/slidebars.css?t=20160302111614" rel="stylesheet" type="text/css"> <script language="javascript" src="https://apis.pchome.com.tw/apps/swMenuV1.0/htdocs/mypaper/slidebars/slidebars.js?t=20150507172557"></script> <!--右選單 開始--> <div class="sb-slidebar sb-right sb-momentum-scrolling"> <!--右選單內容開始--> <div class="stock_menuR_wrapper"> <div class="menu_style m_slidemenu"> <ul> <li class="m_category blgchanl"><span><b></b>個人新聞台</span></li> <li><a href="/panel/content_add" data-ajax="false" class="ui-link"><em class="pubart"><i class="icon-pen"></i>快速發文</em></a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/0" data-ajax="false" class="ui-link">最新文章</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/1" data-ajax="false" class="ui-link">心情雜記</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/4" data-ajax="false" class="ui-link">美食饗宴</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/2" data-ajax="false" class="ui-link">藝文欣賞</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/5" data-ajax="false" class="ui-link">旅遊玩家</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/3" data-ajax="false" class="ui-link">社會萬象</a></li> <li><a href="https://mypaper.m.pchome.com.tw/s/6" data-ajax="false" class="ui-link">影視娛樂</a></li> </ul> <ul> <li class="m_category blgchanl"><span><b></b>我的站台</span></li> <li class="blgsite"><a href="https://member.pchome.com.tw/login.html?ref=http%3A%2F%2Fmypaper.m.pchome.com.tw%2Fstockfuture%2Fpost%2F1313005656" data-ajax="false" class="ui-link">登入</a></li> </ul> </div> </div> <!--右選單內容結束--> </div> <!--右選單 結束--> <!-- slide 結束 --> <!-- 左右選單 結束 --> <!-- slide 左右選單開始 --> <script> if(navigator.userAgent.match(/(iPad|iPhone).* OS 4/i) || navigator.userAgent.match(/(iPad|iPhone).* OS 3/i) || navigator.userAgent.match(/Microsoft Internet Explorer 6/)) document.getElementById('cont').className = "content_nofx"; </script> <!--無敵霸--> <script language="javascript"> pad_width=414; pad_height=125; pad_customerId="PFBC20190424002"; pad_positionId="PFBP202103040001S"; </script> <script id="pcadscript" language="javascript" src="https://kdpic.pchome.com.tw/img/js/xpcadshow.js"></script> </body> </html>