我们也来个中文wordpress大集合吧

搞了一整天,终于把这个做出来了中文wordpress大集合
你也在用wordpress吗?加入吧!ADD YOURS HERE
与我做过链接的,我都加上了!
因为这个是wordpress集合,所以不是用wordpress的blog就不要加上了,谢谢!

WordPress 1.5.1.3 Available

wordpress再次更新!
修补了一个“未公布的”bug,如果你短期内不想升级,可以删掉xmlrpc.php!

podcasting easy?

doublealf说在wordpress下,podcasting是很容易的事,那就让我也试试吧。
陈百强的‘一生何求’
『义不容情』电视剧主题曲
曲:王文清词:潘伟源编曲:苏德华



冷暖哪可休
回头多少个秋
寻遍了却偏失去
未盼却在手
我得到没有
没法解释得失错漏
刚刚听到望到便更改
不知哪里追究

一生何求
常判决放弃与拥有
耗尽我这一生
触不到已跑开
一生何求
迷惘里永远看不透
没料到我所失的
竟已是我的所有
(music)
一生何求
曾妥协也试过苦斗
梦内每点缤纷
一消散哪可收
一生何求
谁计较赞美与诅咒
没料到我所失的
竟已是我的所有

小小plugin-类似verycd的title

verycd的title中常常会出现一些很有哲理性的句子,看上去很不错的样子,于是我想弄一个啊~可是自己还没有做wordpress plugin的经验,代码也没花太多时间去看~但我不会,还是有其他人会的,我可以修改其他人的plugin,达到我需要的效果!
挑个最简单的吧——Hello Dolly,wordpress自带的一个小plugin,平时没有激活过,功能也于我需要的效果差不多,代码简单。一切都符合我能修改的要求了,呵呵!

安装:

  1. 看看代码吧,把它保存为.php文件,上传到plugin文件夹中,然后后台激活
  2. 在你需要加上words的地方,加上(在theme上加)此句代码:<?php words();?>就可以了!
    例如我放在title上,就在theme editer中选择Header Template,找到<title>…</title>把它修改成了
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?>- <?php words();?></title>
  3. 如果你想修改或添加words,只需在plugin editer中打开words,找到如下句段,
    $words = "I love you not because of who you are, but because of who I am when I am with you.
    No man or woman is worth your tears, and the one who is, won‘t make you cry.
    The worst way to miss someone is to be sitting right beside them knowing you can‘t have them.
    Never frown, even when you are sad, because you never know who is falling in love with your smile.
    To the world you may be one person, but to one person you may be the world.
    Don‘t waste your time on a man/woman, who isn‘t willing to waste their time on you.
    Don‘t try so hard, the best things come when you least expect them to.
    Don‘t cry because it is over, smile because it happened.";

    修改为:
    $words=’想要的句子一
    想要的句子二
    想要的句子三‘;
    务必保证句子于句子间要换行

  4. 修改句子显示的格式(如果放在title上就不用了,改了也没用!),修改plugin中的

    #words {
    margin: 0; padding: 0;
    font-size: 20px;
    font-weight:bold;
    color: #666;
    }

好玩的Plugin!


WordSpew(Theme好漂亮,只是在ie上的效果~.~!!)——这个Plugin不单只好玩,技术含量还不低!使用了AJAX技术,Gmail用的就是这个技术!
ShoutBox大家看得多了,使用这个技术的,还是第一次见,快来试试吧!效果看我的SideBar→
安装过程,我就不写了,hsuyo blog里有,我就抄过来了(我懒啊!!)

安裝更是超簡單..

step 0.
至 Ajax Shoutbox 下載 plugin

step 1.
解開壓縮檔,將 install-live.php 放置 blog 根目錄,從瀏覽器開啟 (http://你的blog/install-live.php),按 install 完成。

step 2.
將 wordspew 資料夾放入 /wp-content/plugins/ ,再於控制後台開啟外掛。

step 3.
將以下 code 加入 sidebar.php 即打完收工。

<?php jal_get_shoutbox(); ?>

功能很陽春,不過中文顯示應該沒問題了,而且最新的留言還有自以為炫的漸進式浮現喔 XD

我多说一句的是,安装完后认真看一下install-live.php是否被删除了,如果没有,切记,要把它删掉啊!!
[PS]官方使这样说的,Firefox、ie等等浏览器下都是正常的,就是Opera下不能用!我测试了,是真的!

You need at least two entries in your shoutbox! Just type in two messages now and reload, then you should be fine.

刚才在后台删掉了自带的两个留言就出现这个了,所以大家要删的时候记得先“喊”两嗓子!!

WP hats and Shirts




WP hats

Originally uploaded by photomatt.

wordpress shirt

WordPress 出品的帽子和T-Shirt,样子很简洁。汗的是,那个标志有点大众的味道!
上海大众Logo

Migrating from Drupal to WordPress-把Drupal转换为WordPress

WordPress没有从Drupal转换到Wordpress的程序,还是看看别人是怎么做的吧~学习学习
[提醒]切记,要先备份啊!!

I finally decided to move my greek blog from drupal to wordpress. Since there was no migration script, I wrote a couple of sql statements that moved all posts, comments and categories from my drupal tables to the (new) wordpress 1.5 tables.

Here is the proccess in short:

WARNING This may delete your DATA Make sure you backup EVERYTHING before starting the procedure

1. setup a fresh wordpress installation.
2. make sure term_data term_hierarchy node term_node comments (drupal tables) are in the same DB you use from WP.
3. Run the following SQL statements:

delete from weblog_wp_categories ;
delete from weblog_wp_posts;
delete from weblog_wp_post2cat ;
delete from weblog_wp_comments ;

insert into weblog_wp_categories(cat_ID,cat_name, category_nicename, category_description, category_parent) select term_data.tid, name, name, description, parent from term_data, term_hierarchy where term_data.tid=term_hierarchy.tid ;

INSERT INTO weblog_wp_posts(
ID, post_date, post_content, post_title, post_excerpt, post_name, post_modified
)

SELECT nid, FROM_UNIXTIME(created), body, title, teaser, concat(‘OLD’,nid), FROM_UNIXTIME(changed) FROM node WHERE type=’blog’ OR type=’page’ ;

INSERT INTO weblog_wp_post2cat (post_id,category_id) SELECT nid,tid FROM term_node ;

INSERT INTO weblog_wp_comments (
comment_post_ID, comment_date, comment_content, comment_parent
)

SELECT nid, FROM_UNIXTIME(timestamp), concat(‘‘,subject, ‘
‘, comment), thread FROM comments ;

You should now have all your posts and comments and categories in WP. Go to the admin interface and make sure everything is in place…

Notes: This is not the perfect way to migrate. Comments are not nested in the right way. A lot of things may not work. On the other hand if, like me, made a really simple use of Drupal, this should move most of your data to WP…

From:http://vrypan.net/log/archives/2005/03/10/migrating-from-drupal-to-wordpress/

解剖wordpress theme-part4

汗一下,以为part3是最后一部分了。
谁知道,现在Part4也出来了~继续学习!!
Part3Part2Part1