大年初二,不是上帝创造世界的第二天。自己觉得新一年里要力求革新自己,但这第二天这么忽忽的过去了。

心里不是什么滋味,还是不够淡定。做一个能一个人总是呆在家里的人,虽是不大可能的,但却能当做一个告诫。

第二天过去了,不多说了。睡觉。

2012年1月24日19:13:53

http://user.qzone.qq.com/343872060/blog/1327403528

标签: 上帝

轻酒度年华

水良白 post in [浮生若梦] 2012-1-26 22:09 Thursday 评论(0) 浏览(29)
可怜在大家都成熟之前,榆子能做出那么一件傻事,如今大家都仿佛没事一样,而最终看来,吃亏的只能是榆子一个人了。晨走朱水,过狄美浮家,看二文,坐食地癫家,有C,小,支三树。过走柳庞家。见寿亚聪,在朱水宣传部。归走刀子家,又走笑孩家,皆未多饮。送叶银学归其村。则归凌云斋。2012年1月26日22:20:30

WordPress出2.8了,呵呵,已经有段时间了~~

话说昨天又在玩flatpress,想试试它官方出的一个导出脚本,就是导出成为一个可以导入WordPress数据库

的sql文件。其实这个脚本以前就用过,有错误,但当时也没想着说放弃flatpress去用WordPress。

但是昨天呢,发现,手里有几个空间,现在都是放同样的内容,也就是我现在这个博客~~然后觉得好像不好,比较这样分流量了~~呵呵~~

就一小博客,流量就不要再分了吧,于是乎再一次实验了那个导出脚本~~~

还是出错,然后就在flatpress的官方论坛上问flatpress的作者了NoWhereMan。庆幸的是下午问的,晚上就有回复了,然后晚上还在论坛上和他交流了一会~~

再加上自己也自己看了下,就找到原因了~~于是乎,这个脚本就能用了~~哈哈~~~

下面就是脚本,把后缀名改为PHP,然后上传到博客根目录,然后访问,再把浏览器输出的内容全选复制,新建个sql文件,就是随便什么名字后缀为sql的文件,把刚才复制的内容粘贴进去,保存,注意一点,记得保存为和你WordPress相同的编码格式,一般式UTF8。然后再倒入到WordPress的数据库就OK了,呵呵~~有一点,脚本里面有个地方时文章ID,现在默认是从10开始,你要是新建的WordPress还好,如果是里面有文章了的话,那最好是看下文章ID最大的是多少,再把脚本里的数据改一下,再运行。如果是新安装的WordPress就没问题了~~

把后缀名该为php就能用了

呵呵,用完后一定记得要删除掉哦,不要留在你的空间里

导出的是文章标题,别名,评论,等,没有分类。

呵呵,不过有了这个脚本,想试一下flatpress的人就不用害怕到时候想换没法退了~~

然后说正题,WordPress2.8,个人觉得,速度上好像比原来好一些,最让我眼前一亮的是,主题也可以直接在后台安装了,不用再自己下载,然后上传到文件夹了,这样就方便很多,毕竟少了一步用ftp上传到空间~~呵呵~~

然后有这个功能,当然就试了几个主题啦~~漂亮的~~酷的~~等都试了下

最后的结论……和flatpress一对比,刚刚玩的时候那种想换到WordPress下面的冲动又没了。没必要~~的确,很多方面WordPress都比flatpress好得多,但是我也使用了cache了,WordPress相比下还是比flatpress要慢一点,也有可能是个人感觉~~呵呵~~而且我觉得flatpress在界面上,虽然没有WordPress那么多主题,那么华丽好看~~不过flatpress要灵活一点,而WordPress很多东西都要用插件才能实现~~插件一多,又慢下来了~~

当然,从功能上来说,WordPress比flatpress好很多~~呵呵~~不过flatpress对我这种人来说已经足够了~~~少了数据库的纠缠,搬家,备份都很方便,呵呵~~因为现在时在用免费的空间~~所以搬家备份方便很有用~~~

总之,WordPress是越来越好了,不过也越来越大了,压缩后都2.4M,还是没加主题插件什么的~~呵呵~~不过,还是值得称赞的,不愧是那么多人在用的博客程序,而且,人用得多,支持也就多~~这点很好,是flatpress比不了的~~

反正现在也有后路,所以,还是先用着flatpress,什么时候想换到WordPress了,也很简单,呵呵~~~

不过经过调试这个脚本,发现,其实要想做这种可以导入数据库的脚步也不是太难,只要遵循数据库表就行了~~呵呵~~这次看了WordPress的数据库,看了很多表~~不复杂~~哈~~~有收获

flatpress to wordpress:

<?php
 
 
    require_once('defaults.php');
    require_once(INCLUDES_DIR.'includes.php'); 
    if (function_exists('system_init')) {
    	system_init();
    } else {
    	plugin_loadall();
    }
 
      header('Content-Type: text/plain; charset=utf-8');
 
 
    function toutf($str) {
        // comment this one and uncomment the following line if you're using SPB!
    	return $str;
 
        //return mb_convert_encoding($str, 'UTF-8', 'ISO-8859-1');
    }
 
    error_reporting(0);
 
    $WP_PREFIX = 'wp_';
 
    $POSTID = 10;
    $COMMENTID = 10;
 
    $SQL_STRING = '';
    $q = new FPDB_Query(array('start'=>0, 'count'=>-1, 'fullparse'=>true), null);
    while($q->hasMore()) {
 
        list($id, $e) = $q->getEntry();
 
        $obj =& new comment_indexer($id);
        $clist = $obj->getList();
        $ccount = count($clist);
        $date = date("Y-m-d H:i:s", $e['date']);
 
 
        $SQL_STRING = "INSERT INTO {$WP_PREFIX}posts (id, post_author, post_date, post_date_gmt, post_content, post_title, post_name, comment_count) ";
        $SQL_STRING .= "VALUES ({$POSTID}, 1, '{$date}', '{$date}', '" . addslashes(toutf(apply_filters('the_content', $e['content']))) . "', '" . 
                            addslashes(toutf($e['subject'])) ."', '";
        $SQL_STRING .= sanitize_title($e['subject']) ."', {$ccount}); \n";
 
        echo $SQL_STRING;
 
        foreach ($clist as $cid)  {
            $c = comment_parse($id, $cid);
            $cdate = date("Y-m-d H:i:s", $c['date']);
            $SQL_STRING = "INSERT INTO {$WP_PREFIX}comments (comment_id, comment_post_id, comment_content, comment_author, comment_date, comment_date_gmt) ";
            $SQL_STRING .= "VALUES ($COMMENTID, $POSTID, '" . /* in questo particolare caso */ addslashes(toutf(apply_filters('the_content', $c['content']))). "', '";
            $SQL_STRING .= addslashes(toutf($c['name'])) . "', '{$cdate}', '{$cdate}' ); \n";
 
            echo $SQL_STRING;
 
            $COMMENTID++;
 
        }
 
 
        $POSTID++;
 
    }
 
?>
感谢:http://blog.shuwo.org/archives/11/

腊月二十九上午走朱水,先至亚东斋贴对子,再走涵东斋贴,再走市内利,下午归,澡本村。夜接送徐兵早,牛绕家稍坐。夜饮徐兵家。正月初一,晨走snl,下午归,晋光家,武出家,虎家,龙家,欢久家。饮酒无多亦不少。2012年1月24日11:59:12补记。
标签: 春节

本站自2011年9月2日以后的日志,将在新博客存在之光http://www.jackboo.cn/blog/上更新,希望大家多多捧场。

之所以要换新博客,是为了写更多的东西,无论大小,有空,有思路,即写之。

2011年9月24日20:43:16。斋517

PM Chat is an open source php based chat program that makes group chatting more easy and flexible with an option to support private group chat

http://sourceforge.net/projects/pmchat/

标签: pmchat

Qumana Blog Editor


Qumana是一款简单易用的离线编辑器,你可以用它来编辑和撰写文章,将它发布到一个或多个博客中。如果你有多个博客也可以实现一稿多投了。呵

Windows Live Writer


Windows Live Writer 是一个桌面博客发布应用软件,它使你的博客内容排布更加合理,更有创意。被人爱称为:微软最有价值的小软件。

w.bloggar


W.bloggar是编辑者与博客(Blog)之间的桥梁,它提供了一些在线编辑器所不具有的功能。

BlogMate


BlogMate 可以作为TextMate 编辑器插件的一个博客发布工具。可以代替WORDPRESS的内置编辑器,BlogMate还可以删除文章,编辑时间标记等。

BlogDesk


BlogDesk 也是一款离线编辑器,它可以有效的管理和优化你的博客系统,如:,MovableType,WordPress, Drupal, Serendipity 和 ExpressionEngine 等。

Bleezer


Bleezer 是一款功能强大的博客发布编辑器,免费。

Post2Blog


Post2Blog 3 是一款免费的带有拼写检查的编辑软件,支持pro-bloggers。

The Zoundry Blog Writer


Zoundry Blog Writer 功能丰富,发布方便快速。

Thingamablog


Thingamablog 是一个支持独立博客的跨平台的离线编辑器,支持cgi/php的web主机或MySQL数据库类型博客。它同时具有FTP、SFTP等功能,将你编辑的文章直接传送到服务器端。

AIRPress


AIRPress是一个基于AIR 技术的博客编辑器,你可以轻松的上传多媒体文件(图片、视频、MP3)等。

======================================================================

英文版: 15+ Alternatives to Your Boring Blog Editor

Desktop-based blog editors

1. Qumana Blog Editor - Qumana is an easy-to-use desktop blog editor, enabling you to write, edit and post to one or more blogs.

2. Windows Live Writer - Windows Live Writer Beta is a desktop application that makes it easy to publish rich content to your blog.

3. w.bloggar - The w.bloggar is an application that acts as an interface between the user and one or more blog(s); in other words, it is a Post and Template editor, with several features and resources that the browser based blog editors do not offer.

4. BlogMate - BlogMate is a free, graphical plug-in (+ a bundle too) for the popular TextMate editor that enables creating and editing blog posts for MetaWeblog-enabled blogs, Twitter, and Jaiku accounts from a floating palette within TextMate.

5. BlogDesk - BlogDesk is totaly free of charge and optimized for the blog systems WordPress, MovableType, Drupal, Serendipity and ExpressionEngine as well as the bloghosters Blogg.de and Twoday.net.

6. Bleezer - Bleezer is a powerful blogging client. And it's free.

7. Post2Blog - Post2Blog 3 is a FREEWARE handy blog editor with live spell-checking support for pro-bloggers.

8. The Zoundry Blog Writer - The Zoundry Blog Writer™ is a full featured editor that makes posting to your blog easier and faster.

9. Thingamablog - Thingamablog is a cross-platform, standalone blogging application that makes authoring and publishing your weblogs almost effortless. Unlike most blogging solutions, Thingamablog does NOT require a third-party blogging host, a cgi/php enabled web host, or a MySQL database. In fact, all you need to setup, and manage, a blog with Thingamablog is FTP, SFTP, or network access to a web server.

10. AIRPress - AIRPress is a rich blog editor based on AIR technology. With AIRPress, you could easily upload media (images, videos, mp3…) without the need of another software or hosting.

Online and browser-based blog editors

11. webpad - webpad is a web-based text editor which gives you access to files from any of the following locations;

  • Your own computer (via file upload)
  • The server that webpad is installed on (via direct file manipulation)
  • Any FTP server (via FTP file operations)
  • Any website (via remote file requests)
  • Popular blogging tools (Blogger.com, MovableType, TypePad, LiveJournal, blosxom, WordPress)
  • Other data sources via a flexible plugin system

12. ScribeFire - ScribeFire (previously Performancing for Firefox) is a full-featured blog editor that integrates with your browser and lets you easily post to your blog. You can drag and drop formatted text from pages you are browsing, take notes, and post to your blog.

13. Xinha Here! Firefox Extension - Xinha Here! is a Firefox extension wrapper for the Xinha HTML editor. It enables WYSIWYG editing in any textarea and text box on any website. Xinha Here! opens a Xinha HTML editor in your browser allowing you to edit the data in a WYSIWYG on any website without copying and pasting to secondary HTML editor.

14. Flock - Flock is a social web browser based on Firefox. It lets you easily post anything on your blog with its Blog Editor.

15. WriteToMyBlog - WriteToMyBlog is a free web based word processor for your Blog. Create Post Entries for your Blog from right here, completely free, no membership required, can Post to multiple Blogs simultaneously, manage your Posts, works with all major Blog programs, and is easy-peasy!

16. Google Docs - Free web-based word processor and spreadsheet, which allow you share and collaborate online.

18. WYSIWYG Plugin For WordPress - This plugin replaces the default WordPress wysiwyg(what you see is what you get) editor with a more advanced version.

17. FCKEditor for WordPress plugin - This plugin Replaces the default WordPress editor with FCKeditor.

phpChatNVid script is based on phpOpenChat and uses the free webcamXp software for video broadcasting.

The script is very easy to install, use and customize to suit your needs. It can be rapidly integrated in any web site.

http://webscripts.softpedia.com/script/Chat-Scripts/phpChatNvid-42116.html

标签: phpChatNVid
1 2 3 4 5 6 ... »