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/

汗,发现自己的blog上不能留言了!

原因还不清楚,难道跟我上次用的那个插件有关??
到现在还是没搞定,烦~~
[PS]谢谢 jay在留言簿上的提醒!!之前的很多留言都没能及时回复,在这里跟大伙说声对不起了~
[ungrade]把wordpress升级到了1.5.1.1,好像现在可以了!

解剖wordpress theme-part4

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

Adsense for Feeds

在RSS上放Adsense(Beta)好像出了.申请地址

Google AdSense for Feeds
AdSense for feeds is a program that enables publishers to place relevant ads in the feeds they syndicate. Google technology understands the nuances of language, and places ads that are closely matched (or “targeted”) to the content next to which they appear. Learn more

If you are a current AdSense publisher and your feed has more than 100 active subscribers, you may qualify for participation in AdSense for feeds (BETA). If you’d like to participate, simply fill out the application below.

If you do not have an AdSense account, click here to apply.

[PS]your feed has more than 100 active subscribers!这好像有点多了吧!看来申请是不能通过了~:sad:

打领带的方法(ZZ)

不用说转载那里的了,图上有水印了!

wordpress再次更新-1.5.1.1Released

补上了上次post的那两个bug~
看看zed1是怎么说的:

Update: In our effort to optimize we made two mistakes in 1.5.1, one related to feeds and one related to trackbacks and pingbacks. We’ve updated the download with 1.5.1.1 which corrects these bugs and a few others.

下载更新

修补wordpress1.5.1

发现1.5.1也是有bug的,赶紧补上~~
-、 trackbacks 可以收不能送, pingbacks 收送都不行
修补是打上这两个pacth:changeset 2609changeset 2606
“精神奕奕”已经把打上pacth的文件打包了,大家可以去下载,然后覆盖原文件就可以了(我也是用这些来补,自己太懒了,懒得自己去修改文件:oops:)

二、RSS 有 bug — 一段時間沒有新文章, RSS就吐不出資料.这里有修改的方法→HERE
[PS]自己太懒了,走开一会~~
[EDIT]新版本更新了这两个bug,请尽量升级到wordpress1.5.1.1版

终于把备案搞定了

其实,早在4月初就在edong填写了资料,可一直也没审核,问了几次都是叫人等。好吧,等就等罗,反正我的小站没什么东西见不得人的~~
终于今天算把这件事给搞定了,以后不用老往edong那里“跑”了~~:mrgreen:(在那里查域名还比较方便,没事干就查一下:mrgreen:)
我的编号↓↓
备案序号:粤ICP备05018037号