Ticket #169 (closed enhancement: fixed)

Opened 18 months ago

Last modified 18 months ago

No API access to added RSSFeedItems into stubRSSFeedGenerator

Reported by: prema Owned by: mikey
Priority: major Milestone: 0.11.0
Component: Other Version: SVN-trunk
Keywords: Cc:

Description

The only way to check the feed content of the generator is to render the feeds into a xml structure. For a better manipulation to already pushed FeedItems? and also for a better test scenario, it would be huge helpful, to access thoose items directly.

Change History

Changed 18 months ago by mikey

  • status changed from new to assigned
  • milestone set to 0.11.0

A new method getItems() will be added to net::stubbles::xml::rss::stubRSSFeedGenerator which will return a list of all net::stubbles::xml::rss::stubRSSFeedItem instances added to the generator instance.

A new method getItem($pos) will be added to net::stubbles::xml::rss::stubRSSFeedGenerator which will return the item at given position. If no item at given position can be found the return value will be null. To check if an element at a given position is present the method hasItem($pos) will be added which returns true or false depending on whether the item is present.

Changed 18 months ago by mikey

  • status changed from assigned to new

Implemented with r1823.

Changed 18 months ago by mikey

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.