Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am working on a news portal. In this portal have module subscribe news for users of this website. I don't have any idea about subscription.
can any body Please help me?

Thanks & Regards
Posted
Updated 27-Nov-15 13:48pm
v2

1 solution

Although it's all depend on you how the logic for the subscription to be built but you may follow the typical logic that many portals have followed.

1. Have a subscription tab/form/link/section where you can capture information of the visitors of your website. The minimum information you need for subscription is an email id. Other optional information you may like to capture based on your requirement are-
a. Name
b. Country (If you are publishing country specific news)
c. State (If you are publishing state specific news))
d. Language (If your website is multi-lingual)
e. Mailing frequency preference
f. Time preference for getting mails
g. etc.

2. Have a table that captures all these information
3. The subscription can be of two types (minimum) for news kind of websites. Either you can send a news as a mail to all your subscribers as soon as it is published or/and you can send them an hourly/daily/weekly news letter.
4. If you want the news to be sent immediately then you may create a background process which will send these mails to the subscribers as and when a news is published.
3. If you want to send mails like news letters you can create a windows service / or a program that is scheduled to run on specific time of the day.
4. You need to have a table which contains the news letters which you can create or build such a dynamic logic to create themselves.

You can change the logic according to your requirement.

Hope, it helps :)
 
Share this answer
 
v2
Comments
gmhussain007 9-Dec-15 3:11am    
Thank You Mr. Suvendu Shekhar Giri.Thanks for Giving me reply..
i have a question about it. i.e. how i will send News to registered user from my news site autocratically.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900