diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt
index e66bb46..a0f1d7c 100644
a
|
b
|
This example illustrates all possible attributes and methods for a
|
388 | 388 | |
389 | 389 | def link(self, obj): |
390 | 390 | """ |
| 391 | # Takes the object returned by get_object() and returns the link |
| 392 | # to the HTML version of the feed as a normal Python string. |
| 393 | """ |
| 394 | |
| 395 | def link(self): |
| 396 | """ |
| 397 | Returns the link to the HTML version of the feed as a normal Python |
| 398 | string. |
| 399 | """ |
| 400 | |
| 401 | link = '/blog/' # Hard-coded link. |
| 402 | |
| 403 | # FEED_URL -- One of the following three is optional. The framework |
| 404 | # looks for them in this order. |
| 405 | |
| 406 | def feed_url(self, obj): |
| 407 | """ |
391 | 408 | # Takes the object returned by get_object() and returns the feed's |
392 | 409 | # link as a normal Python string. |
393 | 410 | """ |
394 | 411 | |
395 | | def link(self): |
| 412 | def feed_url(self): |
396 | 413 | """ |
397 | 414 | Returns the feed's link as a normal Python string. |
398 | 415 | """ |
399 | 416 | |
400 | | link = '/foo/bar/' # Hard-coded link. |
| 417 | feed_url = '/blog/rss/' # Hard-coded link. |
401 | 418 | |
402 | 419 | # GUID -- One of the following three is optional. The framework looks |
403 | 420 | # for them in this order. This property is only used for Atom feeds |