Merge pull request #554 from bibliotechy/430-add-rss-support

First attempt at adding rss support
This commit is contained in:
Mouse Reeve
2021-01-29 08:09:32 -08:00
committed by GitHub
5 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1 @@
{{ obj.pure_content | safe }}

View File

@ -0,0 +1,15 @@
{{ obj.user.display_name }}{% if obj.status_type == 'GeneratedNote' %}
{{ obj.content | safe }}
{% elif obj.status_type == 'Review' and not obj.name and not obj.content%}
rated
{% elif obj.status_type == 'Review' %}
reviewed
{% elif obj.status_type == 'Comment' %}
commented on
{% elif obj.status_type == 'Quotation' %}
quoted
{% endif %}
{% if obj.book %}{{ obj.book.title | safe}}
{% elif obj.mention_books %}
{{ obj.mention_books.first.title }}
{% endif %}