BlogSender

所属分类:Java编程
开发工具:Java
文件大小:6437KB
下载次数:3
上传日期:2009-10-12 14:54:09
上 传 者lu_yong_sheng
说明:  博客系统,用于查看或些日志用的,主要是用Java编写的
(Blog system for viewing or use these logs, the main is written in Java)

文件列表:
BlogSender\.project (386, 2009-03-06)
BlogSender\.classpath (1223, 2009-08-03)
BlogSender\articleid.txt (7, 2009-03-06)
BlogSender\blogerid.txt (4, 2009-03-06)
BlogSender\corpspider.log (904, 2009-03-06)
BlogSender\corpspider.log.2009-02-23.log (26992, 2009-03-06)
BlogSender\corpspider.log.2009-03-04.log (102018, 2009-03-06)
BlogSender\run.sh (742, 2009-03-06)
BlogSender\bin\CVS\Root (39, 2009-07-06)
BlogSender\bin\CVS\Repository (46, 2009-07-06)
BlogSender\bin\CVS\Entries (160, 2009-08-03)
BlogSender\bin\run.sh (742, 2009-03-06)
BlogSender\bin\log4j.properties (1836, 2009-03-06)
BlogSender\bin\conf\snsConfig.xml (186, 2009-07-08)
BlogSender\bin\conf\db.properties (389, 2009-03-06)
BlogSender\bin\conf\config.xml (329, 2009-03-06)
BlogSender\bin\conf\chinaWiConfig.xml (134, 2009-03-06)
BlogSender\bin\com\tixa\blogsender\config\SnsConfig.xml (467, 2009-03-25)
BlogSender\bin\com\tixa\blogsender\config\Config.xml (669, 2009-03-06)
BlogSender\bin\com\tixa\blogsender\config\ChinaWiConfig.xml (459, 2009-03-06)
BlogSender\bin\com\tixa\blogsender\config\SnsConfig.class (768, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\config\Sender.class (744, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\config\ConfigReader.class (2714, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\config\Config.class (799, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\config\ChinaWiConfig.class (756, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\Xml2ObjectUtil$1.class (1563, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\Xml2ObjectUtil.class (6923, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\WebSiteUtil.class (1722, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\StringUtil.class (19206, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\RegexUtil.class (12151, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\ImageContentUtil.class (5626, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\util\FileUtil.class (2268, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\sendif\SnsSendImpl.class (3771, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\sendif\SendIf.class (296, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\sendif\ChinaWiSendImpl.class (8882, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\db\DBConnectionManager.class (7635, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\db\DBConnectionManager$DBConnectionPool.class (3407, 2009-08-03)
BlogSender\bin\com\tixa\blogsender\BlogerSender.class (6468, 2009-08-03)
... ...

功能: 将抓取下来的博主和博文发送到别的系统比如chinawi,sns 使用方法: 每新增一个目标系统添加一个实现com.tixa.blogsender.sendif.SendIf接口的类, 并在conf/config.xml里面加上这个类如: chinawi com.tixa.blogsender.sendif.***WiSendImpl 里面的com.tixa.blogsender.sendif.***WiSendImpl就是发送到chinawi的接口的实现类 这个接口是把文章发送到某个系统的接口 public void sendArticle(BlogArticle article, BlogBloger bloger) 这个接口是把博主发送到某个系统的接口 public void sendBloger(BlogBloger bloger) 启动,直接运行run.sh,后面两个参数说明 第1个参数是操作内容 1:发送博客主,2:发送博客文章 第2个参数是每次操作的最大数量

近期下载者

相关文件


收藏者