<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WETONG博客</title>
	<atom:link href="http://en.phptop.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.phptop.cn</link>
	<description>又一个 WordPress 博客</description>
	<lastBuildDate>Wed, 21 Jul 2010 08:09:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CuteFTP中修改FTP密码</title>
		<link>http://en.phptop.cn/archives/678/</link>
		<comments>http://en.phptop.cn/archives/678/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 08:09:39 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[网络，网页技术]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=678</guid>
		<description><![CDATA[CuteFTP中修改FTP密码，前提是管理员用户密码，否则不能修改。
启动CuteFTP后进入菜单，点选：命令→自定义命令→定义。
进入“自定义命令”窗口后，点“添加”按钮。
在标签文本框中输入： pass 或 其它任意标识文字 ，在命令文本框中输入： site  pswd  %[oldpass]  %[newpass] 。
点选“关闭”按钮退出，OK。
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/678/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>2010南非世界杯主裁判拉里昂达（英格兰出局最大＂罪人＂）被枪杀</title>
		<link>http://en.phptop.cn/archives/670/</link>
		<comments>http://en.phptop.cn/archives/670/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 05:15:30 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[生活，工作，学习]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=670</guid>
		<description><![CDATA[英格兰出局最大＂罪人＂，主裁判拉里昂达被英国球迷枪杀。
南非国家电视台于当地时间28号0点段报道了一则让世界球迷倍感震惊的消息，在本届世界赛中执法英国与德国一战的乌拉圭籍主裁判拉里昂达于当地时间28号晚0点左右在走出布隆方丹体育场被人连开数枪击中后于当场死亡，终年43岁。
该消息已被证实是假新闻，未发现有可靠消息源报道此类新闻。
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/670/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress半角符号变全角问题解决</title>
		<link>http://en.phptop.cn/archives/663/</link>
		<comments>http://en.phptop.cn/archives/663/#comments</comments>
		<pubDate>Sun, 30 May 2010 06:36:49 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[网络，网页技术]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=663</guid>
		<description><![CDATA[WordPress发表文章自动将某些英语标点符号转换成中文标点符号（半角变全角了），解决：
修改WordPress安装目录/wp-includes/formatting.php文件，找到以下4行代码：
// static strings
$curl =  str_replace($static_characters, $static_replacements, $curl);
// regular expressions
$curl =  preg_replace($dynamic_characters, $dynamic_replacements, $curl);
蓝色部份前面加//屏蔽注释掉。
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/663/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>图片自动适应容器大小 &#8211; jquery+CSS</title>
		<link>http://en.phptop.cn/archives/659/</link>
		<comments>http://en.phptop.cn/archives/659/#comments</comments>
		<pubDate>Sun, 30 May 2010 06:16:25 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[网络，网页技术]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=659</guid>
		<description><![CDATA[jquery部份：
//autoImage
;(function($){
$.extend({
&#8220;autoImage&#8221; : function(options){
options = options &#124;&#124; {};
options = $.extend({
&#8220;parent&#8221;         : null,
&#8220;loadClassId&#8221;    : &#8220;&#60;img src=&#8217;/images/loading.gif&#8217; align=&#8217;absmiddle&#8217; /&#62;图片载入中&#8230;&#8221;,
&#8220;src&#8221;            : &#8220;&#8221;,
&#8220;url&#8221;            : &#8220;&#8221;,
&#8220;alt&#8221;            : &#8220;&#8221;
},options);
var parent = options.parent;
if(parent == null &#124;&#124; parent.length == 0) return;
parent.addClass(options.loadClassId);
var url = (options.url) ? options.url : options.src;
if(options.src) parent.html(&#8220;&#60;a href=&#8217;&#8221;+url+&#8221;&#8216; title=&#8217;&#8221;+options.alt+&#8221;&#8216; target=&#8217;_blank&#8217;&#62;&#60;img alt=&#8217;&#8221;+options.alt+&#8221;&#8216; /&#62;&#60;/a&#62;&#60;br /&#62;&#60;div class=&#8217;altbig&#8217;&#62;&#8221;+options.alt+&#8221;&#60;/div&#62;&#8221;);
var image   = parent.find(&#8220;img&#8221;);
var src     = (options.src) ? options.src [...]]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/659/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>内容页文件命名形式以变量命名 &#8211; 帝国CMS</title>
		<link>http://en.phptop.cn/archives/653/</link>
		<comments>http://en.phptop.cn/archives/653/#comments</comments>
		<pubDate>Mon, 17 May 2010 10:24:19 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[帝国CMS二次开发]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=653</guid>
		<description><![CDATA[对已采集好或已手工好内容页的，文件名以变量命名形式可执行以下SQL语句：
update 表名 set filename=字段名 where classid in(栏目ID)
多个栏目用“,”隔开。案例：http://www.ninwo.org/Quote/sz_Stocks/
附：某字段批量添加内容
update `表名` set `字段`=CONCAT(字段,&#8217;内容&#8217;) 
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/653/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>jquery插件之tablesorter，使网页表格table可排序化</title>
		<link>http://en.phptop.cn/archives/648/</link>
		<comments>http://en.phptop.cn/archives/648/#comments</comments>
		<pubDate>Sat, 15 May 2010 15:30:12 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[网络，网页技术]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=648</guid>
		<description><![CDATA[网页表格table可排序化
&#60;link type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; rel=&#8221;stylesheet&#8221; href=&#8221;/css/jquery/sortable.css&#8221; /&#62;
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;/scripts/jquery.js&#8221;&#62;&#60;/script&#62;
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;/scripts/jquery.tablesorter.js&#8221;&#62;&#60;/script&#62;
&#60;script type=&#8221;text/javascript&#8221;&#62;
$(function(){
var enable_table_sort = true;
var highlightline = &#8216;lightLine&#8217;;
if( enable_table_sort ){
$(&#8220;table[class*=tablesorter]&#8220;).tablesorter({widgets: ['zebra']}); // 斑马纹在这实现
$(&#8220;table[class*=tablesorter]&#8220;)
.filter(&#8216;tbody&#8217;).children().each(function(idx){
$(this)
.mouseover(function(){$(this).addClass(highlightline)})
.mouseout(function(){$(this).removeClass(highlightline)});
});
}
});
//&#8211;&#62;
&#60;/script&#62;  ﻿
就样就可使页面中所有 class中含有tablesorter样式的table 实现表格排序、斑马纹（各行换色）和行高亮了。
官方下载址：http://tablesorter.com/docs/
演示地址：http://tablesorter.com/docs/#Demo
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/648/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用灵动标签显示“当天”，适用新闻系统 &#8211; 帝国CMS</title>
		<link>http://en.phptop.cn/archives/642/</link>
		<comments>http://en.phptop.cn/archives/642/#comments</comments>
		<pubDate>Wed, 05 May 2010 08:01:18 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[帝国CMS二次开发]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=642</guid>
		<description><![CDATA[当天新闻旁边显示“当天”字样：
[e:loop={栏目ID,显示条数,操作类型,只显示有标题图片}]
&#60;?
$newimg=&#8221;";
if(time()-$bqr[truetime]&#60;=1*24*3600)
{
$newimg=&#8221;当天&#8221;;
}
?&#62;
&#60;?=$newimg?&#62;
[/e:loop]
效果如 http://www.ninwo.org
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/642/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>栏目名、栏目别名调用 &#8211; 帝国CMS</title>
		<link>http://en.phptop.cn/archives/640/</link>
		<comments>http://en.phptop.cn/archives/640/#comments</comments>
		<pubDate>Wed, 05 May 2010 07:53:54 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[帝国CMS二次开发]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=640</guid>
		<description><![CDATA[1、标签调用（比如灵魂标签 $bqsr[classname]）的是栏目别名；
2、封面模板、列表模板调用栏目别名：
&#60;?=$class_r[$GLOBALS[navclassid]][bname]?&#62;
3、灵动标签调用栏目名称：
&#60;?=$class_r[$bqr[classid]][classname]?&#62;
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/640/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>获取新浪实时股票行情数据</title>
		<link>http://en.phptop.cn/archives/627/</link>
		<comments>http://en.phptop.cn/archives/627/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 10:30:50 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[财经证券]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=627</guid>
		<description><![CDATA[一、获取最新实时行情
以大秦铁路（股票代码：601006）为例，要获取它的最新行情，只需访问新浪的股票数据接口
http://hq.sinajs.cn/list=sh601006，这个url会返回一串文本
var hq_str_sh601006=&#8221;大秦铁路, 27.55, 27.25, 26.91, 27.55, 26.20, 26.91, 26.92,
22114263, 589824680, 4695, 26.91, 57590, 26.90, 14700, 26.89, 14300,
26.88, 15100, 26.87, 3100, 26.92, 8900, 26.93, 14230, 26.94, 25150, 26.95, 15220, 26.96, 2008-01-11, 15:05:32&#8243;;
这个字符串由许多数据拼接在一起，不同含义的数据用逗号隔开了，按照程序员的思路，顺序号从0开始。
0：”大秦铁路”，股票名字；
1：”27.55″，今日开盘价；
2：”27.25″，昨日收盘价；
3：”26.91″，当前价格；
4：”27.55″，今日最高价；
5：”26.20″，今日最低价；
6：”26.91″，竞买价，即“买一”报价；
7：”26.92″，竞卖价，即“卖一”报价；
8：”22114263″，成交的股票数，由于股票交易以一百股为基本单位，所以在使用时，通常把该值除以一百；
9：”589824680″，成交金额，单位为“元”，为了一目了然，通常以“万元”为成交金额的单位，所以通常把该值除以一万；
10：”4695″，“买一”申请4695股，即47手；
11：”26.91″，“买一”报价；
12：”57590″，“买二”
13：”26.90″，“买二”
14：”14700″，“买三”
15：”26.89″，“买三”
16：”14300″，“买四”
17：”26.88″，“买四”
18：”15100″，“买五”
19：”26.87″，“买五”
20：”3100″，“卖一”申报3100股，即31手；
21：”26.92″，“卖一”报价
(22, 23), (24, 25), (26,27), (28, 29)分别为“卖二”至“卖五的情况”
30：”2008-01-11″，日期；
31：”15:05:32″，时间；
JavaScript应用例子:
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://hq.sinajs.cn/list=sh601006&#8243; charset=&#8221;gb2312&#8243;&#62;&#60;/script&#62;
&#60;script type=&#8221;text/javascript&#8221;&#62;
var elements=hq_str_sh601006.split(&#8220;,&#8221;);
document.write(&#8220;当前价: &#8220;+elements[3]);
&#60;/script&#62;
这段代码输出大秦铁路（股票代码：601006）的当前股价“当前价: 14.20”。
如果同时查询多个股票，在URL后加上一个逗号，再加上股票代码就可以了；比如一次查询大秦铁路（601006）和大同煤业 （601001）的行情，就这样使用URL：
http://hq.sinajs.cn/list=sh601003,sh601001
查询大盘指数，比如查询上证综合指数（000001）：
http://hq.sinajs.cn/list=s_sh000001
服务器返回的数据为：
var hq_str_s_sh000001=&#8221;上证指数,3094.668,-128.073,-3.97,436653,5458126&#8243;;
数据含义分别为：指数名称，当前点数，当前价格，涨跌率，成交量（手），成交额（万元）；
查询深圳成指数：
http://hq.sinajs.cn/list=s_sz399001
二、获取股票K线图、日线图等

对于股票的K线图，日线图等的获取可以通过请求http://image.sinajs.cn/…./…/*.gif此URL获取，其中*代表股票 代码。
日K线图：
http://image.sinajs.cn/newchart/daily/n/sh601006.gif
分时线图：
http://image.sinajs.cn/newchart/min/n/sh000001.gif
日K线图：
http://image.sinajs.cn/newchart/daily/n/sh000001.gif
周K线图：
http://image.sinajs.cn/newchart/weekly/n/sh000001.gif
月K线查询：
http://image.sinajs.cn/newchart/monthly/n/sh000001.gif
]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/627/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>好用的火狐（Firefox）网页抓图插件 Pearl Crescent Page Saver</title>
		<link>http://en.phptop.cn/archives/613/</link>
		<comments>http://en.phptop.cn/archives/613/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 01:16:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[网络，网页技术]]></category>

		<guid isPermaLink="false">http://en.phptop.cn/?p=613</guid>
		<description><![CDATA[火狐（Firefox）有强大而数量相当多的插件，而成为众多网页建设、网络技术开发、SEO人员等喜用的浏览器；相比之下的IE浏览器则微软成鸡肋，食之无味弃之可惜。这里说的是一款不错的网页抓图插件-Pearl Crescent Page Saver。
1、安装 Pearl Crescent Page Saver
Pearl Crescent Page Saver 的安装很简单，只需在火狐浏览器的菜单“工具&#8211;&#62;附加组件”打开附加组件面板，并在搜索框中输入Pearl Crescent Page Saver按回车搜索即可搜到该插件，点击添加至Firefox，系统引导你一步步完成安装后重启火狐即可。如下图：


2、使用 Pearl Crescent Page Saver抓取网页生成图片
安装完成重启火狐后，导航工具条右方多出一个 Pearl Crescent Page Saver 照相机图标，同时鼠标右键菜单也会多出一“将当前可见区域保存为图片”和“将整个页面保存为图片”的菜单选项；点击即可生成当前网页的整页或可见区域的图片，并保存图片。如图：


]]></description>
		<wfw:commentRss>http://en.phptop.cn/archives/613/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
