More RssFeed POD.
This commit is contained in:
parent
0f73a20a03
commit
35aaf1a954
1 changed files with 29 additions and 6 deletions
|
|
@ -252,12 +252,35 @@ sub exportAssetCollateral {
|
||||||
|
|
||||||
=head2 getRssFeedItems ()
|
=head2 getRssFeedItems ()
|
||||||
|
|
||||||
This method should throw an exception if it's not overridden. Its intention is
|
This method needs to be overridden by any class that is using it. To ensure
|
||||||
to be overridden by whatever class is using it and should return an array
|
this, it will throw an exception.
|
||||||
reference of hash references. Each hash reference should contain at minimum a title,
|
|
||||||
description, link, and date field. The date field can be either an epoch date, an RFC 1123
|
It returns an array reference of hash references. The list below shows
|
||||||
date, or a ISO date in the format of YYYY-MM-DD HH:MM::SS. Optionally specify an
|
which ones are required, along with some common keys which are optional.
|
||||||
author, and a guid field.
|
Other keys may be added, as well.
|
||||||
|
|
||||||
|
=head3 Hash reference keys
|
||||||
|
|
||||||
|
=head4 title
|
||||||
|
|
||||||
|
=head4 description
|
||||||
|
|
||||||
|
=head4 link
|
||||||
|
|
||||||
|
This is a url to the item.
|
||||||
|
|
||||||
|
=head4 date
|
||||||
|
|
||||||
|
An epoch date, an RFC 1123 date, or a date in ISO format (referred to as MySQL format
|
||||||
|
inside WebGUI)
|
||||||
|
|
||||||
|
=head4 author
|
||||||
|
|
||||||
|
This is optional.
|
||||||
|
|
||||||
|
=head4 guid
|
||||||
|
|
||||||
|
This is optional. A unique descriptor for this item.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue