[tumblr]wp2tumblr - Transfer your blog from WordPress to tumblr + disqus

2010年8月13日星期五 | | |

Moving blogs sucks, so lets make it easier…

This script will allow anyone to mass transfer all the posts from a specified WordPress blog to a Tumblr account as well as transfer the comments to a specified Disqus account. Manually transfering a large number of posts can be time consuming, so instead use this wonderful script! Wp2Tumblr uses Tumblr API and Disqus to repost blog posts/comments from an exported WordPress blog. This script has been tested to work with Tumblr API 1.0 and Wordpress 2.3.3 (WordPress eXtended RSS format).


Directions:
Don't run the script if you don't know what it does. This script was a quick coding exercise so it does not have fancy error handling. Use it at your own risk. If you don't know what you're doing, ask for help :)

- Install the script on a server that supports PHP 5
- Export your WordPress blog
- Edit the script and input your general parameters
- Run the script by invoking its url with the following query string: ?exec=true

Updated 3/11/08:

Version 1.1:

  • Some WordPress exports were invalid XML so DOM based parsing was replaced with parsing code directly from WordPress's own Import function 
  • License: GNU General Public License (http:www.gnu.org/copyleft/gpl.html)
  • Parts of this code are derived from WordPress (http:wordpress.org/) under GPL

Download wp2tumblr.php

http://wordpress.org/extend/plugins/wp2tumblr/

http://downloads.wordpress.org/plugin/wp2tumblr.zip

参考:http://dbavaria.tumblr.com/post/28193913/wp2tumblr-transfer-your-blog-from-wordpress-to-tumblr
 
我的QQ空间
从表单的<TEXTAREA>中读取数据存入数组转变后再输出
读取<TEXTAREA>中的数据: <?php$v   = ...
 

0 评论:


所有文章收集于网络,如果有牵扯到版权问题请与本站站长联系。谢谢合作![email protected]