博文

搜狐博客下载程序(2008-08-28 21:33:00)

摘要: 搜狐博客下载程序 经常查看博客,一页一页的看,很不方便。我就在考虑如何把喜欢的博客通通下载到本地,下载别人的博客可以慢慢阅读,下载自己的博客可以很好的备份,避免博客服务终止的时候自己的文章不知着落。出于这样的需求我使用 VB  编写了搜狐博客的下载程序。 下载程序分三大部分:1.活的所有博文的链接页面。2.提取博文链接。3.下在博文。 例如:图库999 博客 http://tuku999.blog.sohu.com/的日志列表的页面是http://tuku999.blog.sohu.com/entry/,我使用 Inet 控件来打开这个 URL,获得页面的博客链接部分的源文件如下。 <div class="item">   <div class="item-top"></div>   <div class="item-title">     <h3>2008-08-25&nbsp;|&nbsp;<a href="http://tuku999.blog.sohu.com/98151288.html" target="_blank">金发女郎的诱惑 </a>     </h3>     <div class="item-label">            <span id="itemId_98151288" class="itemOpr"></span>     </div>     <div class="clear"></div>   </div>     <div class="item-info">     &l......

阅读全文(7532) | 评论:1