SMERS ~ 05012008

This is a naked sparanoid dot com, a site now running without stylesheets.


Taxonomy of WordPress

Articles about WordPress, My themes, plugins and some tips inside. and there're about 34 entries filed in this category.


修改 Quotmarks Replacer 的文字简介

Apr 04

有人说之前的简介写的有些让人摸不着头脑,尤其是英文,第一眼看不出这插件是干什么用的,于是今天抽空给改了下…


Quotmarks Replacer 2.1

Apr 02

Now 2.1 is compatible with WordPress up to v2.5, Thanks to MoontoC, great help.


Theme Xinjustice .psd is Available

Oct 26

今天有人很热心,先是找我 QQ,然后又是 MSN,最后还是通过 About 页面上的 email 找到了我。她问我要那个 Xinjustice 主题,还问我怎么还没有做出来。Xinjustice?我都把它忘记了,我食言了,所以还是把 .psd 文件放出来吧,不过现在看来有很多元素都不怎么成熟。但还是希望有人能继续这个主题,哪怕借鉴部分内容也好,把它编成一个个 php,并分享给别人使用…


WordPress Theme: Luvlornoia 1.0

Oct 19

Luvlornoia is WordPress 2.1/2.2/2.3 compatible, One-column, white and pink style, Optimized for Internet Explorer, other browsers also work fine. released under the GPL license. Feel free to use it but please do not remove credit infomation.


考虑从 WordPress 转到 Textpattern

Oct 19

虽然知道转到 Textpattern 后会失去一部分东西,不过依然还是考虑转到 Textpattern,不过只是考虑而已,目前正在缓慢研究中。
计划从今年开始,转换期为 1 年至 8 年不等


WordPress 更换永久链接不完美解决方案

Oct 15

举例,原永久链接为 /%year%/%monthnum%/%day%/%postname%/,后更改为 /%category%/%postname%/。要达到的效果是以前的永久链接全部 301 转向;文章、评论、Pingback 及 Trackback 中出现的原永久链接全部替换为新链接…


WordPress Theme: Elapix 1.2 Alpha (a.k.a. Sparanoia)

Oct 15

Update 10-15-2007: Theme "Sparanoia" changed name to "Elapix", Footer updated, Post date now shows up in each post, Comment counter now is displayed correctly when a post is comment-off, Some other small changes…


关于人见人爱的 WordPress 2.3

Oct 01

偶然间又来到了海豚的站,看到了 WordPress 2.3 以及相关信息,似乎被提到的文章中,除了 solidot.org 上在说 WordPress 2.3 没必要升级之外,好像所有人都很热衷于 WordPress 的升级,改插件、改皮肤、再发布。借着大潮流的趋势,从中得到 PV,获得好处…


Quotmarks Replacer 2.0

Sep 29

Now 2.0 use remove_filter to make it works, instead of using add_filter to replace the wptexturized text.


成功将两个 WordPress 合并

Sep 22

仔细观察过我的站的人或者经常来看的人,细心一点,都会发现,我的站是由两个 WordPress 搭建的,一个在 wwwroot 目录,一个在 wwwroot/blog 目录,因为 wwwroot 我放的是一些图片作品,而 blog 下放的是一些琐碎的日志,因此页面布局、链接、内容的形式上多少有些不同,这就是当初分两个 WordPress 搭建的原因…


WordPress Theme: CF0V11 Public 1.0

Sep 20

CF0V11 Public is...WordPress 2.1 compatible, One-column, black and green style, Clear codes, Valid XHTML 1.0 Strict, Optimized for Internet Explorer, other browsers also work fine


WordPress theme: Almodovar + Public 2.2

Sep 13

WordPress theme: Almodovar + Public 2.2 Updated: New style of Archive by Month list. Some bugs were fixed.


PSYCHOPATHY 基本完成

Sep 10

经过了八个多月的小修小补,PSYCHOPATHY 基本完成了,起码我现在看来还算可以了,也希望别在一段时间内感到它有太多的不足,这样可能会让我疯狂的去想一个 v13 出来。至于接下来干嘛,可能,就是去填内容了吧


关于那些什么 WordPress MU 中文语言包

Sep 01

这几天试了试 WordPress MU,是 1.2.4 版的,感觉比以前成熟些了,但唯一没改的,还是那些什么 WordPress MU 的简体中文语言包
在某处下了个 mo 文件来,感觉还是那种在国内平时对 WordPress 怎么说也有一定钻研的那种站,上传之,激活,我靠,这都是啥?翻译的质量也太差了吧,用 GetText 反编,用 poEdit 再打开,逐条逐条的那么看下去,实在是惨不忍睹:
比如原文:
<strong>Caution:</strong> You are about to approve the following comment:
<strong>Caution:</strong> You are about to delete the following comment:
<strong>Caution:</strong> You are about to mark the following comment as spam:
译文:
<strong>警告:</strong>你将审核通过下列评论。
<strong>注意!</strong>您将要删除下列评论:
<strong>警告:</strong>你将把下列评论标记为垃圾评论。
再比如原文:
Can't delete the <strong>%s</strong> category: this is the default one
Can't delete the <strong>%s</strong> category: [...]


WordPress MU 中文乱码问题备忘

Sep 01

打开配置好的 wp-config.php 文件,找到第 8 行:
define('DB_CHARSET', 'utf8');
将其改为:
// define('DB_CHARSET', 'utf8');
简单的说,也就是将其注释掉即可


再谈 WordPress 高亮显示作者评论的功能

Jul 25

这是一个不使用插件的方法,不讲所谓的技术,只说怎么做。默认情况下,WordPress 的评论模块是这个结构:
comments.php
comments-popup.php
按照我的习惯,我将它分为:
comments.php
commentform.php
commentlist.php
trackbacklist.php
其中 commentform.php 可以算作是原来的 comments-popup.php,多出了 commentlist.php 和 trackbacklist.php 分别是评论列表和回响列表,也就是说,这会是将评论和回响分开的。那么下载下面的附件,覆盖到模板下。并在 CSS 中加入 .author-commt 类的样式即可,如果有需要,comments.php 不动,修改 commentform.php、commentlist.php、trackbacklist.php 就行


Graffiti Bleed!! Bitch Bleed!!! Download

Jun 18

最近先后有 2 个人邮件我说对那个 V11 Sample 感兴趣(实际是 V12),觉得我留着也没什用,就放出来了


WordPress Theme: Elapix 1.1 Alpha Released

May 28

有人提出页脚的版权问题,也一直没注意,现在更新下,也证明一下这个 Elapix 主题不会死,而且她的确是有特殊意义的
View Demo
Update 05-28-2007:

Footer updated
Quote Comment plugin removed
Some other small changes

Download / sparanoia-11a.zip / 40 KB


This Page Is Valid HTML 4.01 Strict!

May 13

记得之前是 This Page Is Valid XHTML 1.0 Strict! 吗?好了,现在改了,HTML 4.01 Strict
OK,我承认 Web 标准以及所有一切和 W3C 有关的什么什么玩意都比较无聊,但是我还是要再请所有对标准感兴趣的看下下列这几篇文章,也算是我对那个 Anti-Firefox 插件的观点做补充了。当然了,“我的看法只是一个外行的猜测,毕竟,我还不算是真正的生产者”

Why All Web Standards Suck
HTML新变数
Performance and Approach of the W3C 中的第 3 和第 13 条评论


From Dreamhost to Local Server #2

Mar 14

做下备忘,在下列文件中:
\wp-includes\comment.php
\wp-content\plugins\akismet\akismet.php
\mint\config\auto.php
\mint\pepper\shauninman\default\class.php
搜索:
_SERVER['REMOTE_ADDR']
替换为:
_SERVER['HTTP_X_FORWARDED_FOR']
此法可以解决部分服务器无法正确读取访者 IP 的问题


PSYCHOPATHY 及其它

Feb 21

几天的努力,PSYCHOPATHY 基本算圆满了
有很多话想说,但又的确说不出来,既做不到 Code Is Poetry,也做不到 Text Is Pattern,也许这就是我要削弱 blog 的地位的原因之一吧
首先,新版删除了一些所谓必备的元素,比如评论日期,引用功能,无聊的、甚至似眩耀的统计信息,等等。
其次,感谢 MoontoC 和 Boiling Soul,实现了 Other works in this category 的功能
最后,就在写这篇文章时,发现 WordPress 2.1.1 和 2.0.9 发布,对我来说,2.1.1 没做好准备,反反复复的升级弄的也挺烦人的,我不是那种天天跑后台的人,也不是为了某种目的只会写 WordPress 相关文章的人


Give V12 A Name: PSYCHOPATHY

Feb 13

新版的 首页,经过接近半个月的时间,在北京时间昨天下午 4 时 20 来分和大家见面了,今天顺便给它起了个不错的名字:PSYCHOPATHY
首先要说明的是,目前首页仍是 80% ~ 90% 的半成品,有部分功能尚未实现。现在这个版本并没有想预期的那样使用 之前发布的预览版本;另外,改版后的首页将不再显示 blog 的内容,完全以作品为主,目的是削弱 blog 的地位。这个 blog 还没有和首页整合,现在它仍然是 V11 的样子,待到首页圆满时,blog 再开工
新版的首页目前看起来不错,已经完全和 WordPress 整合成了 CMS,以前的那些作品,经过挑选,删除了 9 个 "Computer Artwork" 以及 3 个 "Webpage" 后,其它内容全部导入了 WordPress
最后,我需要干的一样活是:检查首页所有的链接是否有 404,也希望各位一起帮我 debug,有错误即可留言通知我,在这里先谢谢了


V12 Under Construction & Some Other Words

Feb 01

第 12 版改版开始,进度 5% 左右,缓慢进行中
懒得写太多东西了,本想就写上面那一行,但怕别人看了后感觉不怎么爽,所以我还是有写点的必要:
前几天和 Dreamhost 的连接终于圆满些了,把 blog.sparanoid.com 改为 sparanoid.com/blog 访问,也顺便升到 WordPress 2.0.7,下一步则是模板的重新设计和首页 www 的 WordPress 整合
V12 上面的那个 "Bleed bitch bleed!" 是用 Finepix Z1 取的,微距效果一般,等正式放出时借个 E 系列的重拍一张试试


V11 Sample Rox

Jan 13

Graffiti inspired by Eminem - Kim


WordPress theme: Almodovar + Public 2.1

Dec 17

WordPress theme: Almodovar + Public 2.1 Updated:

When Convert emoticons like :-) and :-P to graphics on display option is ON, the smilies won't show borders around them
Fixed the layout of the prompt information of a moderation comment when An administrator must approve the comment option is ON
Some bugs were fixed
View Demo

To get more information go [...]


Tidy Archive List For WordPress

Nov 25

答应过 Zx 发一篇关于我现在 Archive List 制法的文章,那么针对 Zx 的问题,我简单说说我是怎样将按月份归档的日期向右浮动过去的
第一部分
稍微看过 WordPress 程序代码的人都知道怎样添加 php 代码来显示文章存档,最简单的方法是用其自带的 get_archives 函数。这个函数还包括一些附加参数,比如输出类型(按月份、年份等等)、显示文章数等
默认的,使用下列参数:
<ul id="archive-archivebydate">
<?php get_archives('monthly', '', 'html', '', '', true); ?></ul>
会得到这样的 html 输出:
<ul id="archive-archivebydate">
<li><a href='http://localhost/2006/10/' title='October 2006'>October 2006</a>&nbsp;(5)</li>
<li><a href='http://localhost/2006/09/' title='September 2006'>September 2006</a>&nbsp;(6)</li>
<li><a href='http://localhost/2006/08/' title='August 2006'>August 2006</a>&nbsp;(7)</li>
</ul>


WordPress Themes of Redesigned-Style

Nov 22

最近发现一部分玩 WordPress 的 Bloggers 比较盛行修改 WordPress 皮肤,改完了然后再继续发布。当然,改皮肤(或者如标题所说 "Redesign")不是错,但有一部分人,去了原作者的链接,改了作者的描述,甚至连主题的名字都给换成了个完全无法与原名相联系的,这就好比软件汉化,似乎一个道理
这种做出来的主题,CSS 杂乱又华丽到似乎无样式,进入无数个使用某一款皮肤的 Blog 后就感觉如同一人,完全相同的主题,完全相同的排版,完全相同的 Logo,同样无聊的内容,使用着同一华丽主题的 Blog 似乎再也看不出华丽在哪里了


How to Simply Make a Blog Theme

Oct 05

有人问我我做一个皮肤一般都需要哪几个步骤,没有专业系统的学网页设计,可能并不是专业的,依据个人习惯可能多少有些差异,就拿 CF0V11 主题 在这里简述一下:

界面构思
绘制草图
制作 .psd 文件
通过 .psd 输出静态页面
将静态页面代码应用到 .php 模板
Debug
发布


WordPress Theme: CF0V11

Sep 29

为了配合新版首页,特制此皮,blog 做了较大幅度的修改,前台,后台,登录界面等等,操作方面也和其它 blog 略有不同,希望大家能习惯,现在首页设置为只显示一篇文章,就我九月份写 blog 的速度来看,应该正合适…


Quotmarks Replacer 1.2.0 Beta Released

Sep 15

Update: Added filter single_post_title. (Thanks to yskin)


Modified Version of WordPress RSS Output

Aug 28

Modified Version of WordPress RSS Output
适用人群:晓得 RSS 为何物,懂得简单 CSS 并知道如何修改样式
功能

增加了 RSS 输出的样式,使 xml 更美观(RSS 1.0 预览)
(非 xsl,仅增加了 css 样式,兼容 IE、Opera、Firefox,IE7 下默认无效)
去掉了 RSS 2.0 输出时用 strip_tags 脱掉 html 标签的内容
(因为部分阅读器会读这部分内容,导致 RSS 2.0 的输出和 RSS 1.0 一样都是没有样式的。注:当后台设置为 输出摘要(Summary) 时此功能无效)

安装

解压缩文档
修改 CSS 样式,如果需要的话(默认的 CSS 样式为白背景,红色标题,黑色正文)
将 wp-feed.css、wp-commentsrss2.php、wp-rss2.php、wp-rss.php 四个文件上传到 WordPress 的安装目录

下载地址:http://lib.sparanoid.com/download/rss-output_modified.7z


WordPress theme: Almodovar + Public 2.0

Jul 30

WordPress theme: Almodovar + Public 2.0 Updated:

Showing archive in list
New Template: Pages with Comments (You can created a guestbook using this template)
Some bugs were fixed
View Demo

To get more information go and see the original instructions.
Download: http://lib.sparanoid.com/download/almodovar-plus_public_20.zip
中文版:
WordPress 主题:Almodovar + Public 2.0 更新内容:

主题内字串译为中文(配合中文版 WordPress 效果更加)
归档以列表形式显示
新模板:可评论页面(可以使用此模板制作留言簿)
修正了已知错误
查看演示

更多信息请参考 原说明.
Download: http://lib.sparanoid.com/download/almodovar-plus_public_20_chs.zip


WordPress theme: Almodovar + Public 1.2 Beta

Jun 22

WordPress theme: Almodovar + Public 1.2 Beta Updated:

Organized stylesheets in css directory
Sub-categories are hidden in page navigation now
Fixed index error when there was no post
Small fix in trackback/pingback list
Add .alignright and .alignleft in .css
Small changes in search result
Now using "Filed in" instead of "I'm in..."

To get more information go and see the original instructions.
And in [...]


Quotmarks Replacer 1.1.0 Beta Released

Jun 06

Update: More filters are added (category_description, comment_author, comment_excerpt, list_cats)


Blog Layout

Jun 04

最近对外放出了 Almodovar + 的 Public 版本,它的放出,这意味着我现在使用的 blog 样式将会有较大改动
现在的 Almodovar +,仍然是单列,首页改为仅显示一天的文章,页面下方显示最近的 10 篇文章和文章分类。至于 Archive 页面,依次是我推荐的文章、最近的 100 篇文章、按月份存放的所有文章归档。没研究过 SEO,不知道这样在首页仅显示 1 天的内容是否不利于 SEO,但至少我发现最近评论少了,也许最近很多人都在为升学而奋斗吧
另外把 www 里的作品都加上了导航栏,起码不像以前那么简陋了


WordPress Theme: Almodovar + Public 1.1 Beta

Jun 02

WordPress Theme: Almodovar + Public 1.1 Beta Updated:

Some layout bugs were fixed
Fixed font sizes at least 11px in content

To get more information go and see the original instructions.
Download: http://lib.sparanoid.com/download/almodovar-plus_public_11b.zip


WordPress Theme: Almodovar + Public

May 30

English
Almodovar + Public is...

Based on Almodovar +
WordPress 2.0 compatible
One-column, white and red style
Clear codes, Valid XHTML 1.0 Strict
Optimized for Internet Explorer, other browsers also work fine
View Demo

Available templates inside

template_archives.php
template_links.php

Integrated Plugins

Quote Comment
Last Modified
WordPress Statistics
Zap Recent Commented (default: disabled)

Installation

Download the archive and unzip
Upload the folder almodovar-plus_public on /wp-content/themes/ folder where the WordPress installed
Login to your WordPress administration [...]


WordPress Theme: Almodovar + Public Just Around the Corner!

May 28

最近越来越多的人问我要 Almodovar + 这个皮肤,但由于一直是个人使用,CSS 比较乱,并且有很多个人化的内容就没有放出。今天整理了一下 CSS 和输出代码,不久发布 Almodovar + Public 版本,it's just around the corner!


Theme Xinjustice Won't Be Down!

May 20

Xinjustice 不会死,有些内容我只想用有 alpha 通道的 png 来完成/简化这个皮肤。所以,我等 IE7,或者某天 Windows 真正捆绑上了支持 png alpha 通道的 IE 的时候,Xinjustice 放出的日子就不远了


Elapix is Unsuccessful

May 13

在构思 Xinjustice 的时候,发现 Elapix 并不成功,当时的确比较有灵感,但是过于冲动了,虽然做了 psd,写出了 html 代码,但是,这两个没有一样是完整的,导致灵感消失,虽然一直有人支持我,但还是很难再次捡起来
现在想想,的确是这样,之前在电脑上画的很多的东西都是这样,我的手上至少有 20~30 个不错的半成品就这样夭折了,包括 version x 的另一个版本,一本电子书,几个 jam 涂鸦,帮朋友做的 phpdev 和 popavatar,还有那个 fd script 的 MM 版 css……
现在在构思 Xinjustice,我只希望它是一个完整的,或者至少是我满意的一件作品,而不是永远的 beta 0 或者 work-in-progress


Theme Preview: Xinjustice

May 12

这个目前没有完整的定义,开始我想把它做成一个站,整站的 "Xinjustice" 主题,当然,还包括 blog 的主题。另外,我的 Elapix 主题不会就此一直 beta 0 下去,有灵感的时候我会继续完成它的。


Wordpress Post Preview

May 07

PS:删除了一些转自我以前的 MSN Space 的文章


Why Suck IE's Eyes?

May 06

嗯,之前的那个 anti-firefox 的 WordPress 插件几乎被忘记,关于 IE、Firefox 这样的事我也很久没提过了,不过今天看到了如此的玩法哈:
http://blog.jtam.org/2006/05/google-picasa/ (IE's eyes only!)
我只是对其内容干兴趣,所以才看哈,但是呢,你不让我看,又有什么办法?只好不看了,只好从 FeedDemon 上拿下了。还有呢,使用这些的人都是 firefox 的忠实粉条吧?但为什么要“无所谓,继续浏览”或者“Continue without firefox”呢?难道你们对你们自己曾经是 IE 的忠实粉条耿耿于怀?为什么不 completely suck IE's eyes?!
Explorer Destroyer 说的很明白了,"Switch your users to Firefox and make money."
为啥?是因为 firefox 遵循标准而 IE 不是呢,还是因为利用 firefox 可以赚钱呢?记得这样的做法貌似是这个站最先发起的:
http://www.w3junkies.com/toocool/
为啥作者现在对 "Too Cool for IE" say good bye 了?是因为 IE 真的是太酷了而 firefox 不行吧!
PS:前几天看到 firefox 的使用率已经上升到接近 30% 了,嗯,要继续努力啊


A little about Blogates.com

May 02

http://blogates.com/sparanoid/2006/05/02/the-shit-quotation-marks-problem/
I admit, I'm a little boring


WordPress Theme: Elapix Beta 0 Released

Apr 18

English
version beta 0, 60% is completed, any question and suggestion are welcome.
View Demo
Available templates:

template_archives.php
template_links.php

Update 04-19-2006:

javascript error in quote comment function is fixed,thanks to MoontoC

Update 05-02-2006:

archive format changed to .zip

Download: http://lib.sparanoid.com/download/sparanoia_b0.zip
简体中文
beta 0,完成了 60% 左右;遇到问题或任何建议意见都可以在此提出
查看演示
可用的模板有:

template_archives.php
template_links.php

更新 04-19-2006:

修正引用评论插件输出的的脚本错误,感谢那个 bt 的 MoontoC

更新 05-02-2006:

档案格式更改为 .zip

下载地址:http://lib.sparanoid.com/download/sparanoia_b0.zip


Elapix is Work-in-progress

Apr 15

最近 Elapix 主题 正在调试中,希望不会半途而废。
没有放在 Elapix page 那里,是因为那里的内容实在是太少了,调试中给各位带来的不便就忍忍吧
今天 Xing 的 OffWhite 主题正式发布,看上去比以前给我的 alpha 爽多了


WordPress Theme Preview: Elapix

Apr 04

This is a test theme, I really don't know if it will come out. I'll use large font to build this theme, but I don't think this will support Chinese very well, but I think it will look good on a mac.
"Someday will get out, someday..."

Update: 2006-04-05T15:23:31+08:00

http://lib.sparanoid.com/sparanoia-04052006.jpg
http://lib.sparanoid.com/sparanoia-single-04052006.jpg


让 WordPress 的分类显示 RSS 链接和文章总数

Mar 28

<?php wp_list_cats('optioncount=1&feed=RSS&hide_empty=0'); ?>
optioncount=1
显示文章记数
feed=RSS
显示分类的 RSS 链接
hide_empty=0
显示空分类
以前在一个群里问过,没人知道,codex 可以访问后自己去查了一下,问题解决
可以根据需要调整各选项的显示/隐藏
效果如下:


The boring WordPress plugins list

Mar 12

这里是我所使用的插件以及对那些无聊插件的一点 shit
我所使用的插件(按字母表顺序)
以下的插件是在后台 Plugins 页面中激活的插件
Akismet
WordPress 安装时自带的反垃圾评论的插件,网上介绍的一堆,我就不废话了,不过,还是要小心使用 Akismet 插件,由于我经常在本机调试 blog,所以经常发一些评论,时间长了,Akismet 会认为那些的评论是 spam,所以建议尽量控制自己的评论
Anti-firefox
一个自制的被鄙视的插件
Dofollow
去掉评论上的 nofollow,用这个插件的原因是会与引用功能发生冲突,另外我对这个 nofollow 属性也比较有成见,当然,题外话了
Google Sitemaps
blog 内容更改后向 google 自动提交 sitemaps 的插件,自动生成 xml
Quotmarks Replacer
自制的解决 WordPress 引号的问题的插件,说大点是标点的问题,到现在也没几个人用,哀……真是很奇怪,WordPress 那么明显的标点错误居然没人发现,有人说那个什么 "XXX’s Blog" 的标题看着挺好啊,我寒……
Search Everything
搜索 page、评论里的内容,这些 WordPress 默认是不搜索的
Search Hilite
搜索结果中高亮显示被搜索关键字
Twilight AutoSave
在 cookie 中自动保存文章,以防停电等突发事件,至今派上过 3 次用场
皮肤中所集成的插件(按字母表顺序)
以下的插件都集成在 Almodovar + 皮肤中
Comment Quote
引用评论插件,原作者有两个版本,一种是间接引用([Comment ID #*** Will Be Quoted Here]),一种是直接引用(类似论坛的方法),我推荐后者,这样问题比较少,而且对插件的依赖程度不高,并且不会对类似“最近评论”之类的插件出现兼容问题。详细内容看 这里
Last Modified
显示文章的最后更新日期
Statistics Plugin For WordPress
显示 blog 状态的插件,都在 Archive [...]


WordPress Theme: Xing Series

Mar 11

嗯,这是 Xing 做的一个系列,我认为是公开的单列皮肤中最好的了,我比较偏向那种单列的,除了 blog 正文的图片外没有任何其它修饰图片的那种
我曾经用过它的 Xs 3,但那是也没几个人知道吧,当时新网站还刚刚开始
今天清晨在 pcpchina 看到了他的新皮肤的预览截图,嗯,怎么说呢,或许是我的审美观有问题?我认为是 state-of-the-art

顺便,提一点建议……哈哈,我总是这样 :p

代码不够整齐
Xs 2 在 IE 下显示极糟糕……估计是没有 clear: both; 造成的
当前的皮肤在 opera 下页脚错误

继续“都是很简单的东西”
下载页面:http://xings.5gigs.com/?page_id=19


Quotmarks Replacer 1.0.5 Beta Released

Mar 05

What's new in version 1.0.5 beta: Fixed error in converting #8243 and #8212.


This Page Is Valid XHTML 1.0 Strict!

Mar 05

嗯……经过几个小时的修改,终于使 "This Page Is Valid XHTML 1.0 Strict!" 了,所有的文章都检查了一遍,应该没什么问题了,只不过关于 firefox 插件的那篇文章有点问题,不过是 warning
PS:一段有趣的代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Two pigs</title>
</head>
<body>
<div style="width:400px">
<div style="float:left"></div>
<!-- 神秘的分割线 -->
<div style="float:right;width:400px">↓这就是多出来的那只猪</div>
</div>
</body>
</html>


Quotmarks Replacer 1.0.4 Beta Released

Feb 27

What's new in version 1.0.4 beta: Fixed error in converting #8243. (Thanks to Erac)


My Wordpress Login Screen

Feb 19

逛 blog 的时候,经常愿意随便点击别人的 login,但发现 WordPress 的 blog 基本都是清一色默认的……很丑
我就简单改改:

PS:最近得知,某某专家说话了,声称恶意抢注奥运吉祥物相关域名涉嫌违法,他妈的你们要保护产权就自己先注册,这样用的着吗?


WordPress Plugin: Anti-Firefox 1.0 Final

Feb 13

Anti-Firefox
Version 1.0 Final
I dont't like Firefox, what about you?
Install

Upload the "anti-firefox" directory to /wp-content/plugins/
Go to Plugins page and activate Anti-Firefox
Have fun :)

This plugin is released under the Creative Commons license found at the following URL:
http://creativecommons.org/licenses/by/2.0/legalcode/
Download: http://lib.sparanoid.com/download/anti-firefox.7z
P.S. 07232006
And all of you will be happy to see this


Quotmarks Replacer 1.0.3 Beta Released

Jan 29

What's new in version 1.0.3 beta: Fixed error in converting multiple quotation marks. (Thanks to herllin)


Wordpress Plugin: Quotmarks Replacer

Jan 29

English Info: Quotmarks Replacer is a plugin thdisables wptexturize founction that keeps all quotation marks and suspension points in DBC case. 中文说明:Quotmarks Replacer 一个通过禁用 wptexturize 函数,解决 WordPress 自动将半角的单引号、双引号和省略号转换为全角标点的问题。使后台输入的标点格式与前台读者浏览的标点格式保持一致的插件。


I tested two WordPress plugins today - SpotMilk and Quote Comment

Jan 17

今天试了一下 SpotMilk 和 Quote Comment 这两个插件,第一个还可以,至少感觉比一些其它的后台插件简单的多,但仍有不足,准备基于它的这个插件或者基于原版的插件改改。至于那个 Quote Comment,开始以为不错的说,有很详细的设置,不过却发现有两个 bug,其中有一个很严重:

与 Get Recent Comments 插件不兼容,在最近的评论里会以“[Comment ID #*** Will Be Quoted Here]”的形式显示引用的内容。
这个很恐怖,比如说,在默认设置下,引用某人的评论,会自动在输入框中添加上“[Comment ID #1 Will Be Quoted Here] ”,对吧?当然,如果我在“Comment ID #1”后面的数字做文章的话,就会很有趣,假如现在有 n 个评论,那么在你的评论中输入“[Comment ID #(n+1) Will Be Quoted Here] ”,这样,你会惊奇的发现这篇文章的回复功能已经挂了,原理不用讲了吧?很 EZ……而且更帅的是,别以为在后台删掉评论就可以了,一样进不去的……

当然,我也很不厚道,在此插件的作者那里试了试:
http://www.viper007bond.com/wordpress-plugins/quote-comment/#comments


Upgraded to WordPress 2.0 Release

Dec 27

升级到了 WordPress 2.0,那个 WYSIWYG 编辑器用着很不爽,还是换到了以前的。还有现在迷惑的是不知道怎样更改文件上传的目录了,也许是 bug。


修正了无法评论的 Bug

Dec 25

昨天更改 Blog 皮肤来着,样式改好了,居然到今天才发现无法添加评论,郁闷,现在改好了……都是自己的修改版惹的祸……


Miscellanea about WordPress

Dec 22

WordPress 2 已经出到 RC3 了,估计离正式版本不远了。顺便又去看了看那个非官方的 wordpress.com.cn,很奇怪的是,我的帐号被删除了,顺便又看到是常时间没登录导致的,md,垃圾,wordpress.com.cn 连 WP 程序用的都是英文原版的,根本不配使用 .cn 这个域名。还是 wordpress.com 比较厚道的,我 那个帐号 一直还在的。


FeedBurner's funny reply

Dec 20

Please check out this post to see if it addresses your problem: http://forums.feedburner.com/viewtopic.php?t=594
Sorry you are having issues, usually questions concerning the WordPress FeedBurner Plugin are best answered at it's support forum at http://groups.orderedlist.com/
I hope that helps
--
Eric Lunt
FeedBurner Support
http://www.feedburner.com
-----Original Message-----
From: sparanoid@163.com
Reply-To: sparanoid@163.com
Date: Sat, 17 Dec 2005 22:49:48 -0600 (CST)
To: feedback@feedburner.com
Subject: problem: http://feedvalidator.org/check.cgi?ur...
>IP Address: 60.20.54.86
>Username: Sparanoid
>Feed Address: [...]


WordPress Plugin: bsuite b2

Nov 29

推荐一款 WordPress 访问量统计程序:
http://maisonbisson.com/blog/post/10900/


WordPress Skin: Almodovar +

Nov 29

WP 皮肤一个,基于 ratte / robert 的 Almodovar
Todo:

更改链接颜色
添加 png 透明虑镜或将图片替换为 gif 格式
在 footer 处添加 blogroll(废除之)
调整字体行距
简化代码
footer 处添加分类链接(改为 header 处)
添加登录/登出链接
左上角背景增加图像
使该模板符合 xhtml transitional 或 strict

更新:11272005

更新评论的提交按钮样式
修正评论换行显示错误

更新:11292005

修正评论的表格高度错误
更改 footer 图片链接排列方式

更新:12182005

添加图片边框
修改搜索、提交按钮样式,更新评论表格

更新:12262005

删除首页 cats 链接
text-align 的对齐方式由 justify 改为 left
再次修改搜索、提交按钮样式,更新评论表格

更新:0101-2006

修改 links 模板
修正受保护文章密码的提交按钮和输入框未定义样式的错误

更新:01102006

页脚的 © 200* Sparanoid... 使用 php 函数(我懒,免得一年改一次)

更新:01242006

统一页面中的日期显示方式
集成 Last Modified 插件
集成 Comment Quote 插件

更新:01302006

简单更改评论显示样式

更新:02042006

集成 Statistics Plugin For WordPress

更新:02052006

参考 Lucid 模板,增加高亮显示作者评论的功能
将此皮肤集成的插件统一写入到 my_functions.php
输出代码更加整齐

更新:02062006

更改标准字号为 11.5px;修正 FireFox 下字体显示问题

更新:02092006

更新评论的列表显示方式
修改两个字体大小
修正 h1 标签对齐错误

更新:02112006

统一作者评论,评论输入框背景色为 [...]


WordPress-Mod 1.5.201 English Version

Nov 24

自制的 WordPress 1.5.2.01 修改版,基于 WordPress 1.5.2 官方英文版。
暂时没有什么好名称命名,先那“mod”弄上去在说。改的内容不多,我想如果不出意料的话……我会在今后继续修改和完善的。至于修改的内容……可能都是些无关紧要的东西,但我是比较追求完美的,这个版本只是按照我自己的意愿去改的。是好是坏大家自己看。
而目前我只是改改界面方面的东西,因为怎么说我也不是专门给人家查代码的。至于那些功能上的要求就不要指望我了……
版本号说明:
原英文版版本为 1.5.2,先在其后加“01”,表示 Mod 版的版本号。
修改内容:

删除*.php文件前缀“wp-”
调整后台字体、安装字体及用户登陆字体。
删除原版自带的3个插件。
删除后台页面下方的 FF 广告。
删除 RSS2 内的评论代码

1.5.2.02 Todo:

后台细节修改(绝对小……)
修正登陆用户名区分大小写错误
修正使用 code 标签时显示 html 代码的错误。
添加 rss2 中的图标及 logo

下载地址:
http://lib.sparanoid.com/download/wordpress-mod-1.5.2.01.7z
该版本停止更新


Skin Spiritual-Paranoid 99% Finished

Nov 13

皮肤基本完成,只剩下又右上角的背景图片。
虽然想把 previous、 next 的翻页样式改称 1、2、3、4 那种的,但代码不会的说……作罢。
进度一直很慢,拖了很多东西……主页、wp 程序、lqy 的 logo……等等等等……
PS:关于分类,现在很多,但这并不是导致我写东西时不知道要把文章放到哪个分类的原因。而我写东西时总喜欢把脑子里一下闪过的东西都写出来,导致每一篇都很杂……的确,真的不好选这分类,以至于我每次都会选上 Misc。或许我应该像 MoontoC 一样,4个分类就足够了……


Wordpress Permalinks on Apache Server #2

Nov 11

关于 Apache 服务器上使用 WordPress Permalinks 的后续报导……
感谢 W. Chen 和 Handry,使问题得以解决,先将方法整理如下:
1.
在 Apache 服务器的 httpd.config 文件中,搜索 mod_rewrite,将其开启。(去掉前面的“#”)
2.
再搜索 Options FollowSymLinks,将……
Options FollowSymLinks
AllowOverride None
DirectoryIndex index.html index.htm index.php

改成……
Options FollowSymLinks
AllowOverride All
DirectoryIndex index.html index.htm index.php

3.
用文本编辑器打开 wp 程序下的 .htaccess 文件,添加……
RewriteEngine On
RewriteBase /
RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]
RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
RewriteRule ^([_0-9a-z-]+).html([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&datenum=$3 [QSA,L]
RewriteRule ^([_0-9a-z-]+).html/(feed|rdf|rss|rss2|atom)/?$ [...]


Wordpress Permalinks on Apache Server

Nov 10

找了半天 WordPress 的 Permalinks 在 Apache 服务器上需要增加 index.php 的问题,尚未找到解决方法,郁闷的说。还有明天期中考试最后一天,郁闷,居然考完了还要去看电影!学校怎么想的?怕我们考的不好,整出个跳楼自杀什么的?让我们放松一下?