Hi, I love this module, it saves me a lot of time, and it's great to get my RSS feed to look exactly like I want. The only problem is that now, the Atom feed is not styled the same way. Any chance that there could simply be a checkbox saying "also affect Atom" that applies the same template to the Atom output? I don't think it makes any sense to have different templates for RSS and Atom, but being able to style all feeds consistently would be excellent!

Comments

jrglasgow’s picture

how are you getting your Atom feed?

eagereyes’s picture

I'm using the Atom module. I guess this could also be a request with that module, to tie in with this one - but I don't know how much work is needed on each side.

jrglasgow’s picture

Project: Content Templates (Contemplate) » Atom
StatusFileSize
new660 bytes

hook_nodeapi() is called a number of times while loading the node. Content Templates makes changes in the 'alter' phase of loading the node.

Looking at the code in atom.module it looks like they are loading the node, and running node_invoke_nodeapi() on 'view', so modules can add things to the node view. But it is not calling the node_invoke_nodeapi() on 'alter' to allow modules, like Content Templates, to alter the node.

This patch will add that functionality to the Atom module.

eagereyes’s picture

Beautiful, thanks! So this means you can add that functionality to contemplate? Because I just tried it, but the RSS styling doesn't seem to appear in the Atom feed yet.

deekayen’s picture

Status: Active » Fixed

committed

jrglasgow’s picture

@eagereyes it means that it can be done with the patch for atom.module which was just committed. Take a look at the Atom module in CVS. deekayen has just commited the patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.