中途开始用Pinyin Permalink就是个杯具| It's like a tragedy to start using pinyin permalink halfway

嘛,这个插件不错,可以使得包含中文的标题能够被使用拼音友好访问,不过…当你一开始并不知道这个插件而半途突然开始使用的时候…你将要修改以往的全部文章的链接…还好俺只有50来篇,呼~
希望今后能够有更加好的解决办法,否则太累人了…

—————————Lang Sep——————————

It is a good plugin to convert Chinese characters in the permalink to pinyin and make it more accessible to non-chinese computers. However, the plugin only have effect on the posts published after its activation and therefore you need to manually change ALL the old posts to this new style or it can not be accessed. This is really a tiresome work but luckily I have only about 50 to change. Hope that some improvements can be done in the future to prevent this from happening to newcomers.

Live Writer确实不错,只是对于第三方插件仍有不兼容| Live Writer‘s good but having issue with plugins

上一篇文章的代码在Live Writer中无论如何编辑都会变作一行,一开始是因为忘了把代码的

部分放入<p>…</p>之中,而后添加了<p></p>也没有反应,只好进Chrome登录WP发现添加的<p></p>都消失了,没办法,只好使用自带的编辑器加上之后发布,效果很好。

顺带一提,之前用的是wp-code插件,目前换为强大的syntax highlighter,确实不错,期待日后继续使用。

—————————-Lang Sep—————————–

The last post was first edited and published using Live Writer and there was a problem showing the code in multiple rows. At first I thought is was caused by the absence of <p></p> outside the

part. However, even after I added the <p></p> did it not show what I wanted. (<—Any grammar mistake in this sentence?)So I logged in from the website and edited again with the built-in editor. Everything worked and I realized who is to blame.

BTW, I’ve been using a plugin called “wp-code” to show program code in post previously. Now I have changed it to “syntax highlighter” which is really powerful.

修改代码添加文章SNS分享链接| Code for adding bookmark links to popular SNS for each post

之前说到可以用WP Greeting Box来识别来客来源网站,这次则是截然相反的代码。作用便是鼓励读者将文章推荐到各大社交网站进行分享。起初我是用的”Simple Social Network Bookmark”这个插件的,结果在目前的主题上出现了错误,使得侧边栏被移动到了最下方。于是无奈只好自己动手修改代码。已有的这个插件颇有些借鉴价值,于是俺就将其中的分享链接部分提取了出来,却不知道该放在哪里。经过一番股沟搜查,发现主题目录下的single.php是关键,于是在tag之后添加了如下代码:

————————–Lang Sep————————-

The code below adds the ability of bookmarking the current post to popular Social Network Sites(SNS) to the blog. You can put it in to the single.php file in the directory of your theme. The code was originated in a plugin called ”Simple Social Network Bookmark”. However, this plugin had some collision with my theme so I rewrote it and the effect is shown after this article. The path of the images may vary for different image sources.
Continue reading…

funpic.de是如何靠免费主机赚钱的| How funpic.de earn money by free hosting

目前这个WordPress就是架设在funpic.de的免费空间上的,总的来说这个和网站挺厚道,5G容量,无限流量,无限FTP帐号,无限MySQL数据库,无限绑定域名(上述无限乃是本人据实情猜测。) 就是界面是德文这点不太舒服,不过也可以用股沟翻译轻松解决。这两天一直在折腾,目前总算是把这个网站弄得初具雏形了,期间也遇到了一些问题,例如之前的ajax错误,一直没找到原因,结果今天发现应该是和网站的赚钱途径有关系。每一个被打开的页面都被嵌入了一段代码:

This website is currently hosted in a free host in funpic.de. To be frank, this is a good host because it offers 5GB space and unlimited bandwidth, FTP account, MySQL database and domain name(Expected through test.) The site is in German but that dosn’t really matter after using Google translate. However, I have spent several days on this website and finally it seems to be on its way. I struggled during the process and found several problems, the cause is probably the hidden advertise that funpic adds to every page. The code is as follows:

Continue reading…

尝试用Live Writer写博|Trying to post using Live Writer

这玩意儿满奇妙的,能够即时预览发布以后的效果。只是可视化的编辑器颇有点奇怪,貌似是读取了我的主题,标题能够看清楚,但是文字部分却没有正确的背景。真是奇也怪哉,嘛,好歹能用也不错了,省得次次登录博客去更新。

———————-语言分割/ Language Separation——————

This application is really interesting, it enables me to preview my post using the theme I uses. The title part is good-looking but the contents have no background colour. However, it is much more convenient for me to post using live writer rather than logging in to my site each time.

Many things to work on…

As I’ve only started using WordPress for few days, it seems that there are many things to work on.

I’ve came across many blogs to learn about posting and arranging the layout and found that most of them are displaying excerpts rather than the original article on their homepage. This is surely a good idea because:

  • It makes the page more tidy.
  • It increases the number of visitor on each post. They need to press <continue reading> to know the detail.

Continue reading…

Another problem found and fixed

When I was trying to install some plugins, I got an error massage like this:

Installing Plugin:
Downloading install package from ******.zip

Unpacking the package.

Parse error: syntax error, unexpected $end in ***/wp-admin/includes/class-pclzip.php on line 4128

It seems that the wordpress that I used can not cope with the zip file. So I tried to download and unzip the zip manually. After the extractd files were uploaded, the plugin was found in the plugin list and is available to be activated.

This is not a good solution because I would need to do a lot of extra work to enable a single plugin. Then I googled it and found that a number of people is suffering the same problem and almost no one’s got the solution.

Therefore I made a small attempt copying the class-pclzip.php file from wordpress 2.9 and replaced the same file in 3.0.1. That did the trick and now every thing seems to be alright.

I guess there might be someone else who is having the same problem and hope that this post may offer a little help.