论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Ed O'Connell
Subscribing Unauthenticated Users to Web Content Display Updates
2013年1月23日 下午12:44
答复

Ed O'Connell

等级: New Member

帖子: 8

加入日期: 2013年1月18日

最近的帖子

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
2013年1月23日 下午2:37
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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