Zend Framework

when creating a feed with Zend_Builder channel pubDate could be smatter

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Not an Issue
  • Affects Version/s: 1.0.4
  • Fix Version/s: None
  • Component/s: Zend_Feed
  • Labels:
    None

Description

Imagine I create a feed (RSS) with Zend_Builder from an array, I don't have to set 'lastUpdate' date as it isn't mandatory.
Now if I set a 'lastUpdate' on each entry the main pubDate (=lastUpdate) must be the max timestamp of those used
in the entries.
But by default the Zend_Feed_Builder_Header set the LastUpdate as now()...

Wouldn't be smarter, if not specified it take the max timestamp of the entries ?

Activity

Hide
Wil Sinclair added a comment -

Please evaluate and categorize as necessary.

Show
Wil Sinclair added a comment - Please evaluate and categorize as necessary.
Hide
Pádraic Brady added a comment -

The component already offers a parameter for setting this.

Show
Pádraic Brady added a comment - The component already offers a parameter for setting this.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: