From ben.nospam at smoothify.com Wed Jan 10 13:53:07 2007 From: ben.nospam at smoothify.com (Ben Osman) Date: Wed, 10 Jan 2007 13:53:07 +0100 Subject: [COREblog-en] RSS feeds for categories - solution Message-ID: I noticed Pupeno asking for this on IRC I've been using this on my blog to have RSS feeds for all the categories for a while and posted to Atsushi. Make sure you try this on your development server first - especially if appyling to an existing blog. you need to replace the CoreBlog2/content/coreblogcategory.py with the attached file. then install CoreBlog2 as usual, setting up your categories. Then assuming you have syndication enabled, go to each category and activate the syndication for it - then the RSS feed should be accessible via category/RSS Ben -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: coreblogcategory.py Url: http://postaria.com/pipermail/coreblog-en/attachments/20070110/cad35818/attachment.diff From welter at betabug.ch Wed Jan 10 15:01:36 2007 From: welter at betabug.ch (Sascha Welter) Date: Wed, 10 Jan 2007 15:01:36 +0100 Subject: [COREblog-en] RSS feeds for categories - solution In-Reply-To: References: Message-ID: <20070110140136.GC22755@betabug.ch> (Wed, Jan 10, 2007 at 01:53:07PM +0100) Ben Osman wrote/schrieb/egrapse: > I noticed Pupeno asking for this on IRC > > I've been using this on my blog to have RSS feeds for all the categories > for a while and posted to Atsushi. > > Make sure you try this on your development server first - especially if > appyling to an existing blog. > > you need to replace the CoreBlog2/content/coreblogcategory.py with the > attached file. For COREBlog 1: http://betabug.ch/blogs/ch-athens/502 No need for any changes to .py code, just a copy-and-change of one dtml method in the ZMI (and a change for the "categories" module). Takes 10 minutes I'd say. Ben, for most programmers it's easier when you post a diff only, much shorter and easier to spot what has changed. Regards, Sascha