This is the second of two issues I have with writing my plugin...
I need to set a hook / action up to trigger only on posts to a specific category.
Since these posts would have a very specific maximum length, would it be easier to:
Setup the plugin's admin system to accept these posts directly, assigning them to the right category, and acting on them directly as part of it's code to put them into the DB...
Or
Set a hook or action up to trigger when a post is submitted, then have the function that is triggered test to see if the post is in the right category before acting on it, or ignoring it if it isn't?
In the end, I want the posts to end up being able to be displayed like any other WP post, as well as part of the RSS feeds, etc, but I also want special code triggered that will work in concert with an external system to relay those posts to another setup.
(And for those who ask, no, RSS isn't a viable option for the relay, even if you just pulled that specific category, there is way too much work to do for RSS to be usable in this matter, the work has to be handled by PHP for it to get done, as each post will trigger a large amount of interaction between WP and the external system in order for both to perform their respective functions.)