Skip to content

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

@ajantis

Description

@ajantis

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 } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions