jfeed

Does JFeed support RSS images?

﹥>﹥吖頭↗ 提交于 2020-01-02 20:11:09
问题 I've had a look at JFeed's readme and it doesn't mention anyway to get to an RSS item's image: JFeedItem properties * item.title * item.link * item.description * item.updated * item.id Does anyone know a way to parse these images? 回答1: Short answer " No ". There is no default jFeed support for "image" access for RSS (or "icon"/"logo" access for ATOM). That said you could always extend the library to support feed images. For example in jrss.js you could add: var image = jQuery('image', xml).eq

Trying to get content:encoded with jfeed

﹥>﹥吖頭↗ 提交于 2019-12-25 11:49:12
问题 I can get a successful response with the RSS I am trying to pull using jfeed, however, the thing I really want is the content. [content:encoded] I need this so I can grab the first image from each post. I figured it would be easy to update jfeed to do this, but nothing I try seems to get it. The most obvious attempt was to add: item.content = jQuery(this).find('content\:encoded').eq(0).text(); but this returns an empty string. I'd really appreciate a push in the right direction, thanks all!

Styling RSS feeds using jquery mobile

 ̄綄美尐妖づ 提交于 2019-12-12 04:25:44
问题 I am writing an iPhone application with PhoneGap. I'm trying to parse a Facebook RSS Feed and use jFeed to do so. I get the feed, and I can display it to the user. However, when it comes to styling the RSS Feed to make it look good (using JQuery Mobile CSS attributes) it doesn't take into account the attributes (ul and li markers). Is there a way to style the RSS Feed using JQuery Mobile? Here is the code I am using (index.html) : <!DOCTYPE html> <html> <head> <title>BDA Audencia</title>