Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoMDTaggingService that finds and processes content with auto tags attached #20

Open
ajantis opened this issue Dec 23, 2012 · 0 comments

Comments

@ajantis
Copy link
Member

ajantis commented Dec 23, 2012

I suggest to create it as a separate Lift Actor. It schedules messages for himself every N(e.g. 5) minutes.
A message indicates that we need to go to C3 and search for documents with special "x-s4-meta-auto" tag attached. Then it gathers these docs, extracts owner id from their meta and send a notification to owner.
Main idea is to indicate to owner that he has a document with tags auto extracted and he need to approve them .(so notification will have a link to this doc basically).

https://www.assembla.com/spaces/liftweb/wiki/Comet_Support

example of liftActor:

object AutoMDTaggingService extends LiftActor { ActorPing.schedule(this, Message, 5000L) override def lowPriority : PartialFunction[Any,Unit] = { case Message => { // do some processing: retrieve documents from c3 ActorPing.schedule(this, Message, 5000L) // schedule another message } } }

@ghost ghost assigned serjk Dec 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants