parse


Description:

public List<FeedItem> parse (FeedChannel feed, unowned Doc* doc) throws Error

Parses the given XML doc, belonging to the given feed, to obtain a list of FeedItem.

Parameters:

this

a FeedParser.

feed

a FeedChannel to be parsed.

doc

XML document extracted from the contents of the feed, which must already been fetched.

Returns:

a list of FeedItem, to be freed when no longer in use, or NULL if anerror occours and throws is set.




2022 vala-language.org