helpers/feed – Kohana API 2.3 Documentation

system/helpers/feed.php

Class: feed_Core

class feed_Core

Feed helper class.


Methods

feed_Core :: parse

public static function parse

Parses a remote feed into an array.

Parameters:

string feed
remote feed URL
integer limit
(int 0) item limit to fetch

Return: array


feed_Core :: create

public static function create

Creates a feed from the given parameters.

Parameters:

array info
feed information
array items
items to add to the feed
format
(string rss2)

Return: string