Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Renaming the RSS Feed in the Blog Module

Go to End

5 Posts   2197 Views


Community Member, 7 Posts

18 August 2008 at 3:15pm

I recently installed the blog module for Silverstripe. And, it works really well.

One question though: when I go to the RSS feed for it, the title of the feed is "mysite blog"

That seems like something I can change somewhere, but I can't find it anywhere. Does anyone know?



Forum Moderator, 5523 Posts

18 August 2008 at 3:28pm

Theres 2places where you might need to edit it..

1) You need to open up blog/code/BlogHolder.php and at about line 256 in that there is something like

RSSFeed::linkToFeed($this->Link() . "rss", _t('BlogHolder.RSSFEED',"RSS feed of this blog"));

You can set the text "RSS Feed for the blog" to whatever you want

2) In the rss() method in BlogHolder.php (same file as before) at about line 289 is this

$rss = new RSSFeed($children, $this->Link(), $project . " blog", "", "Title", "ParsedContent");

The bit in bold is the title you are talking about. You can just change that to whatever you want!


Community Member, 7 Posts

19 August 2008 at 7:35am

Thanks a lot! That worked out perfectly.



Community Member, 712 Posts

31 August 2008 at 3:58pm

Edited: 31/08/2008 5:01pm

Note that $project comes from your _config.php, so change the project name from 'mysite' there and it will flow through to the blog rss feed.

However, I think the RSS feed title should be a property of BlogHolder and be configurable from the CMS. There is no reason you can't have multiple blogs on one site and you wouldn't want them to have the same title.

-- ok, so doing that breaks the manifest builder... thats really annoying, everything else seems to work.


Forum Moderator, 922 Posts

31 August 2008 at 7:24pm

Hamish: That sounds like a perfectly acceptable enhancement. A field like "Name of blog" which is editable in the CMS on a per-BlogHolder basis sounds like the way to go.

I've added a ticket for this in our open source tracker: