<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[5D Home]]></title> 
<link>http://5dhome.net/myblog/index.php</link> 
<description><![CDATA[PHP, Typo3 CMS, Typolight CMS, Javascript, Jquery, Windows, Linux, iphone]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[5D Home]]></copyright>
<item>
<link>http://5dhome.net/myblog/read.php?242</link>
<title><![CDATA[Java环境变量设置]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[程序开发]]></category>
<pubDate>Wed, 13 Jul 2011 13:02:56 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?242</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>JAVA_HOME =&nbsp;&nbsp;JDK安装路径<br/>CLASSPATH&nbsp;&nbsp;=&nbsp;&nbsp;.;%JAVA_HOME%&#92;lib&#92;dt.jar;%JAVA_HOME%&#92;lib&#92;tools.jar;<br/>PATH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;%JAVA_HOME%&#92;bin;%JAVA_HOME%&#92;jre&#92;bin;<br/><br/></div>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?241</link>
<title><![CDATA[Unix时间戳转换Excel时间]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[学习笔记]]></category>
<pubDate>Wed, 29 Jun 2011 07:38:24 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?241</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>=(A1+8*3600)/86400+70*365+19<br/></div><br/><br/>操作<br/>1. 假设A1单元格是一个时间戳<br/>2. A2单元格输入以上代码<br/>3. 将A2单元格单元格属性改成日期格式<br/>4. 完成时间戳转换<br/><br/>同理把时间转成时间戳，逆行回去即可<br/><div class="code"><br/>=(A2-19-70*365)*86400-8*3600<br/></div><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=office" rel="tag">office</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?240</link>
<title><![CDATA[WINDOWS2003计划重启]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[服务器]]></category>
<pubDate>Sun, 24 Apr 2011 14:43:14 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?240</guid> 
<description>
<![CDATA[ 
	操作步骤：<br/>1、打开<span style="color: #32CD32;">开始/程序/附件/系统工具中/任务计划</span>，弹出任务计划窗口；<br/>2、然后双击“添加任务计划”；<br/>3、运行“任务计划向导”，按“浏览”；<br/>4、找到系统盘下WINDOWS/SYSTEM32目录中的<span style="color: #32CD32;">shutdown.exe</span>文件，单击”打开”按钮；<br/>5、在出现的对话框中键入该任务的名字(如”Reboot”)，执行方式选择“每周”；<br/>6、然后按“下一步”选择定时关机时间；<br/>6、下一步选中“当单击完成打开该任务的高级属性”，再在目标程序后加重启参数r单击“完成”。<br/><br/><div class="code"><br/>如：C:&#92;WINDOWS&#92;system32&#92;shutdown.exe -r<br/></div><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=windows" rel="tag">windows</a> , <a href="http://5dhome.net/myblog/tag.php?tag=%25E4%25BB%25BB%25E5%258A%25A1%25E8%25AE%25A1%25E5%2588%2592" rel="tag">任务计划</a> , <a href="http://5dhome.net/myblog/tag.php?tag=%25E9%2587%258D%25E5%2590%25AF" rel="tag">重启</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?239</link>
<title><![CDATA[vsftpd用户组及用户设置]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[ftp服务器]]></category>
<pubDate>Wed, 20 Apr 2011 02:00:07 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?239</guid> 
<description>
<![CDATA[ 
	yum -y install httpd 安装apache<br/>安装好httpd后系统自建/var/www/html目录<br/><br/><div class="code"><br/>#groupadd www&nbsp;&nbsp; 新建www组<br/>#useradd -g www -d /var/www/html www新建用户www并指定家目录和属组<br/>#useradd -g www -d /var/www/html&nbsp;&nbsp;www2新建用户www2并指定家目录和属组<br/>#useradd -g www -d /var/www/html&nbsp;&nbsp;www2新建用户www2并指定家目录和属组<br/>#passwd www为新用户设密码<br/>#passwd www2为新用户设密码<br/>#passwd www3为新用户设密码<br/>#chown www /var/www/html&nbsp;&nbsp;设置目录属主为用户www<br/>#chown .www /var/www/html&nbsp;&nbsp;设置目录属组为组www<br/>#chmod 750 /var/www/html&nbsp;&nbsp;设置目录访问权限www为读，写，执行；www2，www3为读，执行<br/></div>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?238</link>
<title><![CDATA[CentOS下yum安装TOMCAT6]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[linux]]></category>
<pubDate>Wed, 20 Apr 2011 01:52:19 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?238</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>1. yum -y install jpackage-utils<br/>2. wget http://www.jpackage.org/jpackage17.repo<br/>3. cat jpackage17.repo &amp;#124; sed &#039;s/1&#92;.7/5.0/&#039; &amp;#124; sed &#039;s/&#92;&#91;jpack/&#92;&#91;5jpack/&#039; &gt; /etc/yum.repos.d/jpackage5.repo<br/>4. mv jpackage17.repo /etc/yum.repos.d/<br/>5. yum makecache<br/>6. yum -y install tomcat6 tomcat6-webapps tomcat6-admin-webapps<br/></div>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?237</link>
<title><![CDATA[SQL语句实例 - 查询销售量]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[数据库及Sql语句]]></category>
<pubDate>Fri, 23 Apr 2010 03:52:01 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?237</guid> 
<description>
<![CDATA[ 
	<strong>产品表：products<br/>进货表：purchase<br/>库存表：invent<br/>用户表：users</strong><br/><br/>在仅统计到用户的进货数据和用户的每日库存数据，从而推算用户的某个产品的销售数据。<br/><br/><textarea name="code" class="sql" rows="15" cols="100">
select products.brand+&#039;(&#039;+products.name+&#039;)&#039; as productname, aa.purchNum-bb.invNum+cc.invNum as num from
(
select proID, sum(num) as purchNum
from purchase
where purchDate between &#039;开始日期&#039; and &#039;结束日期&#039;
group by proID
) aa

inner join
(
select inv.proID, inv.num as invNum
from invent inv
inner join (
select proID, MAX(invDate) as invDate
from Invent
where invDate between &#039;开始日期&#039; and &#039;结束日期&#039;
group by proID
) a
on inv.proID=a.proID
and inv.invDate=a.invDate
) bb
on aa.proID=bb.proID

inner join
(
select inv.proID, inv.num as invNum
from invent inv
inner join (
select proID, Min(invDate) as invDate
from invent
where invDate between &#039;开始日期&#039; and &#039;结束日期&#039;
group by proID
) a
on inv.proID=a.proID
and inv.invDate=a.invDate
) cc
on bb.proID=cc.proID

inner join users on aa.uid=users.ID
inner join products on aa.proID=products.id
where users.city=&#039;城市&#039; and users.ucode like &#039;%用户许可证号%&#039; and products.brand+&#039;(&#039;+products.name+&#039;)&#039; like &#039;%产品关键字%&#039;
order by users.ucode asc
</textarea><br/>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?236</link>
<title><![CDATA[winrar3.9破解]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[学习笔记]]></category>
<pubDate>Mon, 26 Oct 2009 16:35:41 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?236</guid> 
<description>
<![CDATA[ 
	winrar3.9破解，将下列数据复制到记事本，重命名为<span style="color: #32CD32;">rarreg.key</span>放在winrar3.9的安装目录下就OK了。<br/><br/><div class="code"><br/>RAR registration data<br/>MFZYW.NET<br/>Unlimited Company License<br/>UID=4aee223094e315d53b9e<br/>64122122503b9ebc644eb9b3c79c51f627529601231143dbeaf2e7<br/>7fbf4c490ec22a156bad60fce6cb5ffde62890079861be57638717<br/>7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565<br/>b41bcf56929486b8bcdac33d50ecf7739960c9efe6f48b7431aeb3<br/>6591672135fe806fcd4ff26d85d05ef5afff9b1e3b7c7551fea268<br/>b5d29f7a0f896abf9559e4394374bc3c30aeac0843c11e0560ad69<br/>9356a86749410ce0058f300e24a185c0cc7590d0543a3625819200<br/></div><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=winrar" rel="tag">winrar</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?235</link>
<title><![CDATA[Flash获取PHP脚本变量]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[flash]]></category>
<pubDate>Wed, 21 Oct 2009 02:27:07 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?235</guid> 
<description>
<![CDATA[ 
	<strong><span style="font-size: 14px;"><span style="color: #66FF00;">code of test.php:</span></span></strong><br/><textarea name="code" class="php" rows="15" cols="100">
<?php
$output = "var1=111&var2=222&var3=333";
echo $output;
?>
</textarea><br/><br/><strong><span style="font-size: 14px;"><span style="color: #66FF00;">code of flash action:</span></span></strong><br/><textarea name="code" class="js" rows="15" cols="100">
loadvar = new LoadVars();
loadvar.onLoad = function(success) &#123;
if (success) &#123;
trace(this.var1);
trace(this.var2);
...
&#125;
&#125;
//这里用的是绝对路径
loadvar.load("http://域名/test.php");
</textarea><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=php" rel="tag">php</a> , <a href="http://5dhome.net/myblog/tag.php?tag=flash" rel="tag">flash</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?234</link>
<title><![CDATA[人生有时候，总是很讽刺]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[随笔乱涂]]></category>
<pubDate>Wed, 17 Jun 2009 09:28:32 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?234</guid> 
<description>
<![CDATA[ 
	<span style="color: #66ff00">有些人一直没机会见，等有机会见了，却又犹豫了，相见不如不见。<br />有些事一直没机会做，等有机会了，却不想再做了。<br />有些话埋藏在心中好久，没机会说，等有机会说的时候，却说不出口了。<br />有些爱一直没机会爱，等有机会了，已经不爱了。<br />有些人很多机会相见的，却总找借口推脱，想见的时候已经没机会了。<br />有些话有很多机会说的，却想着以后再说，要说的时候，已经没机会了。<br />有些事有很多机会做的，却一天一天推迟，想做的时候却发现没机会了。<br />有些爱给了你很多机会，却不在意没在乎，想重视的时候已经没机会爱了。&nbsp;&nbsp;&nbsp; </span><br /><br />人生有时候，总是很讽刺。<br />一转身可能就是一世。说好永远的，不知怎么就散了。<br />最后自己想来想去竟然也搞不清当初是什么原因分开彼此的。<br />然后，你忽然醒悟，感情原来是这么脆弱的。<br />经得起风雨，却经不起平凡；风雨同船，天晴便各自散了。<br />也许只是赌气，也许只是因为小小的事。<br />幻想着和好的甜蜜，或重逢时的拥抱，那个时候会是边流泪边捶打对方，还傻笑着。<br />该是多美的画面。<br />没想到的是，一别竟是一辈子了。<br />曾经相爱，现在已互不相干。<br />即使在同一个小小的城市，也不再相逢。<br />某一天某一刻，走在同一条街，也看不见对方。<br />先是感叹，后来是无奈。<br />也许你很幸福，因为找到另一个适合自己的人。<br />也许你不幸福，因为可能你这一生就只有那个人真正用心在你身上。<br />很久很久，没有对方的消息，也不再想起这个人，也不想再想起这些事。<br />
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?233</link>
<title><![CDATA[WML Reference]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[手机开发]]></category>
<pubDate>Mon, 25 May 2009 06:57:29 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?233</guid> 
<description>
<![CDATA[ 
	<h2><span style="color: #66ff00">Deck / Card Elements</span><br /></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_access.asp" target="_blank">&lt;access&gt;</a></td> <td valign="top">Defines information about the access control of a deck</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_card.asp" target="_blank">&lt;card&gt;</a></td> <td valign="top">Defines a card in a deck</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_head.asp" target="_blank">&lt;head&gt;</a></td> <td valign="top">Contains information about the document</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_meta.asp" target="_blank">&lt;meta&gt;</a></td> <td valign="top">Defines meta information about the document </td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_template.asp" target="_blank">&lt;template&gt;</a></td> <td valign="top">Defines a code template for all the cards in a deck</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_wml.asp" target="_blank">&lt;wml&gt;</a> </td> <td valign="top">Defines a WML deck (WML root)</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_comment.asp" target="_blank">&lt;!--&gt;</a> </td> <td valign="top">Defines a comment</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Text Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_br.asp" target="_blank">&lt;br&gt;</a></td> <td valign="top">Defines a line break</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_p.asp" target="_blank">&lt;p&gt;</a> </td> <td valign="top">Defines a paragraph</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_table.asp" target="_blank">&lt;table&gt;</a></td> <td valign="top">Defines a table</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_td.asp" target="_blank">&lt;td&gt;</a></td> <td valign="top">Defines a table cell (table data)</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_tr.asp" target="_blank">&lt;tr&gt;</a></td> <td valign="top">Defines a table row</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Text Formatting Tags</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;b&gt;</a></td> <td valign="top">Defines bold text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;big&gt;</a> </td> <td valign="top">Defines big text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;em&gt;</a></td> <td valign="top">Defines emphasized text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;i&gt;</a></td> <td valign="top">Defines italic text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;small&gt;</a></td> <td valign="top">Defines small text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;strong&gt;</a></td> <td valign="top">Defines strong text</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_textformatting.asp" target="_blank">&lt;u&gt;</a></td> <td valign="top">Defines underlined text</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Anchor Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_a.asp" target="_blank">&lt;a&gt;</a></td> <td valign="top">Defines an anchor (a link)</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_anchor.asp" target="_blank">&lt;anchor&gt;</a> </td> <td valign="top">Defines an anchor (a link)</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Image Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_img.asp" target="_blank">&lt;img&gt;</a></td> <td valign="top">Defines an image</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Event Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_do.asp" target="_blank">&lt;do&gt;</a></td> <td valign="top">Activates a task when the user clicks on a word/phrase on the&nbsp;&nbsp;screen</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_onevent.asp" target="_blank">&lt;onevent&gt;</a> </td> <td valign="top">Contains code to be executed when one of the following events&nbsp;&nbsp;occurs: onenterbackward, onenterforward, onpick, ontimer</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_postfield.asp" target="_blank">&lt;postfield&gt;</a></td> <td valign="top">Contains information to be sent to the server along with a&nbsp;&nbsp;&lt;go&gt; tag</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Task Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_go.asp" target="_blank">&lt;go&gt;</a></td> <td valign="top">Represents the action of switching to a new card</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_noop.asp" target="_blank">&lt;noop&gt;</a> </td> <td valign="top">Says that nothing should be done (noop stands for &quot;no&nbsp;&nbsp;operation&quot;). Used to override deck-level elements</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_prev.asp" target="_blank">&lt;prev&gt;</a></td> <td valign="top">Represents the action of going back to the previous card</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_refresh.asp" target="_blank">&lt;refresh&gt;</a></td> <td valign="top">Refreshes some specified card variables. If any of the variables&nbsp;&nbsp;are shown on the screen, this task also refreshes the screen</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Input Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_fieldset.asp" target="_blank">&lt;fieldset&gt;</a></td> <td valign="top">Used to group together related elements in a card</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_input.asp" target="_blank">&lt;input&gt;</a> </td> <td valign="top">Defines an input field (a text field where the user can enter&nbsp;&nbsp;some text)</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_optgroup.asp" target="_blank">&lt;optgroup&gt;</a></td> <td valign="top">Defines an option group in a selectable list</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_option.asp" target="_blank">&lt;option&gt;</a></td> <td valign="top">Defines an option in a selectable list</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_select.asp" target="_blank">&lt;select&gt;</a></td> <td valign="top">Defines a selectable list</td> <td valign="top">1.1</td></tr></tbody></table> <h2><span style="color: #66ff00">Variable Elements</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th width="20%" align="left" valign="top">Start tag</th> <th width="70%" align="left" valign="top">Purpose</th> <th width="10%" align="left" valign="top">WML</th></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_setvar.asp" target="_blank">&lt;setvar&gt;</a></td> <td valign="top">Sets a variable to a specified value in a &lt;go&gt;,&nbsp;&nbsp;&lt;prev&gt;, or &lt;refresh&gt; task</td> <td valign="top">1.1</td></tr> <tr> <td valign="top"><a href="http://www.w3schools.com/WAP/tag_timer.asp" target="_blank">&lt;timer&gt;</a> </td> <td valign="top">Defines a card timer</td> <td valign="top">1.1</td></tr></tbody></table><br /><h2><span style="color: #66ff00">Character Entities</span></h2> <table border="1" cellspacing="0" cellpadding="0" width="100%" class="reference"> <tbody> <tr> <th align="left">Result</th> <th align="left">Description</th> <th align="left">Entity Name</th> <th align="left">Entity Number</th></tr> <tr> <td>&amp;</td> <td>ampersand</td> <td>&amp;amp;</td> <td>&amp;#38; </td></tr> <tr> <td>'</td> <td>apostrophe</td> <td>&amp;apos;</td> <td>&amp;#39;</td></tr> <tr> <td>&gt;</td> <td>greater-than</td> <td>&amp;gt;</td> <td>&amp;#62;</td></tr> <tr> <td>&lt;</td> <td>less-than</td> <td>&amp;lt;</td> <td>&amp;#60;</td></tr> <tr> <td>&nbsp;</td> <td>non-breaking space</td> <td>&amp;nbsp;</td> <td>&amp;#160;</td></tr> <tr> <td>&quot;</td> <td>quotation mark</td> <td>&amp;quot;</td> <td>&amp;#34;</td></tr> <tr> <td height="16">&shy;</td> <td height="16">soft hyphen</td> <td height="16">&amp;shy;</td> <td height="16">&amp;#173;</td></tr></tbody></table><br /><br /><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=%25E6%2589%258B%25E6%259C%25BA%25E7%25BD%2591%25E7%25AB%2599" rel="tag">手机网站</a> , <a href="http://5dhome.net/myblog/tag.php?tag=wml" rel="tag">wml</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?232</link>
<title><![CDATA[配置Wap服务器]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[web服务器]]></category>
<pubDate>Mon, 18 May 2009 07:32:29 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?232</guid> 
<description>
<![CDATA[ 
	<span style="font-size: x-large; color: #ffcc00">Server 端的设置</span><br />在这里，我们先用最为典型的IIS服务器作为例子：&nbsp;&nbsp;<br />为了使IIS支持WAP(WML)页面的发布，在IIS的Web站点的属性 / HTTP信息中设置WAP的MIME属性，添加如下的MIME类型：&nbsp;&nbsp;<br /><span style="color: #66ff00">扩展名　　　内容类型（MIME）　　&nbsp;&nbsp;<br />.wml　　　　text/vnd.wap.wml　　&nbsp;&nbsp;<br />.wbmp　　　 image/vnd.wap.wbmp　　&nbsp;&nbsp;<br />.wmlc　　　 application/vnd.wap.wmlc　　&nbsp;&nbsp;<br />.wmls　　　 text/vnd.wap.wmls　　&nbsp;&nbsp;<br />.wmlsc　　　application/vnd.wap.wmlsc　</span>　&nbsp;&nbsp;<br />重启 IIS 使其支持 WAP 页面的发布。&nbsp;&nbsp;<br /><br /><br />如果你使用的是 Apache 作为Web服务器的话，找到conf/httpd.conf这个配置文件，然后在里面添上MIME类型。在httpd.conf中加入如下几行：&nbsp;&nbsp;<br /><span style="color: #66ff00">AddType text/vnd.wap.wml .wml&nbsp;&nbsp;<br />AddType image/vnd.wap.wbmp .wbmp&nbsp;&nbsp;<br />AddType application/vnd.wap.wmlc .wmlc&nbsp;&nbsp;<br />AddType text/vnd.wap.wmls .wmls&nbsp;&nbsp;<br />AddType application/vnd.wap.wmlsc .wmlsc&nbsp;&nbsp;</span><br />重启 Apache Server 使其支持 WAP 页面的发布。&nbsp;&nbsp;<br />这样，你的Server就支持 WAP(WML) 站点的发布了。&nbsp;&nbsp;<br /><br /><br /><span style="font-size: x-large; color: #ffcc00">配置Wap服务器 </span><br />在设计WAP网页时，不论你使用的WAP开发工具是UP.SDK 或NOKIA WAP TOOKIT ，还是ERICSSON WAPIDE，你都必须进行WEB服务器设置，所以在此将常见的几种WEB服务器的设置介绍如下： <br /><br /><strong><span style="font-size: medium">1、WINDOW server 平台的IIS&nbsp;&nbsp;</span></strong><br />a、启动菜单-&gt;程序-&gt;管理工具 -&gt;Internet 服务管理器 <br />b、右击&ldquo;Internet信息服务&rdquo; 的子项计算机名，在快捷菜单上选择&lsquo;属性&rsquo; <br />c、在属性页面的下部，&ldquo;计算机mime映射&rdquo;中有一个&lsquo;编辑（D）&rsquo;按钮，单击此按钮，会出现文件类型界面 <br />d、单击&lsquo;新增类型&rsquo;按钮，然后在相关的扩展名栏中填写 .wml ,在内容类型（MIME）栏中填写 text/vnd.wap.wml <br />e、单击&lsquo;确定&rsquo;按钮 <br />f、重复c、d、e 三步，再增加其他的MIME类型。 <br /><br /><strong><span style="font-size: medium">2、Apache Web Server on Windows server OR Solaries OR LINUX OR OTHER UNIX </span></strong><br />a、不管是NT 还是UNIX 或LINUX ，都是修改 Apache 安装目录下的conf/mime.types文件 <br />b、在该文件中增加以下内容： <br /><span style="color: #66ff00">text/vnd.wap.wml .wml <br />image/vnd.wap.wbmp .wbmp <br />application/vnd.wap.wmlc .wmlc <br />text/vnd.wap.wmls .wmls <br />application/vnd.wap.wmlsc .wmlsc </span><br />c、存盘 <br />d、重新启动APACHE<br /><br /><br /><br /><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=server" rel="tag">server</a> , <a href="http://5dhome.net/myblog/tag.php?tag=apache" rel="tag">apache</a> , <a href="http://5dhome.net/myblog/tag.php?tag=iis" rel="tag">iis</a> , <a href="http://5dhome.net/myblog/tag.php?tag=wap" rel="tag">wap</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?231</link>
<title><![CDATA[解决AWStats搜索关键词中文乱码问题]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[web服务器]]></category>
<pubDate>Tue, 28 Apr 2009 09:44:16 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?231</guid> 
<description>
<![CDATA[ 
	Awstats是一套非常好用的免费的日志分析软件,他是用perl实现的，支持web log、ftp log和mail log; <br />而且它还能自动根据你浏览器的字符设置来选取语言(支持中文)。<br />但是缺省安装的话有个问题,就是用来搜索的关键字如果是中文的话显示出来是乱码的。<br /><br />之所以搜索的关键字句会变成乱码的原因，主要是因为现在的搜索引擎都是使用UTF8,而Awstats是使用decodeUTFkeys这个plugin来处理搜索引擎的UTF8关键字，默认是没有打开的，所以在显示上会出现乱码。<br /><br />要解决中文乱码问题,方法也很简单.<br /><br /><span style="font-size: large; color: #ff9900">1) 修改配置文件awstats.xxx.conf</span><br /><br />在配置文件中把decodeutfkeys这个plugin打开就可以了。在配置文件中找到：<br /><br /><span style="color: #66ff00">#LoadPlugin=&quot;decodeutfkeys&quot;</span><br /><br />去掉前面的#就可以了。<br /><br />不过打开这个plugin 需要perl模块儿Encode和URI::Escape的支持，一般情况下perl是默认支持的。<br /><br />配置 awstats后,如果打开AWStats会显示：<br /><br /><span style="color: #ff0066">Error: Plugin load for plugin ''decodeutfkeys'' failed with return code: Error: Can''t locate URI/Escape.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux&nbsp; /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl . ./lib ./plugins) at (eval 4) line 1.</span><br /><br />這是因為缺少 Perl 的 URI:Escape模块<br /><br /><br /><span style="font-size: large; color: #ff9900">2)下载安装URI:Escape模块</span><br /><span style="color: #66ff00">#wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-1.37.tar.gz</span><br /><br />解压缩文件<br /><span style="color: #66ff00">#tar zxvf URI-1.37.tar.gz<br />#cd&nbsp; URI-1.37<br /><br />#perl Makefile.PL<br />#make<br />#make install</span><br /><br />调试后一下，分析出来的搜索关键字就可以在IE中正常显示了，我试过在Firefox里还是不行。<br /><br /><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=linux" rel="tag">linux</a> , <a href="http://5dhome.net/myblog/tag.php?tag=awstats" rel="tag">awstats</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?230</link>
<title><![CDATA[W3C标准测试使用说明教程]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[xhtml, html &amp; css]]></category>
<pubDate>Wed, 11 Mar 2009 08:05:00 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?230</guid> 
<description>
<![CDATA[ 
	<strong><span style="color: orange">1.XHTML 1.0文件类别宣告的正确写法 (不可小写)</span></strong><br /> 过度标准（Transitional）<br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; <br /> &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; <br /> <br /> 框架标准（Frameset）<br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Frameset//EN&quot; <br /> &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd&quot;&gt; <br /> <br /> 严格标准（Strict） 包含以上须注意的问题,还有其他更严格的标准<br /> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; <br /> &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;<br /> <br /> <br /> <strong><span style="color: orange">2.头文件问题</span></strong><br /> 所有的网页头文件都一律都改为标准形式，写法如下：<br /> <br /> &lt;head&gt;<br /> &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=gb2312&quot; /&gt;<br /> &lt;meta http-equiv=&quot;content-language&quot; content=&quot;zh-cn&quot; /&gt;<br /> &lt;meta name=&quot;keywords&quot; content=&quot;...&quot; /&gt;<br /> &lt;meta name=&quot;description&quot; content=&quot;...&quot;/&gt;<br /> &lt;title&gt;...&lt;/title&gt;<br /> &lt;/head&gt;<br /> <br /> <br /> <strong><span style="color: orange">3.不允许使用target=&quot;_blank&quot;</span></strong><br /> 在HTML4.01可以使用target=&quot;_blank&quot;,但XHTML1.0是不被允许的.<br /> 我使用了一个HTML4.0的新属性：rel，这个属性用来说明链接和包含此链接页面的关系，以及链接打开的目标。<br /> 原来这样写的代码：&lt;a xhref=&quot;document.html&quot; target=&quot;_blank&quot;&gt; 打开一个新窗口&lt;/a&gt; <br /> 现在要写成这样：&lt;a xhref=&quot;document.html&quot; rel=&quot;external&quot;&gt;打开一个新窗口&lt;/a&gt; <br /> <br /> 这是符合strict标准的方法。当然还必须配合一个javascript才有效。<br /> <br /> javascript完整的代码JS如下：<br /> <br /> function externallinks() { <br /> if (!document.getElementsByTagName) return; <br /> var anchors = document.getElementsByTagName(&quot;a&quot;); <br /> for (var i=0; i&lt;anchors.length; i++) { <br /> &nbsp;&nbsp;&nbsp;&nbsp;var anchor = anchors[i]; <br /> &nbsp;&nbsp;&nbsp;&nbsp;if (anchor.getAttribute(&quot;href&quot;) &amp;&amp; <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;anchor.getAttribute(&quot;rel&quot;) == &quot;external&quot;) <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;anchor.target = &quot;_blank&quot;; <br /> } <br /> } <br /> window.onload = externallinks;<br /> <br /> 你可以把它保存成一个.js文件(比如external.js)，然后通过外部联接方法调用：<br /> <br /> &lt;script type=&quot;text/javascript&quot; xsrc=&quot;external.js&quot;&gt;&lt;/script&gt;<br /> <br /> <br /> <strong><span style="color: orange">4.XHTML 1.0要求所有的标籤必须关闭</span></strong><br /> 所有没有成对的空标籤必须以 /&gt;结尾<br /> &lt;p&gt;&lt;/p&gt;和&lt;a xhref=&quot;index.html&quot;&gt;&lt;/a&gt;这就是成对<br /> 错误 &lt;br&gt; &lt;hr&gt;<br /> 正确 &lt;br /&gt; &lt;hr /&gt;<br /> 错误 &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt;<br /> 正确 &lt;input type=&quot;text&quot; name=&quot;name&quot; /&gt;<br /> 错误 &lt;meta ...&gt;<br /> 正确 &lt;meta ... /&gt;<br /> 错误 &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; xhref=&quot;style.css&quot;&gt;<br /> 正确 &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; xhref=&quot;style.css&quot; /&gt;<br /> 错误 &lt;img xsrc=&quot;bg.gif&quot; border=&quot;0&quot; alt=&quot;说明文字&quot;&gt;<br /> 正确 &lt;img xsrc=&quot;bg.gif&quot; border=&quot;0&quot; alt=&quot;说明文字&quot; /&gt;<br /> <br /> <br /> <strong><span style="color: orange">5.所有标籤元素名称都使用小写</span></strong><br /> 错误 &lt;HTML&gt; &lt;TITLE&gt; &lt;HEAD&gt; &lt;BODY&gt;<br /> 正确 &lt;html&gt; &lt;title&gt; &lt;head&gt; &lt;body&gt;<br /> 错误 &lt;IMG xsrc=&quot;BG.GIF&quot; BORDER=&quot;0&quot; ALT=&quot;说明文字&quot;&gt;<br /> 正确 &lt;img xsrc=&quot;bg.gif&quot; border=&quot;0&quot; alt=&quot;说明文字&quot; /&gt;<br /> 错误 &lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;<br /> 正确 &lt;ul&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;<br /> 以上只是举例,是&quot;所有&quot;标签元素名称都必须是小写<br /> <br /> <br /> <strong><span style="color: orange">6.同一个id选择器不可重复使用</span></strong><br /> 一个网页中id=&quot;xx&quot;同一个选择器不能重复使用,若需要重复请用class=&quot;xx&quot;<br /> <br /> <br /> <strong><span style="color: orange">7.标籤必须是一对</span></strong><br /> &lt;p&gt;&lt;/p&gt;<br /> &lt;span&gt;&lt;/span&gt;<br /> &lt;div&gt;&lt;/div&gt;<br /> <br /> <br /> <strong><span style="color: orange">8.正确的标籤顺序</span></strong><br /> 错误 &lt;b&gt;&lt;i&gt;文字&lt;/b&gt;&lt;/i&gt;<br /> 正确 &lt;b&gt;&lt;i&gt;文字&lt;/i&gt;&lt;/b&gt;<br /> <br /> <br /> <strong><span style="color: orange">9.JavaScript写法</span></strong><br /> Javascript我们通常会写为 <br /> 错误 &lt;script language=&quot;javascript&quot;&gt;<br /> W3C标准必须为程式指定类型type=text/javascript,所以要写为 <br /> 正确 &lt;script type=&quot;text/javascript&quot;&gt;<br /> 或者 &lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br /> 载入外部.js独立档案的写法<br /> 正确 &lt;script type=&quot;text/javascript&quot; xsrc=&quot;script.js&quot;&gt;&lt;/script&gt;<br /> <br /> <br /> <strong><span style="color: orange">10.绝对不可省略双引号或单引号</span></strong><br /> 错误 style=font-size:9pt<br /> 正确 style=&quot;font-size:9pt&quot;<br /> 错误 &lt;img xsrc=bg.gif width=140 height=30 alt=text /&gt;<br /> 正确 &lt;img xsrc=&quot;bg.gif&quot; width=&quot;140&quot; height=&quot;30&quot; alt=&quot;text&quot; /&gt;<br /> 错误 &lt;a xhref=home&gt;text&lt;/a&gt;<br /> 正确 &lt;a xhref=&quot;home&quot;&gt;text&lt;/a&gt;<br /> <br /> <br /> <strong><span style="color: orange">11.图片标籤加上文字说明alt=&quot;说明&quot;</span></strong><br /> 错误 &lt;img xsrc=&quot;bg.gif&quot; height=&quot;50&quot; border=&quot;0&quot; /&gt;<br /> 正确 &lt;img xsrc=&quot;bg.gif&quot; height=&quot;50&quot; border=&quot;0&quot; alt=&quot;说明文字&quot; /&gt;<br /> <br /> <br /> <strong><span style="color: orange">12.背景音乐不允许使用 bgsound 标签</span></strong><br /> 我只好用JavaScript解决这个问题。javascript完整的代码如下：<br /> <br /> &lt;!-- Begin<br /> var MSIE=navigator.userAgent.indexOf(&quot;MSIE&quot;);<br /> var NETS=navigator.userAgent.indexOf(&quot;Netscape&quot;);<br /> var OPER=navigator.userAgent.indexOf(&quot;Opera&quot;);<br /> if((MSIE&gt;-1) &#124;&#124; (OPER&gt;-1)) {<br /> document.write(&quot;&lt;BGSOUND xsrc=背景音乐地址 LOOP=INFINITE&gt;&quot;);<br /> } else {<br /> document.write(&quot;&lt;EMBED xsrc=背景音乐地址 AUTOSTART=TRUE &quot;);<br /> document.write(&quot;HIDDEN=true VOLUME=100 LOOP=TRUE&gt;&quot;);<br /> }<br /> // end --&gt;<br /> <br /> 你可以把它保存成一个.js文件(比如bjmusic.js)，然后通过外部联接方法调用：<br /> <br /> &lt;script type=&quot;text/javascript&quot; xsrc=&quot;bjmusic.js&quot;&gt;&lt;/script&gt;<br /> <br /> <br /> <strong><span style="color: orange">13. &lt;embed&gt;标籤的争议</span></strong><br /> &lt;embed&gt;是Netscape的私有标籤,W3C 从HTML3.2 HTML 4.01 到 XHTML 1.0 中都没有这个标籤,所以使用&lt;embed&gt;的页面是不能通过标准测试。<br /> W3C推荐使用 &lt;object&gt; 标籤,用&lt;object&gt;插入flash影片的代码可以写为:<br /> &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;index.swf&quot; width=&quot;400&quot; height=&quot;200&quot;&gt; <br /> &lt;param name=&quot;movie&quot; value=&quot;index.swf&quot; /&gt; <br /> &lt;/object&gt; <br /> 但这样的写法可能IE5/IE6 Win浏览器版本会出现问题.<br /> &lt;embed&gt;标籤因为广大的受到运用,不再标准范围引起很大的争议,想要解决这个问题,只能等IE浏览器对&lt;object&gt;有更好的支持或者W3C愿意收录&lt;embed&gt;标籤。<br /> <br /> <br /> <br /> <strong><span style="color: orange">14. 不允许使用框架标签&lt;IFRAME&gt;</span></strong><br /> 这次又要用JavaScript解决问题了。javascript完整的代码如下：<br /> <br /> function ifr(url,w,h){document.write('&lt;iframe id=&quot;ifr&quot; name=&quot;ifr&quot; width=&quot;'+w+'&quot; height=&quot;'+h+'&quot;&nbsp;&nbsp; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; xsrc=&quot;'+url+'&quot;&gt;&lt;/iframe&gt;');}<br /> <br /> 把它保存成一个.js文件(比如ifr.js)，然后通过外部联接方法调用：<br /> <br /> &lt;script type=&quot;text/javascript&quot; xsrc=&quot;ifr.js&quot;&gt;&lt;/script&gt;<br /> <br /> 在你需要插入框架的地方写以下代码即可：<br /> <br /> &lt;script type=&quot;text/javascript&quot;&gt;ifr('需插入的网页地址','567','485');&lt;/script&gt;<br /> <br /> 函数ifr()使用说明：ifr('这里写地址','这里写宽度','这里写长度',)<br /> <br /> <br /> <strong><span style="color: orange">15.google广告问题</span></strong><br /> google广告的代码是不符合W3C标准的，我只好又把它转成JS调用，但GOOGLE政策里是写着不允许修改代码的，<br /> 关于这点我正在写信给GOOGLE询问中，应该很快会有答案。<br /> <br /> 我的JS文件(google.js)代码如下：<br /> <br /> document.writeln(&quot;&lt;script type=&#92;&quot;text&#92;/javascript&#92;&quot;&gt;&lt;!--&quot;);<br /> document.writeln(&quot;google_ad_client = &#92;&quot;pub-0538745384335317&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_ad_width = 125;&quot;);<br /> document.writeln(&quot;google_ad_height = 125;&quot;);<br /> document.writeln(&quot;google_ad_format = &#92;&quot;125x125_as&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_ad_type = &#92;&quot;text_image&#92;&quot;;&quot;);<br /> document.writeln(&quot;&#92;/&#92;/2007-06-29: www.ybj86.cn&quot;);<br /> document.writeln(&quot;google_ad_channel = &#92;&quot;4751988107&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_color_border = &#92;&quot;1a1a1a&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_color_bg = &#92;&quot;1a1a1a&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_color_link = &#92;&quot;d0eb6a&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_color_text = &#92;&quot;ffffff&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_color_url = &#92;&quot;8ad459&#92;&quot;;&quot;);<br /> document.writeln(&quot;google_ui_features = &#92;&quot;rc:6&#92;&quot;;&quot;);<br /> document.writeln(&quot;&#92;/&#92;/--&gt;&quot;);<br /> document.writeln(&quot;&lt;&#92;/script&gt;&quot;);<br /> document.writeln(&quot;&lt;script type=&#92;&quot;text&#92;/javascript&#92;&quot;&quot;);<br /> document.writeln(&quot;&nbsp;&nbsp;&nbsp;&nbsp;xsrc=&#92;&quot;http:&#92;/&#92;/pagead2.googlesyndication.com&#92;/pagead&#92;/show_ads.js&#92;&quot;&gt;&quot;);<br /> document.writeln(&quot;&lt;&#92;/script&gt;&quot;)<br /> <br /> 各位朋友可以按照自己的情况修改，网上也有把HTML代码转为JS代码的地方。<br /> <br /> 最后在需要挂广告的地方放入代码 &lt;script type=&quot;text/javascript&quot; xsrc=&quot;google.js&quot;&gt;&lt;/script&gt;<br /> <br /> <br /> <br /> <br /> <strong><span style="font-size: medium"><span style="color: #99cc00">其他需注意的地方：</span></span></strong><br /><br /> <strong><span style="color: orange">16.註解文字不可包含--符号</span></strong><br /> 错误 &lt;!-- OEC--SPACE --&gt;<br /> 正确 &lt;!-- OECSPACE --&gt;<br /> <br /> <br /> <strong><span style="color: orange">17.正确使用CSS样式表</span></strong><br /> 一定要放在&lt;head&gt;&lt;/head&gt;之间<br /> &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; xhref=&quot;style.css&quot; /&gt;<br /> &lt;style type=&quot;text/css&quot;&gt;<br /> &lt;!--<br /> body{font-size:9pt;}<br /> --&gt;<br /> &lt;/style&gt;<br /> <br /> 错误 &lt;style&gt;<br /> 正确 &lt;style type=&quot;text/css&quot;&gt;<br /> <br /> <br /> <strong><span style="color: orange">18.使用表格常犯的错误</span></strong><br /> 我们在做表格通常会指定宽与高,例如:<br /> &lt;table border=&quot;1&quot; width=&quot;300&quot; height=&quot;55&quot;&gt;<br /> &lt;tr&gt;&lt;td&gt; 内容 &lt;/td&gt;&lt;/tr&gt;<br /> &lt;/table&gt;<br /> 这样做是没有办法通过,W3C建议使用CSS来控制标籤元素的高度<br /> .table{ <br /> height:55px; <br /> } <br /> &lt;table class=&quot;table&quot;&gt; <br /> &lt;tr&gt;&lt;td&gt; TEXT &lt;/td&gt;&lt;/tr&gt; <br /> &lt;/table&gt; <br /> 但是若使用太多表格,在CSS一一指定不同高,也不是好方法<br /> 其实很简单将高度height属性指定在储存格就可以了通过测试<br /> &lt;table border=&quot;0&quot; width=&quot;300&quot;&gt; <br /> &lt;tr&gt;&lt;td height=&quot;55&quot;&gt; TEXT &lt;/td&gt;&lt;/tr&gt; <br /> &lt;/table&gt; <br /> 但这不是w3c希望的标准,建议能够使用div代替不必要的table<br /> <br /> <br /> <strong><span style="color: orange">19.非标籤一部分的符号以编码表示</span></strong><br /> 表单内包含以下符号也必须用编码表示<br /> &lt; 以 &lt; 表示 <br /> &gt; 以 &gt; 表示 <br /> &amp; 以 &amp; 表示 <br /> 程式中的连结 &amp; 也要改用 &amp;<br /> 错误 &lt;a xhref=&quot;foo.cgi?chapter=1&sect;ion=2&quot;&gt;<br /> 正确 &lt;a xhref=&quot;foo.cgi?chapter=1&sect;ion=2&quot;&gt;<br /> <br /> <br /> <strong><span style="color: orange">20.所有属性都必须有值</span></strong><br /> XHTML1.0规定所有属性都必须有值,若没有就必须重复属性作为值<br /> 错误 &lt;input type=&quot;radio&quot; value=&quot;v1&quot; checked name=&quot;s1&quot; /&gt;<br /> 正确 &lt;input type=&quot;radio&quot; value=&quot;v1&quot; checked=&quot;checked&quot; name=&quot;s1&quot; /&gt;<br /> 错误 &lt;option selected&gt;S1&lt;/option&gt;<br /> 正确 &lt;option selected=&quot;selected&quot;&gt;S1&lt;/option&gt;<br /> 错误 &lt;td nowrap&gt;<br /> 正确 &lt;td nowrap=&quot;nowrap&quot;&gt;<br /><br /><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=xhtml" rel="tag">xhtml</a> , <a href="http://5dhome.net/myblog/tag.php?tag=javascript" rel="tag">javascript</a> , <a href="http://5dhome.net/myblog/tag.php?tag=web" rel="tag">web</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?228</link>
<title><![CDATA[iphone图片所在程序名称，图片名称与路径]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[iphone]]></category>
<pubDate>Thu, 08 Jan 2009 04:37:48 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?228</guid> 
<description>
<![CDATA[ 
	<p><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: x-large"><span style="color: #ffcc00">图片所在程序名称，图片名称与路径</span><br /></span><br /></span></p><p><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">Calculator 计算器</span> <br /><span style="color: #99ff00">/Applications/Calculator.app/icon.png</span> <br /><br /></span></p><p><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">Calendar 日历</span> <br /><span style="color: #99ff00">/Applications/MobileCal.app/icon.png <br /></span><br /><span style="font-size: large">Camera 照相机</span> <br /><span style="color: #99ff00">/Applications/MobileSlideShow.app/icon-Camera.png</span> <br /><br /><span style="font-size: large">Clock 时钟</span> <br /><span style="color: #99ff00">/Applications/MobileTimer.app/icon.png</span><br /><br /><span style="font-size: large">iPod 播放器</span> <br /><span style="color: #99ff00">/Applications/MobileMusicPlayer.app/icon.png</span><br /><br /><span style="font-size: large">iTunes Music Store 音乐商店 <br /></span><span style="color: #99ff00">/Applications/MobileStore.app/icon.png <br /></span><br /><span style="font-size: large">Mail 电子邮件</span> <br /><span style="color: #99ff00">/Applications/MobileMail.app/icon.png<br /></span><br /><span style="font-size: large">Notes 记事本</span> <br /><span style="color: #99ff00">/Applications/MobileNotes.app/icon.png<br /></span><br /><span style="font-size: large">Maps Google 地图</span> <br /><span style="color: #99ff00">/Applications/Maps.app/icon.png<br /></span><br /><span style="font-size: large">Phone 电话</span> <br /><span style="color: #99ff00">/Applications/MobilePhone.app/icon.png<br /></span><br /><span style="font-size: large">Photos 照片 <br /></span><span style="color: #99ff00">/Applications/MobileSlideShow.app/icon-Photos.png<br /></span><br /><span style="font-size: large">Safari 网页浏览器<br /></span><span style="color: #99ff00">/Applications/MobileSafari.app/icon.png</span> <br /><br /><span style="font-size: large">Settings 设置</span> <br /><span style="color: #99ff00">/Applications/Preferences.app/icon.png<br /></span><br /><span style="font-size: large">Stocks 股票</span> <br /><span style="color: #99ff00">/Applications/Stocks.app/icon.png</span><br /><br /><span style="font-size: large">Text 短消息</span> <br /><span style="color: #99ff00">/Applications/MobileSMS.app/icon.png</span><br /><br /><span style="font-size: large">Weather 天气</span> <br /><span style="color: #99ff00">/Applications/Weather.app/icon.png<br /></span><br /><span style="font-size: large">YouTube 在线视频</span> <br /><span style="color: #99ff00">/Applications/YouTube.app/icon.png</span> </span></p><p><br /><span style="color: #ffcc00; font-size: xx-large">======================</span><br /><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Apple logo (系统启动)</span> <br />这个图标就是大家都知道的白苹果，一般只显示几秒，你可能不能完全替换它，因为它在ROM内还有。<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/applelogo.png</span><br /><br /><span style="font-size: large">Status bar background 状态栏背景<br /></span>系统界面下(实际使用时自动拉伸) <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BG.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />锁定状态(实际使用时自动拉伸) <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FST_BG.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />除了锁定和系统界面下(实际使用时自动拉伸) <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BG.png</span></span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Signal strength icons 信号强度图标<br /></span>黑色背景使用图标 </span></p><p><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_0_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_1_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_2_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_3_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_4_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_5_Bars.png</span> </span></p><p></p><p><span style="font-family: arial,helvetica,sans-serif">亮背景使用图标</span></p><p><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_0_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_1_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_2_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_3_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_4_Bars.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_5_Bars.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Carrier logo 运营商图标</span> <br />黑色背景使用图标<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_CARRIER_ATT.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />亮背景使用图标<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_CARRIER_ATT.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Wi-Fi strength 信号强度<br /></span>黑色背景使用图标 <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_0_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_1_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_2_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_3_AirPort.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />亮背景使用图标<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_0_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_1_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_2_AirPort.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_3_AirPort.png</span> </span><br /><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Edge icons 图标<br /></span>黑色背景使用图标 <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_EDGE_ON.png<br /><br /></span></span><span style="font-family: arial,helvetica,sans-serif">亮背景使用图标<br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_EDGE_ON.png <br /></span></span><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Bluetooth icons 蓝牙图标</span> <br />黑色背景使用图标 <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BluetoothActive.png <br /></span><br />亮背景使用图标<br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_Bluetooth.png</span> <br /><br /></span><span style="font-family: arial,helvetica,sans-serif">同目录下还有另外两个蓝牙图标: <span style="color: #99ff00">Default_Bluetooth.png, Default_BluetoothActive.png</span> 。 </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="color: #ffcc00; font-size: xx-large">======================</span><br /><br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">电话，短信等,未读提示数字背景</span> <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/SBDockBG.png</span><br /><br /><span style="font-size: large">调整音量大小时的透明背景 <br /></span><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/hud.png</span><br /><br /><span style="font-size: large">滑动开锁键，提示文本高亮图片</span> <br /><span style="color: #99ff00">/System/Library/Frameworks/TelephonyUI.framework/bottombarlocktextmask.png<br /></span><br /><span style="font-size: large">关机滑动按钮 <br /></span><span style="color: #99ff00">/System/Library/Frameworks/TelephonyUI.framework/bottombarknobred.png</span> <br /><br /><span style="font-size: large">解锁滑动按钮</span> <br /><span style="color: #99ff00">/System/Library/Frameworks/TelephonyUI.framework/bottombarknobgray.png</span><br /><br /><span style="font-size: large">Calculator keypad and LCD screen </span></span><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">计算器键盘和LCD屏幕</span> <br /><span style="color: #99ff00">/Applications/Calculator.app/CalculatorBackground.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">iPod等级星</span> <br /><span style="color: #99ff00">/Applications/MobileMusicPlayer.app/star_filled.png<br /></span><br /><span style="font-size: large">SMS 短信</span> <br />短信输入框<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/Applications/MobileSMS.app/BalloonInputField.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />发送的短信显示的背景 <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/Applications/MobileSMS.app/Balloon_1.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />收到短信显示的背景<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/Applications/MobileSMS.app/Balloon_2.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />短信输入框背景<br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/Applications/MobileSMS.app/MessageEntryBG.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />短信聊天背景<br /><span style="color: #99ff00">/Applications/MobileSMS.app/Default-smsanswer.png</span></span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Lock 锁定 <br /></span>黑色背景使用图标<br /></span><span style="color: #99ff00"><span style="font-family: arial,helvetica,sans-serif">/System/Library/CoreServices/SpringBoard.app/FSO_LockIcon.png <br /></span></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Lockdown.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br />亮背景使用图标 <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Lock.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Battery charging (status bar) </span></span><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">顶部电池充电(状态图标)</span> <br /><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BatteryBG.png <br /></span></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BatteryCharged.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BatteryCharging.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BatteryInsides.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/Default_BatteryLowBG.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BatteryBG.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BatteryCharged.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BatteryCharging.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BatteryInsides.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/FSO_BatteryLowBG.png</span> </span></p><p><span style="font-family: arial,helvetica,sans-serif"><br /><span style="font-size: large">Battery charging status </span></span><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">待机状态电池充电(状态图标)</span> <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_1.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_2.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_3.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_4.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_5.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_6.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_7.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_8.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_9.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_10.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_11.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_12.png<br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_13.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_14.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_15.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_16.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/BatteryBG_17.png</span></p><p><br /><span style="font-family: arial,helvetica,sans-serif"><span style="font-size: large">Battery charging status (headset) 专用蓝牙耳机充电状态图标</span> <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_1.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_2.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_3.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_4.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_5.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_6.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_7.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_8.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_9.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_10.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_11.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_12.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_13.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_14.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_15.png <br /></span><span style="font-family: arial,helvetica,sans-serif; color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_16.png <br /></span><span style="font-family: arial,helvetica,sans-serif"><span style="color: #99ff00">/System/Library/CoreServices/SpringBoard.app/HeadsetBatteryBG_17.png</span><br /></span></p><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=iphone" rel="tag">iphone</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?227</link>
<title><![CDATA[QR-Code解读]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[学习笔记]]></category>
<pubDate>Fri, 28 Nov 2008 08:53:20 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?227</guid> 
<description>
<![CDATA[ 
	QR码是二维条码的一种，1994年由日本Denso-Wave公司发明。<br /><br />QR来自英文&ldquo;Quick Response&rdquo;的缩写，即快速反应的意思，源自发明者希望QR码可让其内容快速被解码。 <br /><br />QR码最常见于日本，并为目前日本最流行的二维空间条码。<br /><br />QR码比普通条码可储存更多资料，亦无需像普通条码般在扫描时需直线对准扫描器。 <br /><br />QR码呈正方形，只有黑白两色。在4个角落，印有较小，像&ldquo;回&rdquo;字的的正方图案。这3个是帮助解码软件定位的图案，使用者不需要对准，无论以任何角度扫描，资料仍可正确被读取。 <br /><br />虽然这个技术很早就有了，但是貌似我们国内还没有普及开来，可能和国内的手机以及电子类产品以及相关的网络有很大关系吧，个人认为该技术将会在未来几年内慢慢的取代目前使用的条形码。 <br /><br />使用该技术其实相当的简单，QR码存储量也永远的超过条形码。 例如，在名片上印上QR码，你就无需去按那么次名字啊，地址啊，电话号码啊等等，只要你的手机上有装QR码解码软件，打开软件镜头对准QR码，所有信息就进入了你的手机，呵呵，123的事情。 <br /><br /><img style="width: 250px; height: 134px" src="http://upload.wikimedia.org/wikipedia/zh/d/dd/Qr_code_details.png" border="0" width="250" height="134" /><br /><br /><table border="0"><tbody><tr><th>QR码资料容量</th></tr><tr><td><a href="http://zh.wikipedia.org/w/index.php?title=%E6%95%B8%E5%AD%97&amp;variant=zh-cn" title="數字">数字</a></td><td>最多 7,089 字符</td></tr><tr><td><a href="http://zh.wikipedia.org/w/index.php?title=%E5%AD%97%E6%AF%8D&amp;variant=zh-cn" title="字母">字母</a></td><td>最多 4,296 字符</td></tr><tr><td><a href="http://zh.wikipedia.org/w/index.php?title=%E4%BA%8C%E9%80%B2%E4%BD%8D%E6%95%B8&amp;variant=zh-cn" title="二進位數" class="mw-redirect">二进制数</a> (8 bit)</td><td>最多 2,953 <a href="http://zh.wikipedia.org/w/index.php?title=%E4%BD%8D%E5%85%83&amp;variant=zh-cn" title="位元">位元</a></td></tr><tr><td>日文<a href="http://zh.wikipedia.org/w/index.php?title=%E6%BC%A2%E5%AD%97&amp;variant=zh-cn" title="漢字" class="mw-redirect">汉字</a> / <a href="http://zh.wikipedia.org/w/index.php?title=%E7%89%87%E5%81%87%E5%90%8D&amp;variant=zh-cn" title="片假名">片假名</a></td><td>最多 1,817 字符 （采用<a href="http://zh.wikipedia.org/w/index.php?title=Shift_JIS&amp;variant=zh-cn" title="Shift JIS">Shift_JIS</a>）</td></tr><tr><td>中文<a href="http://zh.wikipedia.org/w/index.php?title=%E6%BC%A2%E5%AD%97&amp;variant=zh-cn" title="漢字" class="mw-redirect">汉字</a></td><td>最多 984 字符 （采用<a href="http://zh.wikipedia.org/w/index.php?title=UTF-8&amp;variant=zh-cn" title="UTF-8">UTF-8</a>）</td></tr><tr><td>中文<a href="http://zh.wikipedia.org/w/index.php?title=%E6%BC%A2%E5%AD%97&amp;variant=zh-cn" title="漢字" class="mw-redirect">汉字</a></td><td>最多 1,800 字符 （采用<a href="http://zh.wikipedia.org/w/index.php?title=BIG5&amp;variant=zh-cn" title="BIG5" class="mw-redirect">BIG5</a>）</td></tr></tbody></table><table border="0"><tbody><tr><th>错误修正容量</th></tr><tr><td>L水平</td><td>7% 的字码可被修正</td></tr><tr><td>M水平</td><td>15% 的字码可被修正</td></tr><tr><td>Q水平</td><td>25% 的字码可被修正</td></tr><tr><td>H水平</td><td>30% 的字码可被修正</td></tr></tbody></table>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?226</link>
<title><![CDATA[如何重置IE的用户验证（Share Point篇）]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[windows]]></category>
<pubDate>Tue, 07 Oct 2008 02:27:52 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?226</guid> 
<description>
<![CDATA[ 
	<p>该篇主要涉及Share Point的登录问题，用过Share Point的用户应该都知道，SP首次登录的时候会让输入用户密码，一旦把remember password一并勾上进行登录后，以后再也不需要输入用户名和密码进行登录，非常之方便。但是，在方便的同时也会造成问题，就是当这台pc换了个主人的时候，每次都要在登录之后切换用户，这就让人非常的费解及烦躁。<br /><br />在这里和大家分享一下超级简单的解决方案<br /><br />在开始菜单-&gt;运行框内输入control keymgr.dll<br /><img class="insertimage" src="attachment.php?fid=3" border="0" width="347" height="187" /><br /><br />在弹出新窗口，用户密码管理器窗口中，可对密钥进行管理，将对应的Share Point密钥删除即可<br /><img class="insertimage" src="attachment.php?fid=4" border="0" width="395" height="329" /><br /></p><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=windows" rel="tag">windows</a> , <a href="http://5dhome.net/myblog/tag.php?tag=%25E7%25B3%25BB%25E7%25BB%259F%25E8%25AE%25BE%25E7%25BD%25AE" rel="tag">系统设置</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?225</link>
<title><![CDATA[将hide in menu的页面显示在sitemap中 // Typo3 TS]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Wed, 17 Sep 2008 09:41:28 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?225</guid> 
<description>
<![CDATA[ 
	在网站建设中，有的时候需求相当的奇怪，遇到这么一个问题，左边的子菜单不显示的页面却要在内容页中显示，比如sitemap要显示该页面。这个时候最简单的办法是TS，至于有没有插件可以做到我没找过，如果哪位大侠找到了，不烦告知，谢谢。<br /><br /><ul><li>首先把左边子菜单中不要显示的页面属性，都设置成hide in menu</li><li>在要显示菜单的页面（比如sitemap页面）的页面属性中配置TS如下<span style="color: #66cc00"><br />tt_content.menu.20.2.excludeDoktypes=10 #页面的uid</span><br /></li></ul><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?224</link>
<title><![CDATA[ubuntu dpkg出现致命错误解决方案]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[linux]]></category>
<pubDate>Thu, 07 Aug 2008 15:07:08 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?224</guid> 
<description>
<![CDATA[ 
	升级更新的时候中断了，再次更新的时候报这个错<br /><span style="color: #ff0000">dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. <br />E: _cache-&gt;open() failed, please report.&nbsp;&nbsp;</span><br /><br />网上很多高手都说执行以下两行命令即可，我试了n次都不行，估计人品有问题<br /><span style="color: #66cc00"># dpkg --configure -a<br /># apt-get update</span><br /><br />后来发现了这段代码，<br /><span style="color: #66cc00"># ls /usr/share/doc &#124; &#92;<br /> grep -v [A-Z] &#124; &#92;<br /> grep -v &rsquo;^texmf$&rsquo; &#124; &#92;<br /> grep -v &rsquo;^debian$&rsquo; &#124; &#92;<br /> awk &rsquo;&#123;print $1 &quot; install&quot;&#125;&rsquo; &#124; &#92;<br /> dpkg --set-selections</span><br /><br />执行了上面的代码后，出现以下错误<br /><span style="color: #ff0000">awk: 1: unexpected character 0xe2<br />awk: line 2: missing &#125; near end of file</span><br /><br />请忽视这两个错误，直接执行upgrade命令，即可获取新的头文件<br /><span style="color: #66cc00"># apt-get upgrade</span><br /><br />以上命令均在切换到root用户后执行<br /><br /><br /><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=linux" rel="tag">linux</a> , <a href="http://5dhome.net/myblog/tag.php?tag=ubuntu" rel="tag">ubuntu</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?223</link>
<title><![CDATA[qq终于出了linux版本了]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[随笔乱涂]]></category>
<pubDate>Thu, 07 Aug 2008 01:19:38 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?223</guid> 
<description>
<![CDATA[ 
	<p>我哭了。。。等了那么多年。。。。<br /></p><p>qq终于出了linux版本了，再也不用第三方qq了<br /></p><p>555，感谢党，感谢领导，感谢人民，感谢马腾。。。</p><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=qq" rel="tag">qq</a>
]]>
</description>
</item><item>
<link>http://5dhome.net/myblog/read.php?222</link>
<title><![CDATA[多国语言版的时候出现空记录问题 - Typo3 tt_news]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Sat, 28 Jun 2008 05:26:30 +0000</pubDate> 
<guid>http://5dhome.net/myblog/read.php?222</guid> 
<description>
<![CDATA[ 
	<p>对于tt_news有过typo3经验的应该都不会陌生，这里介绍一下用tt_news做多国语言版的时候出现一个空记录的一个问题。<br /><br />tt_news在默认的情况下的记录数是对应默认语言的记录数，其他的语言版都是通过Localization出来的，这时候就有可能出现，默认语言版的记录数大于其他语言版的记录数，从而产生在其他语言版显示出空记录。<br /><br />举例：<br />默认语言：英文<br />其他语言：简体中文、繁体中文<br /><br />- 英文版下tt_news的记录数为<span style="color: #ff9900">10</span>条<br />- 简体中文在通过英文版Localization后翻译了<span style="color: #ff9900">6</span>条<br />- 繁体中文在通过英文版Localization后翻译了<span style="color: #ff9900">3</span>条<br /><br />而最终的结果是<br />- 英文版正常<br />- 简体中文出现了<span style="color: #ff9900">4</span>条空记录<br />- 繁体中文出现了<span style="color: #ff9900">7</span>条空记录<br /><br />解决的办法是，在TS上加上<br /><span style="color: #66cc00">plugin.tt_news.sys_language_mode = strict</span></p><br/>Tags - <a href="http://5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item>
</channel>
</rss>
