Just a place holder. Since it's finally been fixed, I'll try to get a conversion going soon.
There's also a split patch by Crell that needs to be settle first.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | agg_1.patch | 31.73 KB | eaton |
| #1 | tplify_aggregator_1.patch | 31.73 KB | dvessel |
Comments
Comment #1
dvessel commentedThis one was really difficult. Every bit of html or the feeds markup was moved into themable functions. The feed functions were not converted into templates, only theme functions. I'd say that's a bug.
A couple of functions were changed and moved around. My head is hurting so I'm not in the best state to try and explain. I tested it throughly and it's darn solid.
Please review.
Comment #2
senpai commentedI have the patch installed, and am looking for something to test, but I can't figure out what the original problem was. Help?
Comment #3
senpai commentedAssigning it to myself so i can test the theming functions.
Comment #4
eaton commentedan /em had been swapped with an em tag, resulting in eighty-jillion instances of italicization. Other than that, I ran it through its paces and it appears to be fine.
Comment #5
dvessel commentedThat didn't sound right so to clarify, the rss and ompl feed functions were moved into themable functions and not to templates. So, the hard codedness was a bug and this patch fixes it.
The other parts for generating the feeds pulled its data from a form. Very hackish so a new function "aggregator_feed_items_load" was created just to generate the feeds outside the form function.
A wrapper template is also used. All output is wrapped in this. Previously a div with the id of "aggregator" was repeated in many functions and hard coded.
A handful of functions were renamed for clarity, this should not affect anything else.
And thanks Eaton, Senpai for reviewing.
Comment #6
dvessel commentedAny objections on the changes? I'm so tempted to RTBC this..
Comment #7
senpai commentedNo theming issues to report. CSS changes, node.tpl changes, and such all work as advertised. I did, however, see a couple of PHP notices while adding new feeds to aggregator module during my testing with this tplify_aggregator_1.patch applied.
Should this become a new issue for the module?
Comment #8
senpai commentedChecked again on a fully up-to-date HEAD, and no Notices, so I'm RTBC this one.
Comment #9
gábor hojtsyThanks for the patch, committed!
Comment #10
(not verified) commented