class FeedService (View source)

Methods

Reader
load($url, int $cache = 3600)

Loads a newsfeed object.

array
getPosts(Rss $feed)

No description

Details

Reader load($url, int $cache = 3600)

Loads a newsfeed object.

Parameters

$url
int $cache
  • number of seconds to cache the RSS feed data for

Return Value

Reader

array getPosts(Rss $feed)

No description

Parameters

Rss $feed

Return Value

array