Blog Feed handler

Prints the various supported feeds using the FeedCreator library.

package net.nehmer.blog

 Methods

_handler_feed (mixed $handler_id, array $args, array $data)

Shows the autoindex list.

Nothing to do in the handle phase except setting last modified dates.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_index (mixed $handler_id, array $args, array $data)

Shows a simple available-feeds page.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_on_initialize ()

Maps the content topic from the request data to local member variables.

_show_feed (mixed $handler_id, array $data)

Displays the feed

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_index (mixed $handler_id, array $data)

Displays the feeds page

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_create_feed ($handler_id)

Creates the Feedcreator instance.

Parameters

$handler_id

 Properties

 

Array $_articles

The articles to display
 

\midcom_db_topic $_content_topic

The content topic to use
 

\midcom_helper_datamanager2_datamanager $_datamanager

The datamanager for the currently displayed article.
 

\UniversalFeedCreator $_feed

The de.bitfolge.feedcreator instance used.