Feed Tools 示例代码

2015-08-17 0 522
Feed Tools 示例代码
  require 'feed_tools'

  slashdot_feed = FeedTools::Feed.open('http://www.oschina.net/code/rss')
  slashdot_feed.title
  => "OSchina"
  slashdot_feed.description
  => "News for nerds, stuff that matters"
  slashdot_feed.link
  => "http://www.oschina.net/"
  slashdot_feed.items.first.find_node("slash:hitparade/text()").to_s
  => "43,37,28,23,11,3,1"

遇见资源网 ruby Feed Tools 示例代码 http://www.ox520.com/16456.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务