首頁  >  文章  >  後端開發  >  PHP 用QueryList抓取網頁內容

PHP 用QueryList抓取網頁內容

WBOY
WBOY原創
2016-07-30 13:32:012177瀏覽

之前抓取網頁資料都是用Java Jsoup,前幾天聽說用PHP抓更方便,今天就研究了一下,主要是用QueryList來實現.

是一個基於phpQuery的通用列表採集類,是一個簡單、 靈活、強大的採集工具,採集任何復雜的頁面基本上就一句話就能搞定了.

直接拿博客園舉例子了,

http://www.cnblogs.com/ 我們用QueryList來抓取紅框裡面的內容

查看網頁原始碼找到紅色框的位置

<span> 1</span><span><span>div </span><span>id</span><span>="post_list"</span><span>><span>="post_item"</span> <span>></span> <span> 4</span><span><span>div </span><span>class</span><span>="digg"</span><span>></span><span> 5</span><span> <span> ="DiggPost('jr1993' ,4716308,222703,1)"</span><span>></span><span> 6</span><span><span>span </span><span>class</span><span>="diggnum"</span> <span> gt ;</span>0<span></span><span> span</span><span>></span><span>7</span><span></span><span>div</span><span>></span><span>8</span><span><span>div</span> ><span></span> 9<span> </span></span>div <span></span>id<span></span>="digg_tip_4716308"<span></span> 班級<span></span>="digg_tip"<span> </span><span>div</span><span>></span><span>11 </span><span><span>div</span><span>class</span><span>="post_item_body"</span><span>> </span><span> 12</span><span>="<span></span> 12<span></span>="</span>h33class <span> tlelnk"</span><span>href</span><span>=" http://www.cnblogs.com/jr1993/p/4716308.html"</span><span>目標</span><span> =「 _ blank」</span><span> class</span><span>="post_item_summary"</span><span> class</span><span>="post_item_summary"</span> <span> </span>href<span></span>="http://www.cnblogs.com/jr1993/"<span></span>目標<span></span>="_blank" <span></span>></span>img <span></span>=4 "48"<span></span>類<span></span>="pfs"<span></span>src<span></span>="http://pic.cnblogs .com/face/694143/20141118194530.png"🜎 <span></span>a<span></span>><span></span> 前言最近因需要自己封裝了一個很簡單的四級分類的jQuery插件,主要用於後台數據的傳輸和獲取。接下來就來分享一下這個實用的插件吧。正文老規矩,先看一下效果,這個就很醜了,沒有美化的,因為主要還是用於後台界面使用的,同時請忽略測試數據的內容:那麼下面就介紹一下使用方式:首先html代碼: . ..
</span><span> 15</span><span></span><span>p</span><span>></span><span> 16</span><span><span>div</span><span>類</span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/jr1993/"</span><span> class</span><span>="lightblue"</span><span>></span>郭錦榮<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span> 40
</span><span> 19</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>>🎼 # commentform"<span></span> title<span></span>=""<span></span> class<span></span>="gray"<span></span>><span></span> 20<span></span> <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/jr1993/p/471630888.com/ "<span></span>><span>閱讀(21)</span><span></span>a<span></span>><span></span>span<span></span>><span></span> <span></span>><span></span>><span></span>21<span> </span> 22 <span></span></span>div <span></span>class<span></span>="clear"<span></span>><span></span>div<span></span>><span></span> 23<span>div</span><span>></span><span> 23</span>div<span></span> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span> 25</span><span><span>div </span><span>class</span><span>="digg"</span> class<span></span>="diggit"<span> </span> onclick<span></span>="DiggPost('maybe2030',4715035,229915,1)"<span></span>><span></span> 27<span></span><</span> <span></span>="digg_count_4715035"<span> </span>><span>0</span><span></span>span<span></span>><span></span> 28<span></span><span></span>div<span></span>><span> "</span><span>></span> <span>div</span><span>></span><span> 30</span><span><span>div </span><span>id</span><span>="digg_tip_4715035"</span><span></span>="digg_tip_4715035" <span></span>><span></span> 31<span></span> <span></span>div<span></span>><span></span> 32<span></span></span>div <span></span>class<span></span>="post_item_body"<span> </span><span>a </span><span>class</span><span>=" titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/maybe2030/p/4715035.html"</span><span> target</span><span>="_blank"e找演算法</span><span></span>a<span></span>><span></span>h3<span></span>><span></span> 34<span></span></span> <span></span></span>a <span> </span>href<span></span>="http://www.cnblogs.com/maybe2030/"<span></span> target<span></span>="_blank"<span></span>></span>img <span></span>width<span></span>="48"<span></span> height<span></span>= "48"<span></span> class<span></span>="pfs"<span></span> src<span></span>="http://pic.cnblogs.com/face/764050/20150531155648.png"<span></span><span> </span> <span></span>a<span></span>><span></span> 和排序演算法一樣,尋找演算法也是一種最基本的演算法。有效率地尋找可以使我們對資料進行更有效率地操作,熟練各種查找演算法也是一項基本的演算法技能。</span><span> 36</span><span></span><span>p</span><span>></span><span> 37</span><span><span>div</span><span>2 <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/maybe2030/"<span></span> class<span></span>="lightblue"<span></span>><span>Poll的筆記</span><span></span>a<span> 20:27
</span><span> 40</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>>/ .html# commentform"<span></span> title<span></span>=""<span></span> class<span></span>="gray"<span></span>><span></span> 41<span> 評論(0)</span> <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/maybe2030/p/471503572030/p/ "<span></span>><span>閱讀(12)</span><span></span>a<span></span>><span></span>span<span></span>><span></span>4<span></span>><span></span>><span></span>4<span> </span> 43 <span></span></span>div <span></span>class<span></span>="clear"<span></span>><span></span>div<span></span>><span></span> 44<span>div</span><span> </span></span>div <span></span> class<span></span>="post_item"<span></span>><span></span> 46<span></span></span>div <span></span>class<span></span>="digg"<span></span> class<span></span>="diggit"<span> </span> onclick<span></span>="DiggPost('zhanggui',4716267,191738,1)"<span></span>><span></span> 48<span></span></span>="digg_count_4716267"<span> </span>><span>0</span><span></span>span<span></span>><span></span> 49<span></span><span></span>div<span></span>><span> "</span><span>></span> <span>div</span><span>></span><span> 51</span><span><span>div </span><span>id</span><span>="digg_tip_4716267" </span><span>></span><span> 52</span><span> </span><span>div</span><span>></span><span> 53</span><span><span>div </span><span>class</span><span>="post_item_body"</span> <span></span>a <span></span>class<span></span>=" titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/zhanggui/p/4716267.html"<span></span> target<span></span>="_blank"<span></span>><span>> </span> <span><span>a </span><span>href</span> <span>="http://www.cnblogs.com/zhanggui/"</span><span> target</span><span>="_blank"</span><span>><span>img </span><span>width</span><span>="48" </span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/527522/20140908182900.png"</span><span></span><span></span> <span></span>><span></span> 第二章、進程的描述與控制====##2.1 前趨圖與程式執行### 2.1.1 前趨圖####概念:所謂前趨圖:指一個有向無循環圖(DAG),它用於描述進程之間執行的先後順序。###2.1.2 程式順序執行####特徵:* 順序性* 封閉性:指程式在封閉的環境中運行,程式運行時獨佔全機資源,資源的狀...
</span><span> 57</span><span></span><span>p</span><span>></span><span> 58</span><span><span>div </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/zhanggui/"</span><span> class</span><span>="lightblue"</span><span>></span>Scottzg<span></span><span>a</span><span>> 24
</span><span> 61</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/zhanggui/p/4716267.html# commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span> 62</span><span> </span><span> span </span><span>class</span><span>="article_view"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/zhanggui/p/4716267. "</span><span>></span>閱讀(17)<span></span><span>a</span><span>></span><span>span</span><span>></span><span>6</span><span>></span><span>></span><span>6</span> <span> 64 </span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>div</span><span>></span><span>655</span>div<span></span>> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span> 67</span><span><span>div </span><span>class</span><span>="digg"</span><span> class</span><span>="diggit"</span> <span> onclick</span><span>="DiggPost('lubiao',4716200,158099,1)"</span><span>></span><span> 69</span><span>瑪<span> </span>="digg_count_4716200"<span> </span>><span>0</span><span></span>span<span></span>><span></span> 70<span></span><span></span>div<span></span>><span> "</span><span>></span> <span>div</span><span>></span><span> 72</span><span><span>div </span><span>id</span><span>="digg_tip_4716200" </span><span>></span><span> 73</span><span> </span><span>div</span><span>></span><span> 74</span><span><span>div </span><span>class</span><span>="post_item_body"</span> <span></span>a <span></span>class<span></span>=" titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/lubiao/p/4716200.html"<span></span> target<span></span>="_blank"<span>樹莓></span>莓><span>派。 a</span><span>></span><span>h3</span><span>></span><span> 76</span><span><span>p </span><span>class</span><span>="post_item_ </span>a <span></span>href<span></span>="http ://www.cnblogs.com/lubiao/"<span></span> target<span></span>="_blank"<span></span>></span>img <span></span>width<span></span>="48"" <span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/550600/20150808222928.png"</span><span> alt</span><span>=""</span><span></span><span></span> <span> 一、關於開源硬體開源硬體的概念簡單理解就是電子硬體的設計詳細參數是公開的,例如電路圖、材料清單和PCB佈局等等。主要類型:Arduino、CubieBoard、RaspberryPi、PcDuino、BeagleBone、KiWIBoard和Mixteil開源中國社區-開源硬體專區http://ww...
</span><span> 78</span><span></span><span>p</span><span>></span><span> 79</span><span><span>div </span><span>class== </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/lubiao/"</span><span> class</span><span>="lightblue"</span><span>></span>clbiao<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span> 05
</span><span> 82</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a 9.78</span><span></span><span>.7.20383:203883:703853:7038535353:20383:7038353:705335353:20383:70533553:703383:705353:7053533:7053383:7053383:7053383:7053383:70533533:703383:70338353:7033833533:7053338337033838383:7. commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span> 83</span><span> </span><span> span </span><span>class</span><span>="article_view"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/lubiao/p/4716200. "</span><span>></span>閱讀(59)<span></span><span>a</span><span>></span><span>span</span><span>></span><span>8</span> <span> 85 </span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>div</span><span>></span><span> 86</span>div<span></span> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span> 88</span><span><span>div </span><span>class</span><span>="digg" class</span><span>="diggit"</span> <span> onclick</span><span>="DiggPost('xiaoheimiaoer',4716191,124701,1)"</span><span>></span><span> 90</span><span> <span></span>="digg_count_4716191"<span> </span>><span>0</span><span></span>span<span></span>><span></span> 91<span></span><span></span>div<span></span>><span> "</span><span>></span> <span>div</span><span>></span><span> 93</span><span><span>div </span><span>id</span><span>="digg_tip_4716191"</span><span></span>="digg_tip_4716191"<span></span><span></span> <span></span>><span></span> 94<span></span> <span></span>div<span></span>><span></span> 95<span></span></span>div <span></span>class<span></span>="post_item_body"<span> </span><span>a </span><span>class</span><span>=" titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html"</span><span> target</span><span>="_blank"</span><span>>聽按</span> <span></span>><span></span>h3<span></span>><span></span> 97<span></span></span>p <span></span>class<span></span>="post_item_ <span>a </span><span>href</span><span>="http: //www.cnblogs.com/xiaoheimiaoer/"</span><span> target</span><span>="_blank"</span><span>><span>img </span><span>width</span>="o448" 4748" 47487" 4748" class748" 474248" 474257" class748" <span> ="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/435330/20140328110126.png"</span><span> alt</span><span>=""</span>有些時候,我們需要在網頁上,增加一些快速按鍵,方便使用者使用一些常用的操作,例如:儲存,撤銷,複製、貼上等等。以下簡單整理一下想法: 我們所熟悉的按鍵有這麼集中類型:單獨的按鍵操作,如:delete、up、down等兩位組合構建,如:ctrl(cmd)+ 其他按鍵,alt+其他按鍵,shift. ..
</span><span> 99</span><span></span><span>p</span><span>></span><span>100</span><span><span>div" </span><span>class</span> <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/xiaoheimiaoer/"<span></span> class<span></span>="lightblue"<span></span>><span>黑MAO</span><span></span>a<span></span>><span> :59
</span><span>103</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a.com/wwwmmmo化</span> html# commentform"<span></span> title<span></span>=""<span></span> class<span></span>="gray"<span></span>><span></span>104<span> 評論(0)</span> <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.com/ "<span></span>><span>閱讀(36)</span><span></span>a<span></span>><span></span>span<span></span>><span></span>div<span></span>><span></span>><span></span>div<span> </span><span>106 </span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>div</span><span>></span><span>107</span>div<span></span> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span>109</span><span><span>div </span><span>class</span><span>="digg"</span><span> class</span><span>="diggit"</span> <span> onclick</span><span>="DiggPost('QG-whz',4716139,205933,1)"</span><span>></span><span>111</span><span> <span></span>="digg_count_4716139 "<span></span>><span>0</span><span></span>span<span></span>><span></span>112<span></span><span></span>div<span></span>> <span>="clear"</span><span>><span>div</span><span>></span><span>114</span><span><span>div </span><span>id</span><span>="digg_tip_4716139"id</span><span>="digg_tip_4716139"</span> <span>div</span><span>></span><span>115</span><span> </span><span>div</span><span>></span><span>116</span><span><span>div</span><span>class</span><span>="post_item_body"</span><span>class</span><span>="post_item_body"</span><span>class</span><span>="post_item_body" <span>a </span><span>class</span><span> ="titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/QG-whz/p/4716139.html"</span><span> target</span><span>="_blank"</span><span></span><span>建構子</span><span></span>a<span></span>><span></span>h3<span></span>><span></span>118<span></span></span>p. <span></span></span>a <span> </span>href<span></span>="http://www.cnblogs.com/QG-whz/"<span></span> target<span></span>="_blank"<span></span>></span>img <span> </span>="48"<span></span> class<span></span>="pfs"<span></span> src<span></span>="http://pic.blogs.com/face/610439/20150502210248.png="<span></span> <span></span>a<span></span>><span></span> #[C++物件模型]複製建構函式的建構運算關於複製建構函式的簡單介紹,可以看我以前寫過的一篇文章[C++複製控制之複製建構函式]( http://www.cnblogs.com/QG-whz/p/4485574.html "C++ 複製控制之複製建構子")這篇文章中介紹了複製建構子的定義、呼叫時機、...
<span></span>120<span></span><span></span>p<span></span>><span></span>121<span></span></span>div" <span></span>class<span> </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/QG-whz/"</span><span> class</span><span>="lightblue"</span><span>></span>melonstreet<span></span><span>a</span><span>></span><span>123</span><span> 發佈於2015-08-09 19:44
</span><span>124</span><span><span>span</span><span>class</span><span>="article_comment"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/QG-whz/p /4716139. html#commentform"</span><span>標題</span><span>=""</span><span>類</span><span>="灰色"</span><span>></span><span>125</span>評論(0)<span> </span><span>span</span><span>class</span><span>="article_view"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/QG-w </span>="灰色"<span></span>><span>閱讀(41)</span><span></span>a<span></span>><span></span>span<span></span>> <span> ></span><span>127</span><span><span>div</span><span>class</span><span>="clear"</span><span>></span><span>div18</span> <span>129</span><span> <span>div</span><span>class</span><span>="post_item"</span><span>> </span><span>130</span><span> <span>div </span><span>class</span> <span></span>div <span></span>class<span></span>= "diggit"<span></span> onclick<span></span>="DiggPost('advances',4 716089,238649 ,1)"<span></span>><span></span>132<span>🜎 </span>id<span></span> ="digg_count_4716089"<span></span>><span>1</span> <span></span>跨度<span> </span>><span></span>133<span></span> <span></span>class<span></span>="清除"<span> </span>><span> </span>div<span></span>&gt ;<span></span>135<span></span></span>div<span></span>id<span></span>="digg_tip_4716089" <span></span>div<span></span>> <span> </span>136<span></span></span>div<span></span>><span></span>137<span></span></span>div <span></span>class<span></span>="post_it <span></span>h3 <span></span>></span>a <span> </span>class<span></span>="titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/advances/p/4716089.html"<span></span>target<span>ank</span>="三】HelloWorld一目了然<span></span><span>a</span><span>></span><span>h3</span><span>></span><span>139</span><span>_p🜎 <span></span>140<span></span> </span>a <span></span>href<span></span>="http://www.cnblogs.com/advances/"<span></span>目標<span></span>="_blank"<span></span>><高度</span><span>="48"</span><span>類</span><span>="pfs"</span><span>src</span><span>="http://pic.cnblogs.com/face/794244/20150804212641.p </span>><span></span>a<span></span>><span></span>什麼程式都是從HelloWorld先開始的。同樣Cocos2d-x我們先HelloWorld進行下手、下面從是HelloWorld的運行完成圖:建立的Cocos遊戲專案中會有兩個比較常用接觸的資料夾。分別為Classes和resource。Classes存取代碼文件,resource訪問資源文件,下...
</span><span>141</span><span></span><span>p</span><span>></span><span>142</span><span><span>div" </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/advances/"</span><span> class</span><span>="lightblue"</span><span>></span>蔡明勇<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span>144-389501990381990 :27
</span><span>145</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a cn/To</span>hrefp commentform"<span></span> title<span></span>="2015-08-09 20:37"<span></span> class<span></span>="gray"<span></span>><span> </span>span<span></span>></span>span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span>><span>a </span><span>href</span>></span>a <span>. </span><span> </span> <span>div</span><span>></span><span>148</span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>="clear"</span><span>></span> <span></span>><span></span>150 <span></span></span>div <span></span>class<span></span>="post_item"<span></span>><span></span>151<span></span></span>div <span>151</span><span><span>div </span> <span></span></span>div <span></span> class<span></span>="diggit"<span></span> onclick<span></span>="DiggPost('kodoyang',4715572,180900,1)"<span></span>><span></span>153class ="diggnum"<span></span> id<span></span>="digg_count_4715572"<span></span>><span>0</span><span></span>span<span></span>><span></span>154<span>🜎< </span><span>div </span><span>class</span><span>=" clear"</span><span>></span><span>div</span><span>></span><span>156</span><span><span>div </span><span>id</span><span>="digg_ </span>><span></span>div<span></span> ><span></span>157<span></span><span></span>div<span></span>><span></span>158<span></span></span>div" <span></span>class<span></span><span></span> <span></span>h3<span></span>></span> a <span></span>class<span></span>="titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html"<span></span> target<span>>蒙特卡羅方法計算圓周率</span><span></span>a<span></span>><span></span>h3<span></span>><span></span>160<span></span></span>p <span>160</span><span><span>p </span>160<span></span> <span>161</span><span><span> a </span><span>href</span><span>="http://www.cnblogs.com/kodoyang/"</span><span> target</span><span>="_blank"</span><span>><span>img 🜎 </span>="48"<span></span> class<span></span>="pfs"<span></span> src<span></span>="http://pic.blogs.com/face/618527/20150809193301.png="<span></span><span> </span><span>a</span><span>></span><span> 為了避免計算時間超過十秒鐘,很隨意的減小了樣本值。  【方形中的所有像素計算】中一共計算10^8次,當在【方形中的隨機像素計算】中也計算相同的次數時,就會陷入等待。  猜測原因是取得隨機數的時候浪費了很多時間,也可能是循環的次數太多消耗時間。【方形中的隨機像素求平均值】中巴10^8分成了計算10...
</span><span>162</span><span></span><span>p</span><span>></span><span>163</span><span><span>div </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/kodoyang/"</span><span> class</span><span>="lightblue"</span><span>></span>kodoyang<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span> 24
</span><span>166</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a </span><span>href</span><span>="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html# commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span>167</span>🜎 <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/kodoyang/p/Mont<span>_PI.com "</span><span>></span>閱讀(48)<span></span><span>a</span><span>></span><span>span</span><span>></span><span>div</span><span>></span><span>></span><span>6</span> <span></span>169 <span></span></span>div <span></span>class<span></span>="clear"<span></span>><span></span>div<span></span>><span></span>170<span>div</span><span> </span></span>div <span></span> class<span></span>="post_item"<span></span>><span></span>172<span></span></span>div <span></span>class<span></span>="digg" class<span></span>="diggit"<span> </span> onclick<span></span>="DiggPost('xyczero',4716019,198864,1)"<span></span>><span></span>174<span></span> </span>="digg_count_4716019"<span> </span>><span>0</span><span></span>span<span></span>><span></span>175<span></span><span></span>div<span></span>><span> "</span><span>></span> <span>div</span><span>></span><span>177</span><span><span>div </span><span>id</span><span>="digg_tip_4716019"</span><span></span>="digg_tip_4716019" <span></span>><span></span>178<span></span> <span></span>div<span></span>><span></span>179<span></span></span>div<span></span>class<span></span>="post_item_body"<span></span>class<span></span>="post_item_body"<span></span>class<span></span>="post_item_body" <span></span>a <span></span>class<span></span>=" titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/xyczero/p/4716019.html"<span></span> target<span></span>="_blank"<span></span>><span>></span>主題<span></span><span>a</span><span>></span><span>h3</span><span>></span><span>181</span><span><span>ppost</span>_class<span> </span><span><span>a </span><span>href </span><span>="http://www.cnblogs.com/xyczero/"</span><span>="http://www.cnblogs.com/xyczero/"</span><span> target</span><span>="_blank"</span><span>><span>img </span><span>width</span>></span>img <span></span>width<span>=" "</span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/674691/20140930230333.png"</span><span></span><span></span> a<span></span>><span></span> ##引言夜間模式其實屬於多主題切換的一種,不過是最麻煩的一種。因為在夜間模式下不僅要切換主色調,次要色調等等,還要覆蓋一些特殊的顏色,因為在夜間模式下總不能什麼都是黑的把,那不得醜死-。 -,所以當你夜間模式完成後,你的App對於日後多主題的擴展就可以輕鬆勝任了。##實現思路多數App由於歷史原因當對...
</span><span>183</span><span></span><span>p</span><span>></span><span>184</span><span><span>div" </span><span>class</span> <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/xyczero/"<span></span> class<span></span>="lightblue"<span></span>><span>xyczero</span><span></span>a<span></span>><span></span><span></span>a<span></span>><span></span> 40
<span></span>187<span></span></span>span <span></span>class<span></span>="article_comment"<span></span>></span>a 9. commentform"<span></span> title<span></span>=""<span></span> class<span></span>="gray"<span></span>><span></span>188<span> 評論(0)</span> <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/comcomm/p/4716019.html" "<span></span>><span>閱讀(78)</span><span></span>a<span></span>><span></span>span<span></span>><span></span>div<span></span>><span></span>><span></span>1 <span></span>190 <span></span></span>div <span></span>class<span></span>="clear"<span></span>><span></span>div<span></span>><span></span>191<span>div</span><span>></span><span>191</span>div<span></span> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span>193</span><span><span>div </span><span>class</span><span>="digg" class</span><span>="diggit"</span> <span> onclick</span><span>="DiggPost('xishuai',4715000,124657,1)"</span><span>></span><span>195</span><span><span>="digg_count_4715000"</span> <span>></span>8<span></span><span>span</span><span>></span><span>196</span><span></span><span>div</span><span>></span> "<span></span>><span> </span>div<span></span>><span></span>198<span></span></span>div <span></span>id<span></span>="digg_tip_4715000"<span></span><span>="digg_tip_4715000" </span><span>></span><span>199</span><span> </span><span>div</span><span>></span><span>200</span><span><span>div</span><span>class</span><span>="post_item_body"</span><span>class</span><span>="post_item_body" </span><span>a </span><span>class</span><span>=" titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/xishuai/p/4715000.html"</span><span> target</span><span>="_blank"</span><span>></span>> /<span></span>a<span></span>><span></span>h3<span></span>><span></span>202<span></span></span>p <span></span>class<span> </span></span>a <span></span>href<span></span> ="http://www.cnblogs.com/xishuai/"<span></span> target<span></span>="_blank"<span></span>></span>img <span></span>width<span>=" </span> class<span></span>="pfs"<span></span> src<span></span>="http://pic.cnblogs.com/face/435188/20130715165802.png"<span>🜎 </span>><span></span> 《[2014-寫給明年現在的自己](http://www.cnblogs.com/xishuai/p/3900217.html)》時間如流水,轉眼又是一年,回頭看去年現在的自己,彷彿還在昨天。去年的那篇博文,如果認真去讀的話,你會發現我是帶有情緒的,對自己以及對所看到人和事不滿的一種情緒發洩,寫出來...
</span><span>204</span><span></span><span>p</span><span>></span><span>205</span><span><span>div" </span><span>class</span> <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/xishuai/"<span></span> class<span></span>="lightblue"<span></span>><span>田園裡的蟋蟀</span><span></span>a<span></span>>🜎 09 18:08
<span></span>208<span></span></span>span <span></span>class<span></span>="article_comment"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/xishuai/p/4715000.html# commentform"<span></span> title<span></span>="2015-08-09 20:17"<span></span> class<span></span>="gray"<span></span>><span> </span>span<span></span>></span>span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span>><span>a </span><span>href</span> <span></span> <span> </span>div<span></span>><span></span>211<span></span></span>div<span></span>class<span></span>="clear"<span></span>><span></span>="clear"<span></span>><span> </span><span>></span><span>213 </span><span><span>div </span><span>class</span><span>="post_item"</span><span>></span><span>214</span><span><span>div </span>214<span></span>div </span> <span></span></span>div <span></span> class<span></span>="diggit"<span></span> onclick<span></span>="DiggPost('anding',4715440,76293,1)"<span></span>><span></span>2166293,1)"<span></span>><span></span>2166216 月num"<span></span> id<span></span>="digg_count_4715440"<span></span>><span>7</span><span></span>span<span></span>><span></span>217<span>217</span>span<span></span>><span></span>217<span>217 </span><span>div </span><span>class</span><span>=" clear"</span><span>></span><span>div</span><span>></span><span>219</span><span><span>div </span><span>id</span><span>="digg_ </span>><span></span>div<span></span> ><span></span>220<span></span><span></span>div<span></span>><span></span>221<span></span></span>div" <span></span>class <span></span>h3<span></span>></span> a <span></span>class<span></span>="titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/anding/p/4715440.html"<span></span> target<span></span><<span>全套31個UI元件開源共享</span><span></span>a<span></span>><span></span>h3<span></span>><span></span>223<span></span>_p </span>224<span></span> </span>a <span></span>href<span></span>="http://www.cnblogs.com/anding/"<span></span> target<span></span>="_blank"<span></span>> height</span><span>="48"</span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/151257/2015080918004" </span><span>></span><span>a</span><span>></span><span> 一.前言 這套UI庫是上一個公司(好幾年前了)完成的。當時主要為開發公司內部ERP系統,重新設計實現了所有用到的Winform組建,包括Form窗體組成6個(支援換膚),基礎控制25個。其中有許多參考借鑒其他開源元件,也有幾個是整合的別人的元件,然後做了一些調整。現在已經好幾年不做Winform.....
</span><span>225</span><span></span><span>p</span><span>></span><span>226</span><span><span>div" s </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/anding/"</span><span> class</span><span>="lightblue"</span><span>></span>/*夢里花落知多少*/<span></span><span>a</span><span>></span>><span>發佈於2015-08-09 18:01
</span><span>229</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a 9. commentform"</span><span> title</span><span>="2015-08-09 20:33"</span><span> class</span><span>="gray"</span><span>></span>230 <span>span</span><span>><span>span </span><span>class</span><span>="article_view"</span><span>><span>a </span><span>href</span>></span>a <span></span>href<span>42075/html> </span><span> </span> <span>div</span><span>></span><span>232</span><span><span>div </span><span>class</span><span>="clear"</span><span>> </span><span>></span><span>234 </span><span><span>div </span><span>class</span></span>div <span></span>class<span></span>="post_item"<span></span>><span></span>235<span></span></span>div <span>235</span><span> <span></span></span>div <span></span> class<span></span>="diggit"<span></span> onclick<span></span>="DiggPost('liulun',4714858,32486,1)"<span></span>><span>🜎2377=" iggnum"</span><span> id</span><span>="digg_count_4714858"</span><span>></span>1<span></span><span>span</span><span>></span><span>238</span> <span></span>div <span></span>class<span></span>=" clear"<span></span>><span></span>div<span></span>><span></span>240<span></span></span>div <span></span>id<span></span>="digg_ <span>></span><span>div</span><span> ></span><span>241</span><span></span><span>div</span><span>></span><span>242</span><span><span>div" </span><span>h3</span><span>><span> a </span><span>class</span><span>="titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/liulun/p/4714858.html"</span><span> target</span><span>用</span><span>語言開發windows GUI圖形介面程式</span><span></span>a<span></span>><span></span>h3<span></span>><span></span>244<span></span>_p </span>245<span></span> </span>a <span></span>href<span></span>="http://www.cnblogs.com/liulun/"<span></span> target<span></span>="_blank"<span></span>> height</span><span>="48"</span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/u28932.png</span>="http://pic.cnblogs.com/face/u28932.pngg<span>="http://pic.cnblogs.com/face/u28932.pngngid ""</span><span>></span><span>a</span><span>></span><span> 前言本文得到了「樂師」的大力支持,我們一起調試程序到深夜,如果沒有他的幫忙,我不知道要多久才能邁過這道坎,另外「歸心」還有其他人也提供了幫助,他們都來自於QQ群:「Nim開發集中營」469329878;有興趣的朋友,可以加這個群一起討論配置GUI開發環境我在這篇博客中,寫到了Nim開發環境的搭建那篇...
</span><span>246</span><span></span><span>p</span><span>></span><span>247</span><span><span>div" </span><span>class</span> <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/liulun/"<span></span> class<span></span>="lightblue"<span></span>><span>liulun</span><span></span>a<span><span>></span><span>249</span><span> 發佈於2015-08-09 17:47
</span><span>250</span><span>&lt;</span><span>span</span><span>class</span><span>=「artern_comment」</span><span>&gt;&lt;</span>/Af<span>& 58 .html#commentform"</span><span>標題</span><span>=""</span><span>類</span><span>="灰色"</span><span>></span><span>251</span> </span>span<span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cn ="灰色"<span></span>><span>閱讀(175)</span><span></span>a<span></span>><span></span>span<span></span>><span></span>div<span></span> ><span></span>252<span></span><span></span>div<span></span>> <span></span>253<span></span></span>div<span></span>class<span></span>="clear"<span></span>><span></span>div 5 <span>255</span><span><span> div</span><span>class</span><span>="post_item"</span><span>></span><span>256 </span><span><span>div </span><span> class</span><span>="digg </span>div <span></span>class<span></span>=" diggit"<span></span> onclick<span></span>="DiggPost('klguang',4715529,232502, 1)" <span></span>><span></span>258<span></span> <span>id</span><span>=" digg_count_4715529"</span><span>></span>2<span> </span><span>跨度</span><span>></span>div<span>259</span><span></span> <span>class</span><span>="清除"</span><span>> </span><span>div</span> <span>></span><span>261 </span><span><span>div</span><span>id</span><span>="digg_tip_4715529" </span>div<span></span>><span></span>262 <span> </span><span></span>div <span></span>><span></span>263<span></span></span><span>></span><span>263</span><span><span>div</span><span>class</span><span>="post_it_body"</span><span>class</span> <span>> <span>一堂</span><span>課</span> <span>="titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/klguang/p/4715529.html"</span><span> target</span><span>="_blank"</span><span>. /</span><span>a</span><span>></span><span>h3</span><span>></span><span>265</span><span><span>p</span><span>class </span>複習JSP的概念JSP 是Java Server Page的縮寫,在傳統的HTML 頁面中加入JSP 標籤和java 的程式片段就構成了JSP。 JSP 的基本語法:兩個註解類型、三個腳本元素、三個元素指令、八個動作指令。JSP的內建物件常用的有:Request、Response、Out、Session、...
</span><span>267</span><span></span><span>p</span><span>></span><span>268</span><span><span>div </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/klguang/"</span><span> class</span><span>="lightblue"</span><span>></span>klguang<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span> 46
</span><span>271</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a 99.com commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span>272</span> <span></span> span <span></span>class<span></span>="article_view"<span></span>></span>a <span></span>href<span></span>="http://www.cnblogs.com/klguang/p/4715529. "<span></span>><span>閱讀(71)</span><span></span>a<span></span>><span></span>span<span></span>><span></span>7<span></span>><span></span>><span></span>73<span> </span><span>274 </span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>div</span><span>></span><span>275</span>div<span></span> <span><span>div </span><span> class</span><span>="post_item"</span><span>></span><span>277</span><span><span>div </span><span>class</span><span>="digg"</span> class<span></span>="diggit"<span> </span> onclick<span></span>="DiggPost('Lance--blog',4715495,226155,1)"<span></span>><span></span>279<span></span></span>=" digg_count_4715495"<span></span>><span>0</span><span></span>span<span></span>><span></span>280<span></span> <span>class</span><span>="clear"</span><span>> </span><span>div</span><span>></span><span>282</span><span><span>div </span><span>id</span><span>="digg_tip_4715495"id</span><span>="digg_tip_4715495"</span> <span>div</span><span>></span><span>283</span> <span></span><span>div</span><span>></span><span>284</span><span><span>div </span><span>class</span><span>="post_item_body"</span><span>class</span><span>="post_item_body"</span><span>> </span>></span>a <span></span>class<span> </span>="titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/Lance--blog/p/4715495.html"<span></span> target<span></span>="_blank"<span>環境的配置與git密鑰的產生總結</span><span></span>a<span></span>><span></span>h3<span></span>><span></span>286<span></span>_p🜎 </span> 287<span></span></span>a <span></span>href<span></span>="http://www.cnblogs.com/Lance--blog/"<span></span> target<span></span>="_blank🜎 <span>="48"</span><span> height</span><span>="48"</span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face</span> src<span></span>="http://pic.cnblogs.com/face<span> src</span><span>="http://pic.cnblogs.com/face</span>24850385203252032/p alt<span></span>=""<span></span>><span></span>a<span></span>><span> phpstorm上配置git環境的配置總覺得很簡單,沒發現看似簡單的東西浪費我好多時間。我在网上查了一下关于phpstorm的git环境的配置没有具体的总结所以我把自己的配过程简单总结了一下接下来是我的配置环境的具体步骤一:在PHPstorm中配置 git环境(1)点击phpstorm的file-<span>&gt;</span><span>... 
</span><span>288</span><span></</span><span>p</span><span>></span><span>289</span><span><</span><span>div </span><span>class</span><span>="post_item_foot"</span><span>></span><span>290</span><span><</span><span>a </span><span>href</span><span>="http://www.cnblogs.com/Lance--blog/"</span><span> class</span><span>="lightblue"</span><span>></span>lance--blog<span></</span><span>a</span><span>></span><span>291</span><span>    发布于 2015-08-09 17:40 
</span><span>292</span><span><</span><span>span </span><span>class</span><span>="article_comment"</span><span>><</span><span>a </span><span>href</span><span>="http://www.cnblogs.com/Lance--blog/p/4715495.html#commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span>293</span>         评论(0)<span></</span><span>a</span><span>></</span><span>span</span><span>><</span><span>span </span><span>class</span><span>="article_view"</span><span>><</span><span>a </span><span>href</span><span>="http://www.cnblogs.com/Lance--blog/p/4715495.html"</span><span> class</span><span>="gray"</span><span>></span>阅读(40)<span></</span><span>a</span><span>></</span><span>span</span><span>></</span><span>div</span><span>></span><span>294</span><span></</span><span>div</span><span>></span><span>295</span><span><</span><span>div </span><span>class</span><span>="clear"</span><span>></</span><span>div</span><span>></span><span>296</span><span></</span><span>div</span><span>></span><span>297</span><span><</span><span>div </span><span>class</span><span>="post_item"</span><span>></span><span>298</span><span><</span><span>div </span><span>class</span><span>="digg"</span><span>></span><span>299</span><span><</span><span>div </span><span>class</span><span>="diggit"</span><span> onclick</span><span>="DiggPost('now-fighting',4715432,167921,1)"</span><span>></span><span>300</span><span><</span><span>span </span><span>class</span><span>="diggnum"</span><span> id</span><span>="digg_count_4715432"</span><span>></span>0<span></</span><span>span</span><span>></span><span>301</span><span></</span><span>div</span><span>></span><span>302</span><span><</span><span>div </span><span>class</span><span>="clear"</span><span>></</span><span>div</span><span>></span><span>303</span><span><</span><span>div </span><span>id</span><span>="digg_tip_4715432"</span><span> class</span><span>="digg_tip"</span><span>></</span><span>div</span><span>></span><span>304</span><span></</span><span>div</span><span>></span><span>305</span><span><</span><span>div </span><span>class</span><span>="post_item_body"</span><span>></span><span>306</span><span><</span><span>h3</span><span>><</span><span>a </span><span>class</span><span>="titlelnk"</span><span> href</span><span>="http://www.cnblogs.com/now-fighting/p/4715432.html"</span><span> target</span><span>="_blank"</span><span>></span>Java的Package和Classpath<span></</span><span>a</span><span>></</span><span>h3</span><span>></span><span>307</span><span><</span><span>p </span><span>class</span><span>="post_item_summary"</span><span>></span><span>308</span><span><</span><span>a </span><span>href</span><span>="http://www.cnblogs.com/now-fighting/"</span><span> target</span><span>="_blank"</span><span>><</span><span>img </span><span>width</span><span>="48"</span><span> height</span><span>="48"</span><span> class</span><span>="pfs"</span><span> src</span><span>="http://pic.cnblogs.com/face/579605/20140306195458.png"</span><span> alt</span><span>=""</span><span>></</span><span>a</span><span>></span><span>    ## Package在Java中,Package是用来包含一系相关实例的集合。这些相关联的实例包括:类、接口、异常、错误以及枚举。Package主要有一些的几点作用:1. Package可以处理名字冲突,在冲突的名字前加上包的名字,通过使用名字的全限定名来访问名字的时候,可以避免名字冲突。因為在不同...
</span><span>309</span><span></span><span>p</span><span>></span><span>310</span><span><span>div" </span><span>class</span> <span></span>a <span></span>href<span></span>=" http://www.cnblogs.com/now-fighting/"<span></span> class<span></span>="lightblue"<span></span>><span>Now</span>&<span>Fight</span><span>a</span><span> -08-09 17:13
</span><span>313</span><span><span>span </span><span>class</span><span>="article_comment"</span><span>><span>a cn7🜎 html#commentform"</span><span> title</span><span>=""</span><span> class</span><span>="gray"</span><span>></span><span>314</span>         評論(0)<span></span><span>a</span><span>></span><span>span</span><span>><span>span </span><span>class</span><span>="article_view"</span><span>><span>a </span>-href<span> </span>="gray"<span></span>><span>閱讀(86)</span><span></span>a<span></span>><span></span>span<span></span>> <span> ></span><span>316</span><span><span>div </span><span>class</span><span>="clear"</span><span>></span><span>div </span>318<span></span> </span>div <span></span>class<span></span>="post_item"<span></span>><span></span>319<span></span></span>div <span>div </span><span>class</span><span>= "diggit"</span><span> onclick</span><span>="DiggPost('LBSer',4715395,149585,1)"</span><span>></span><span>321🜎 </span> id<span></span>= "digg_count_4715395"<span></span>><span>2</span><span></span>span<span></span>><span></span>322<span></span> <span></span>class<span></span>="clear"<span></span> ><span></span>div<span></span>><span></span>324<span></span></span>div <span></span>id<span></span>="digg_tip_4715395"id<span></span>="digg_tip_4715395"<span> </span>div<span></span>><span></span>325 <span></span><span></span>div<span></span>><span></span>326<span></span></span>div <span></span>class<span></span>="post_item_body" <span></span>></span>a <span></span>class <span></span>="titlelnk"<span></span> href<span></span>="http://www.cnblogs.com/LBSer/p/4715395.html"<span></span> target<span></span>="_blank<span>]式事務? </span><span></span>a<span></span>><span></span>h3<span></span>><span></span>328<span></span></span>p <span>_class</span><span> </span><span><span>a </span><span>href </span><span>="http://www.cnblogs.com/LBSer/"</span><span> target</span><span>="_blank"</span><span>><span>img </span><span>width</span>></span>img <span></span>width "<span></span> class<span></span>="pfs"<span></span> src<span></span>="http://pic.cnblogs.com/face/522490/20150808185035.png"<span></span><span></span><span></span> a<span></span>><span></span> http://www.cnblogs.com/LBSer/p/4715395.html 前陣子從支付寶轉帳1萬塊錢到餘額寶,這是日常生活的一件普通小事,但作為互聯網研發人員的職業病,我就思考支付寶扣除1萬之後,如果系統掛掉怎麼辦,這時餘額寶帳戶並沒有增加1萬,數據就會出現不一致狀況了。 上述場...
<span></span>330<span></span><span></span>p<span></span>><span></span>331<span></span></span>div" <span></span>class<span> </span><span>a </span><span>href</span><span>=" http://www.cnblogs.com/LBSer/"</span><span> class</span><span>="lightblue"</span><span>></span>zhanlijun<span></span><span>a</span><span>></span><span></span><span>a</span><span>></span><span>3333 發布</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn