Opened 15 years ago
Last modified 10 years ago
#328 closed enhancement
Atom feed thumbnails — at Initial Version
| Reported by: | maiki interi | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | programming | Keywords: | kuneco |
| Cc: | Parent Tickets: |
Description
Not entirely on topic with #658 or #659, but related.
My expectation was for the atom feed to contain the thumbnail of the image (or equivalent of other media types). This is important to me, as I want to widgetize/aggregate the feed on other sites.
I found two places where feeds are generated, mediagoblin/user_pages/views.py and mediagoblin/listings/views.py:
for entry in cursor:
feed.add(entry.get('title'),
entry.get('description_html'),
content_type='html',
author=request.matchdict['user'],
updated=entry.get('created'),
url=entry.url_for_self(request.urlgen))
I am not sure what the thumbnail is, but I am betting it is a summary or maybe content (see the werkzeug atom docs). I think this is important, even if we are moving to make it a full ActivityStream, since the federation I have in mind is something akin to a dashboard view of new photos posted on my friends' sites.
So, can we get a thumbnail in there? =]
