Mercurial > libervia-web
diff src/server/server.py @ 879:2e0e9cf9efb4
blog (atom feed): fixed atom handling:
- atom generation code moved from backend to Libervia
- replaced hardcoded urls by urls based on request path
- added xmpp: uri as alternate links
- feed id was not unique (it was the node), now it is the quoted xmpp uri
- atom:updated was using current time which is wrong, now take the more recent item "updated" value
- link elements where missing attributes (e.g.: type)
- added correct http(s) links for each items
- microblog items (without title) now use an abstract of content as title
- use 20 as max_items for atom feeds (may change in the future)
- removed bad use of encode
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 09 Mar 2016 17:33:00 +0100 |
parents | d9b98b8a1847 |
children | 6bdee34fa2f4 |