Archive for the 'Web' Category

Using Gravatar

原来wordpress 2.5已然有了Gravatar的支持, 不过也应该, 毕竟同一个公司. 个人很喜欢Gravatar, 简单易用, 而且用它服务的软件, 社区非常多.  不过想来Live, Google, Facebook… 这样的主应该是不会embracing这样的小东西了吧. 我很喜欢它, 希望全世界都用它.

大清早起床后, 终于升级到2.5, 并把theme更新了一下. 有了avatar, 希望有更多回复. :D

Reuse Content Types in CMS - Overview

CMS is Content Management System for short. CMS is very generic, and normally it’s always used in web domain, but if you consider a website as a company, CMS to website is as ERP to company. And we may think each elements of an ERP system as a resource. So I do think in a CMS, the most important concept is EVERYTHING IS CONTENT. If you can think in this way, you should find it’s so great to reuse the content types.

This blog entry serial is about how to implement the reuse of Content Types in a CMS system.

1. Overview
2. Identify the content types
3. Define content types
4. Considering the granularity
5. Composite content types
6. Generate the user input interface
7. Presentation

Be Social App?

Google just released their open social api, which is acted as an industry standard. Associated many companies or organizations.
http://code.google.com/apis/opensocial/

I do believe this is kind of response to the co-operation between MS and facebook. But it looks that we must consider the social elements in our applications. E.g., in blogs, we may get the blog-rolls from this kind API.

I still have no idea of how to connect the CONTENT and social App (service) (Movie, Music, News etc… From fav? From bookmark? Or from browser activity?), although I think it will bring revolution to whole internet websites.

Update Theme to Support Tags

Wordpress 2.3以后就自带tag了。不过由于使用dreamhost的方便的one-click install,导致我才发现这个新增的功能(也从来不看dashboard上的信息)。于是花了些时间看了一下并修改了自己的theme来支持tag。

看上去一切都工作了,有时间的话就给每个blog entry都加上tag。是不是应该把tag加到meta里去,以加强SEO?不过我这个丑陋的theme连h1都没有输出过,就还是不SEO了吧。 :p

主要用到以下几个新增的方法:

the_tags($prefix, $separator, $postfix); // in single page and archive page

wp_tag_cloud(); // tags page

single_tag_title(); // archive page or tag page

subText

今天需要寻找个.Net的Blog, 在SF上搜索一通, 居然找到一个叫subText的blog. 原来是因为著名的.Text死后, 有人专门在此基础上改进的Blog系统. 最新的1.9的版本已经加入并支持了ASP.Net 2.0的新特性. 用起来相当不错. RoadMap看起来也相当吸引人.

希望这个项目能继续下去.

Change Wordpress Pagination into Yahoo Pattern

Yahoo! Item Pagination is a pattern for display navigating pagination. And the default pagination of wordpress is really ugly. So I spent ten minutes to use pagination solution in diggmore to replace the default one. Looks nice. :)

Data Has Been Recovered

Thanks a lot to David Jia for his recovering job.

New Blog Style Beta…

虽然Logo上写着Released. 但实质上还是beta的. 有很多地方还要修改. 比如Tag那块.

总结一下这次主要的工作:
1. 写了模板和CSS文件. 最酷的是整个width是926px. :) 这可以算是我第一次认认真真仔仔细细从头写完CSS, 颇为得意.
2. 把GeSHi集成了进去, 加强代码格式化.
3. 用上了Nio的Anti Spam Image.
4. 把Wordpress升级到2.0
5. 写上了一些JS, 让Comments有点色彩的变化.
6. 做了个丑丑的Logo. 为了区别与Web 2.0, 所以是released的. 呵呵. Blog没必要用Ajax, Blog重要的是文字.

That’s All.

有趣的是, Easy同学看完以后, 说了句:”Typic iZz Style”. Very interesting. :D