阅读使用jQuery的RSS提要 [英] Reading RSS feed using jQuery

查看:112
本文介绍了阅读使用jQuery的RSS提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用自己的RSS源和jQuery展示我的最新的StumbleUpon项目的标题。 我的作用是:

I'm trying to show the title of my latest stumbleupon item using their RSS feed and jquery. The function I have is:

function get_stumbleupon() {
	$.get("http://rss.stumbleupon.com/user/fredkelly/", function(data) {
		alert(data.title);
	}, "xml");
}

它返回什么...我只是单纯的想获得的信息数位大约在最新进的项目 - ?我怎么能做到这一点。

Which returns nothing... I just simply want to get a few bits of info about the single latest item in the feed - how can I do this?

推荐答案

下面是关于如何做跨域Ajax和JQuery的教程

这篇关于阅读使用jQuery的RSS提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆