Is it possible to add and RSS Feed into a Group?
I downloaded and edited the RSS Feed component and changed the hook from "newsfeed" to the "Group/Group ID number" (Group/1462).
Well, that didn't work.
Anyone know if this is possible?
It is not possible to directly add an RSS feed into a group by
modifying the hook in the RSS feed component. The hook newsfeed is a
generic identifier for the news feed component and changing it to
Group/Group ID number will not achieve the desired result.
Is this information useful for you or not.?
(Big smile on my face 🙂)...
Thank you Michael, as usual you came to the rescue. I implemented the changes you so eloquently described. (Your an excellent educator).
Bravo! It works just as you said.
Thank you my friend!
Well, to understand the way Ossn hooks are working, let's picture a real world example:
I know a gifted video producer, and aside from his daily routine he agreed to check his incoming mails continously for new jobs.
Thus, I would set up a hook like
ossn_add_hook('joey', 'champion', 'create_a_movie_from_script_33');
I think it's obvious that this can only work if
1. joey exists
2. joey checks his mails as agreed
Or to put it this way: Simply addressing the same job into the blue to someone else like
ossn_add_hook('anyother', 'champion', 'create_a_movie_from_script_33');
will fail - even if script_33 comes included with all necessary details.
In fact, every
ossn_add_hook needs a matching counterpart
ossn_call_hook to look into new tasks and execute them (here it's joey checking his mails :) )
Okay, so before trying to channel something into a Group, we have to grep for a usable
call_hook inside of the Groups component, and in fact there is one:
ossn_call_hook('group', 'widgets', $params);
responsible for adding widgets to the right column. So, using it for your RSS-Feed, means changing your line to:
ossn_add_hook('group', 'widgets', 'com_rss_widget');
It is not possible to directly add an RSS feed into a group by modifying the hook in the RSS feed component. The hook newsfeed is a generic identifier for the news feed component and changing it to Group/Group ID number will not achieve the desired result.