Glad you found the spot.  This does work to some extent, but it creates new 
entries for each revision.  I am not sure if that's what we want or not.  It 
lets people subscribed to the feed see all the changes to a blog post, and in 
some cases that might be useful but I think in most cases people just want the 
final version in the feed.  They don't want people to see the earlier versions.

To do that, I think the `Feed.post` method will have to be refactored so to 
create a new `Feed.update` method.  Set it up so that most of the logic for the 
permission checks and values are shared (perhaps with a new helper method).  
And then `post` would create a new item and `update` would update an existing 
one (fetch it with the "ref_id" field probably).  Then in the blog code, you 
can call `Feed.post` for new items and `Feed.update` for existing ones.

Also, if you save something as a draft, and then edit it and keep it as a 
draft, it is posted to the rss feed but it should never do that if its a draft.

And an additional thing is that the original description requests that the feed 
items are removed if a blog post is deleted.


---

** [tickets:#4153] RSS feed for blog not showing revisions or deleted posts**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Fri May 04, 2012 02:24 PM UTC by Anonymous
**Last Updated:** Sun Jan 31, 2016 02:36 AM UTC
**Owner:** Pranav Sharma


*Originally created by:* roggan87

Hi!

Overall I really like the new interface of SourceForge :) I've recently 
discovered something I'd consider a bug. Please correct me if I'm wrong.

I've installed the "blog tool" on our project. The intention is to also use the 
RSS feed to fetch the blog posts to our website. The problem is that if I edit 
posts or delete them, it doesn't affect the RSS feed. Is that because of the 
design of RSS feeds, or simply because that feature is not yet implemented?

Thanks,
Robert


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to