49 | | * XML exports (such as RSS feeds) include tagged messages as linked resources. |
| 49 | * XML exports (such as RSS feeds) include tagged messages as linked resources: |
| 50 | * S3ResourceController has a hook for a function that retrieves all message URLs for a resource: s3xrc = s3xrc.S3ResourceController(..., messaging=<function>) |
| 51 | * This function takes the the resource name (=full tablename incl. prefix) and the record ID as arguments, and returns a list of URLs to messages for this resource and user, where each list item is (url, timestamp), with timestamp refering to the message timestamp |
| 52 | * The XML exporter inserts one element <message url="..." unread="True/False"/> per message and resource element as child of the <resource> tag |
| 53 | * This can be used for any feeds that are produced of the XML exporter |
| 54 | * Requires: make RSS feeds a XML export template (which it is not up to now) |
| 55 | |