Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Ed O'Connell
Subscribing Unauthenticated Users to Web Content Display Updates
January 23, 2013 12:44 PM
Answer

Ed O'Connell

Rank: New Member

Posts: 8

Join Date: January 18, 2013

Recent Posts

I am working on a requirement to allow unauthenticated users to subscribe to a particular piece of content. That content is a simple structure/template which allows content admins to change some text and icons in order to indicate the status of particular services at my institution.

A co-worker is developing a service using service builder that will accept email addresses and store them, and then also handle the sending of mail.

I have to figure out how to:

1) Allow users to enter their email and submit it to the database.

and

2) Trigger the send mail service when the content is updated.

For the moment I am mostly asking about 2) Triggering the service.

If I can find a way to post to the service URL on the publish event, I think I should be able to do this. But I do not know how to listen for that event. Is there something obvious I am missing. Has anyone else had to do anything remotely similar with Web Content Display?

I realize there may be other alternatives, but at the moment I am limited to working inside these constraints. I did, for instance, read something about the PubSub feature of Open Social, but Open Social is not enabled on our liferay instance.

I am working in LR 6.1

Any ideas?

Thanks so much.
Hitoshi Ozawa
RE: Subscribing Unauthenticated Users to Web Content Display Updates
January 23, 2013 2:37 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Check what liferay is doing with RSS feeds. It just set up a cron schedule which periodically checks for updates and send the feeds.