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!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | atom_module_contempalte_integration.patch | 660 bytes | jrglasgow |
Comments
Comment #1
jrglasgow commentedhow are you getting your Atom feed?
Comment #2
eagereyes commentedI'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.
Comment #3
jrglasgow commentedhook_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.
Comment #4
eagereyes commentedBeautiful, 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.
Comment #5
deekayen commentedcommitted
Comment #6
jrglasgow commented@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.