Archive for 'technical'

wordpress make me in trouble ,for example, when I write blog post online, the post id increase automatically,I try google a solutions in blogsearch.google.com, I get a method finaly, but I am not sure it is work.

copy below code into funtions.php , step by step , wp-amdin –> appearance –> editor –> Theme Functions, added below code

/* 关闭自动保存和修订版本 */
remove_action(‘pre_post_update’, ‘wp_save_post_revision’ );
add_action( ‘wp_print_scripts’, ‘disable_autosave’ );
function disable_autosave() {
wp_deregister_script(‘autosave’);
}

I am put this notes here, now post  id is 13, will it increase after save draft ? hope not. let me wait for minutes。

after 30 minutes,modify post many times,

ok, seems it is work now.

step by step:

  1. Locate your blog rss address ,ex: http://feed.zuola.com/
  2. Make a simple web page, add code with below format : <a href=”http://www.google.com/reader/atom/feed/http://feed.zuola.com/?n=3721” >save as atom </a> , red block is your blog rss address,replace it with your rss address,  green block is your maximum article number,you can change it to 10,000 if you want;
  3. Login to http://reader.google.com with your google account;
  4. Open your web page , click   “save as atom ” with right button,then you get a atom format file ,another simple ways is, sent a mail to yourself, body is a link like this http://www.google.com/reader/atom/feed/http://feed.zuola.com/?n=3721 , click   “save as atom ” with right button when you receive your email.
  5. upload atom format file to your own site, get a link
  6. Going to  http://atom2rss.semiologic.com/ ,Specify your atom format file location URL, convert it ,get rss format file,transform done.
  7. Finally, we get all of your blog article with rss format, we can import to most blog ,include wordpress ,or blogger.com

That idea is from you xu ‘s wufetcher.py  ,source code form here: http://www.youxu.info/wufetcher.txt ,I can’t run wufetcher.py correctly in my server, so a write a manually method doing same thing, hope it give some help to you.

Xuyou has export Aiweiwei’s sina blog from google reader : http://blog.youxu.info/2009/07/04/aiweiwe/

here link is a backup of Aiweiwei’s sina blog : http://aiweiweiai.wordpress.com/