<?php xml version="1.0" encoding="UTF-8"?> 
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html"><![CDATA[◇王者之剑◇-Albert Song&amp;#39;s Blog]]></title>
<subtitle type="html"><![CDATA[不要把简单的事情搞得N复杂]]></subtitle>
<id>http://www.albertsong.com</id> 
<link rel="alternate" type="text/html" href="http://www.albertsong.com" /> 
<link rel="self" type="application/atom+xml" href="http://www.albertsong.comatom.php" /> 
<generator uri="http://www.f2blog.com/" version="1.2 build 03.01">F2Blog</generator> 
<updated>2007-12-17 23:28:06</updated> 
<entry>
  <title type="html"><![CDATA[我的第一个F2Blog插件—twitter plugin for f2blog]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-47.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-12-17 23:28:06</updated>
  <published>2007-12-17 23:28:06</published>
  <content type='text'><![CDATA[F2Blog目前提供很简单的插件机制，就是在需要的地方插入html代码，可能还支持更复杂强大的功能，正在学习中。<br />我想要做的事情就是让twitter的内容能够在首页显示出来，不具备编辑管理功能，会提供一个链接到twitter.com/albertsong。<br />这里有F2Blog插件设计指南：http://forum.f2blog.com/thread-1828-1-1.html<br />我打算让twitter显示在首页的顶部，因此这个插件和免责声明(copyrights)插件几乎一样，于是复制copyrights插件，并适当修改，很快就做成了一个新的插件AsTwitter。<br />下载<a href="http://www.albertsong.com/http://www.albertsong.comattachments/200712/0225335762.rar">AsTwitter</a>。<br />使用方法：<br />1.解压到f2blog的plugin目录，即解压后的目录结构是plugins\AsTwitter\AsTwitter.php。<br />2.到后台管理的界面模组-&gt;插件设置里激活这个插件。<br />3.界面模组-&gt;模块设置编辑这个插件的内容（否则显示的将是我的twitter信息），只需要将albertsong替换成你的twitter帐号即可，包括模块标题中的和显示内容中的，注意不要删除标题中的&ldquo;]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-47.html" /> 
  <id>http://www.albertsong.comread-47.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[F2Blog Hack之SEO篇-分类和标签页标题]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-16.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-11 20:11:00</updated>
  <published>2007-11-11 20:11:00</published>
  <content type='text'><![CDATA[当点击分类或者标签时，F2Blog会列出该分类或标签下的所有文章，但是大家抬头看一看，会发现标题中并没有该分类的名称或标签的名称，这对搜索引擎评价网站内容有不利的影响。可以通过下面的方法修改。<br />打开include\loadbar.inc.php<br />在<br />//留言本和评论时装载cache.php<br />这句前面添加如下内容：<br />//生成分类，标签标题<br />$job=(empty($_REQUEST[&#39;job&#39;]))?&quot;&quot;:$_REQUEST[&#39;job&#39;];<br />$_POST[&#39;seekname&#39;]=(empty($_POST[&#39;seekname&#39;]))?&quot;&quot;:$_POST[&#39;seekname&#39;];<br />$_GET[&#39;seekname&#39;]=(empty($_GET[&#39;seekname&#39;]))?&quot;&quot;:$_GET[&#39;seekname&#39;];<br />$seekname=($_POST[&#39;seekname&#39;]!=&quot;&quot;)?$_P]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-16.html" /> 
  <id>http://www.albertsong.comread-16.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[F2Blog Hack之留言簿一个字昵称]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-15.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-10 20:10:43</updated>
  <published>2007-11-10 20:10:43</published>
  <content type='text'><![CDATA[F2Blog的留言簿要求昵称不少于3个字，但有不少朋友喜欢用一个字的昵称，怎么办？<br />1、打开include\common.php，找到<br />$username))&lt;3<br />改为<br />$username))&lt;1<br /><br />有一个地方要修改。<br />2、打开include\guestbook.inc.php，查找<br />strlen(form.username.value)&lt;3<br />改为<br />strlen(form.username.value)&lt;1<br /><br />共有两处要修改。<br />3、上传这两个文件到服务器。]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-15.html" /> 
  <id>http://www.albertsong.comread-15.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[F2Blog Hack之文章内容中加入网站链接]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-5.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-04 21:47:58</updated>
  <published>2007-11-04 21:47:58</published>
  <content type='text'><![CDATA[想不想在文章的作者后面加入自己网站的链接呢，这样如果别人真有心保留引用链接，也不用到地址栏去复制了。 <p>只需这样，在include下面找到content.inc.php，打开该文件，查找　　echo $strAuthor.&quot;:&quot;.$author.&quot;&amp;nbsp;&quot;</p><p>改为 echo $strAuthor.&quot;:&quot;.$author.&quot;(&quot;.$settingInfo[&#39;blogUrl&#39;].&quot;)&quot;.&quot;&amp;nbsp;&quot;</p><p>改后的效果就和您在本站看到的一样。</p><p>可以看出，F2Blog的代码相当清晰简单，我甚至不需要查看表的定义，只需要查看渲染出来的 html和对应的php文件就可以做出修改。</p><p>但是象这种hack方式改变了F2Blog 的代码文件，以后升级的话，这种改变就白费了，所以设计一种扩展性强的系统结构是很重要的，wordpress的感觉要强一些（代码没有深入研究），然而强大的功能和简单的程序总是存在一定的矛盾，再涉及到效率就更麻烦了。</p><p>永久链接的问题还没解决，找到</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-5.html" /> 
  <id>http://www.albertsong.comread-5.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[F2Blog Style之文章第一个字突出显示的方法]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-4.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-04 20:54:36</updated>
  <published>2007-11-04 20:54:36</published>
  <content type='text'><![CDATA[以前用L-Blog的时候用过，但是以前怎么弄的不太记得了。 <p>但是不要紧，有互联网，Google败下阵来，baidu搜索&ldquo;文章第一个字突出显示的方法 &rdquo;找到http://www.twchain.com/tsb/blog/ak.asp?id=16</p><p>在所用的skin的layout.css中找到Content-body，在下面再加一段</p><p>.Content-body:first-letter{<br /> &nbsp;&nbsp;&nbsp; BORDER:#ccc 2px dashed ;PADDING: 3px; FONT-WEIGHT: bold; FONT-SIZE: 20px; FLOAT: left;&nbsp; COLOR:#000000; MARGIN-RIGHT: 3px;}</p><br /> 这样基本上就可以了，为什么说基本上，你会注意到 <a href="http://www.albertsong.com/index.php?load=read&amp;id=2\%22" class="\&quot;titleA\&quot;"> 制作网站LOGO和地址栏前的图标</a><br /> 的第一个字没有变化，这是因为用tinyEdit可视化编辑时他会把内容搞成一段一段的，第一段就被&lt;p&gt;包住了，因此加了这个属性后编辑日志的时候还得注意，采用直接编辑html代码的方式将第一段的&lt;p&g]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-4.html" /> 
  <id>http://www.albertsong.comread-4.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[F2Blog Hack之友情链接篇]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-3.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-04 19:08:28</updated>
  <published>2007-11-04 19:08:28</published>
  <content type='text'><![CDATA[F2Blog 支持多语言界面，也就是说F2Blog界面上的文字都保存在相应的文件中，如果有的地方不对你胃口，只要修改这些文件即可。<br />语言文件在include\language下。<br />申请链接的规则不象出自我之口，怎么办？先找到对应的php文件，因为地址栏链接是http://www.albertsong.com/index.php?load=applylink，所以在include下面找到applylink.inc.php，找到红字对应的变量$strLinkInfo2，打开include\language\home\zh_cn.php，修改$strLinkInfo2后的文字，将<br /><font color="red"><strong>申请链接者请按下列代码在您的站点上加上本站的链接<br /><span style="color: rgb(0, 0, 0); font-weight: normal;">改为</span><br />本站链接原则：&lt;br/&gt;1、欢迎您申请，但不保证会批准，是否批准与您的网站质量无关，只与本人喜好有关。&lt;br/&gt;2、如果您链接本站，非常感谢，但仍然不保证会链接贵站。&lt;br/&gt;3、即使您不链接本站，申请通过的机会和链接本站一样。&lt;br/&gt;4、未申请网站也可能出现在本站的链接中。<br /><span style="color: rgb(0, 0, 0); font-weight: normal;">保存，上传</span></strong></font>zh_cn.php到服务器覆盖原来的]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-3.html" /> 
  <id>http://www.albertsong.comread-3.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[制作网站LOGO和地址栏前的图标]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-2.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-03 21:59:00</updated>
  <published>2007-11-03 21:59:00</published>
  <content type='text'><![CDATA[<p>晚上给自己的网站做了LOGO和favicon</p><p>可以用下面这两个免费软件完成：</p><p>1&nbsp;<a title="Paint.NET.3.10" target="\&quot;_blank\&quot;" files="" www.dotpdn.com="" http:="" href="http://www.dotpdn.com/files/Paint.NET.3.10.zip">Paint.Net</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 图像编辑</p><p>2 <a title="icofx" target="\&quot;_blank\&quot;" files="" icofx.xhost.ro="" http:="" href="http://icofx.xhost.ro/files/icofxsetup.zip">Icofx</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; 图标编辑</p><p>以做favicon为例，先用Paint.Net编辑好一个16*16的图片，然后在Icofx中导入，保存为ico即可。就算直接用Icofx来做图标也是非常容易的，Icofx是我用过的最好的图标编辑软件，而且免费。</p><p>&nbsp;最后通过f2blog的常规管理---〉博客设定 导入即可。</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-2.html" /> 
  <id>http://www.albertsong.comread-2.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[Blog从wordpress迁移到F2Blog]]></title>
  <author>
	 <name>王者之剑</name>
	 <uri>http://www.albertsong.comread-1.html</uri>
	 <email>albertsong.com@gmail.com</email>
  </author>
  <category term="" scheme="http://www.albertsong.comcategory-2.html" label="F2Blog" /> 
  <updated>2007-11-02 00:51:27</updated>
  <published>2007-11-02 00:51:27</published>
  <content type='text'><![CDATA[<p>前天发现一个不错的Blog程序F2Blog，决定从wordpress转移。</p><p>以后将以这个为平台建设自己的网上家园。</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.albertsong.comread-1.html" /> 
  <id>http://www.albertsong.comread-1.html</id> 
</entry>	
</feed>