Log in

View Full Version : Does the rss poster robot have templates and hooks?


Alfa1
04-10-2008, 12:32 AM
Does the rss poster robot have templates and hooks? If so, then please explain the names of the templates or/and any hooks that are available.

Alfa1
08-29-2008, 10:32 PM
bump..

Lynne
08-30-2008, 02:02 AM
It's a scheduled task. The script that gets run is /includes/cron/rssposter.php I looked and saw no hooks or templates, but you might want to take a look at the script yourself. (I think it uses the datamanager to post and there are three other scripts in the includes area which may or may not have hooks/templates.)

Alfa1
09-09-2008, 09:24 AM
Thank you. If anyone has ideas how to use template hooks to add new functions to the poster robot, then please let me know.

Alfa1
10-21-2008, 01:10 PM
I want to expand the posterrobot with some functions. So either the whole file gets a rewrite or I would have to add hooks or reference to another file. How would I go about this?

Lynne
10-21-2008, 02:18 PM
It's up to you which way you want to do it. You can either add your own hooks into that file, or just add your own code into the file. It's a matter of what you like better. For instance, I wrote a tracker integration product for our site and had to insert some code into a file where there was no hook. I choose to add a hook so I could have all the code right there in my admin panel to change. However, when I choose to make a change in our external.php file, since it was for a single purpose and not related to any plugins/products, I decided to just change the file.