diff options
| author | Simon Charette <charette.s@gmail.com> | 2013-02-06 05:25:35 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-02-06 05:28:05 -0500 |
| commit | 5449240c548bb6877923791d02e800c6b25393f5 (patch) | |
| tree | e9b31639246e08efaaae21fdf7a1ac2a581ebee1 /docs/ref | |
| parent | 2390fe3f4f8f52e24157d79b0c60247207c9716f (diff) | |
Fixed #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item.
Thanks @rtnpro for the patch!
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/syndication.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index 2955d7dad3..65aa7b57b4 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -624,6 +624,18 @@ This example illustrates all possible attributes and methods for a Takes an item, as return by items(), and returns the item's ID. """ + # ITEM_GUID_IS_PERMALINK -- The following method is optional. If + # provided, it sets the 'isPermaLink' attribute of an item's + # GUID element. This method is used only when 'item_guid' is + # specified. + + def item_guid_is_permalink(self, obj): + """ + Takes an item, as returned by items(), and returns a boolean. + """ + + item_guid_is_permalink = False # Hard coded value + # ITEM AUTHOR NAME -- One of the following three is optional. The # framework looks for them in this order. |
