Atom feed now puts the activity message in title

Originally it used to put the activity type in the message. This gave
no useful information. The user had to open the news item to see what
was going on. Now, the title is the activity's message rendered to html.
Note that this is the same as the content of the news item.

This fixes #481
This commit is contained in:
Boris Bera
2015-07-03 23:25:13 -04:00
parent 3d5e4a4225
commit 4f1208ea98

View File

@@ -16,7 +16,7 @@
<published>@datetimeRFC3339(activity.activityDate)</published>
<updated>@datetimeRFC3339(activity.activityDate)</updated>
<link type="text/html" rel="alternate" href="@context.baseUrl/@activity.userName/@activity.repositoryName" />
<title type="html">@activity.activityType</title>
<title type="html">@activityMessage(activity.message)</title>
<author>
<name>@activity.activityUserName</name>
<uri>@url(activity.activityUserName)</uri>