From 5449240c548bb6877923791d02e800c6b25393f5 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Wed, 6 Feb 2013 05:25:35 -0500 Subject: Fixed #9800 -- Allow "isPermaLink" attribute in element of an RSS item. Thanks @rtnpro for the patch! --- docs/ref/contrib/syndication.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/ref') 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. -- cgit v1.3