Forums / General / search agent, email alert

search agent, email alert

Author Message

stephane francois

Saturday 23 June 2007 3:40:50 am

Hello,
My first post here. Ez i amazing. I'm thinking about creating a website like monster.com based on EZ, but i can't figure out how to allow job seekers to create search agent (receive new offers matching their criterias through e-mail). It's not simple notification, and it's not newsletter either. Did anyone ever do such a thing before ?

stephane francois

Tuesday 26 June 2007 10:17:10 am

Anyone ?

Heath

Tuesday 26 June 2007 11:55:58 am

I think a system like you describe would be useful, yet I've not heard in passing of such a thing to date (at least not publicly).

It would seem like a fair amount of development.
While the surrounding components would seem simple enough.

The saving of a search in the way you describe to use again later seems more complicated. I think it might be most powerful when combined with more powerful search engine backends (rather than the current php implementation) yet ... this alone would not be enough.

Perhaps a template which queries eZ content objects created to store the user submitted agent match criteria might be a simple start to building a proof of concept for which a php developer could create the automated agent. This is a gross simplification as you don't pickup a monster.com ready to go....

Still with eZ there is nothing we can not create.

Have you written any functional requirements for your solution you would be willing to share?

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

André R.

Tuesday 26 June 2007 12:01:41 pm

Hi, I don't think I've seen something like this before.

The easiest would probably be to use newsletter with a custom cronjobs that only send out emails if there are more then 2 new jobs for instance.

But could also be solved with a cronjob (script), fetching all new content of type class 'job', and generate the email for it. Then fetch all users with attribute 'send_new_jobs_on_mail' set to true, and send out the pre generated mail to them one at a time.

fetching from php example:
http://ez.no/community/forum/developer/fetchobjecttree_not_sorting_correctly/(offset)/0#msg133910

examples of cronjobs are on the contribution are of this site and the cronjob folder in eZ Publish.

EDIT: seems like you need to loop true every user to see what kind of jobs they want and create the mail for them based on that if there are any new mail in that categories.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

stephane francois

Tuesday 26 June 2007 2:34:40 pm

Hi,
thanks for your reply. No Heath, i haven't done any specification yet, but if i do, i'd be glad to share it.
André, you're right, i would need to loop on every user to check witch job matches their criteria.
The thing is i'm a newbie, i've never made any extension before, and i think it'd be a bit hard to start with that.
What do you think about this solution :
- one node for each job category (when someone tryes to publish an offer, it automaticly is stored in the corresponding node)
- users are allowed to create notifications for each node, so they receive notifications for each new offer published.
?