Skip to content

Commit 5a08515

Browse files
committed
fix rss feed item guid
Signed-off-by: mcnesium <[email protected]>
1 parent 067b37e commit 5a08515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/rss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<atom:link href="<?php p($_['rssLink']); ?>" rel="self" type="application/rss+xml" />
3535
<?php foreach ($_['activities'] as $activity) { ?>
3636
<item>
37-
<guid isPermaLink="false"><?php p($activity['activity_id']); ?></guid>
37+
<guid isPermaLink="false"><?php p($_['rssLink']); echo "?id="; p($activity['activity_id']); ?></guid>
3838
<?php if (!empty($activity['subject'])): ?>
3939
<title><?php p(str_replace("\n", ' ', $activity['subject'])); ?></title>
4040
<?php endif; ?>

0 commit comments

Comments
 (0)