Solved

Custom written blog engine - how to let people follow?

Posted on 2013-01-31
6
363 Views
Last Modified: 2013-02-05
I've written a custom blog engine and now my client wants to add a "follow" button.  The only thing is, I have no idea how to do that!  Does the follow button just add people to an email list and then they get an email everytime there's a new post?  Or is there some kind of API  I should be using from some established service like Facebook or twitter?

If anyone could point me in the right direction, I'd be grateful.
0
Comment
Question by:theamzngq
6 Comments
 
LVL 13

Accepted Solution

by:
stergium earned 167 total points
ID: 38842754
Hello.
My best guess would be that your client meant facebook and twitter. you can use www.addthis.com code ready to go.
hope that helps
0
 
LVL 16

Assisted Solution

by:Gurpreet Singh Randhawa
Gurpreet Singh Randhawa earned 166 total points
ID: 38842949
Hi, Check this Blog post:

http://support.google.com/blogger/bin/answer.py?hl=en&answer=104226

Always adthis will ad your post and share it with vertain services like facebook, twitter, google+ and others.

And also addthis website offers you the "Follow" buttons too. Just click on follow and then you are done, follow this link to check

https://www.addthis.com/get/follow?utm_expid=65470897-16&utm_referrer=https%3A%2F%2Fwww.addthis.com%2Fget%2Fsharing#.UQuGMaVQFzI

You just need to provide your api names for the services you need to use
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 38844544
If you've written your own custom blog for your client and your client has asked you to add a "follow me" feature, then you should be adding it into YOUR blog, not using an API to some other third party tool or web site.

The follow me is pretty simple to code.  Just have a join table between two users (visitors)..  

Create Table userFollowing :
 user_id   int
 followUser_id int

Of course change the table and column names to make sense for your standards.

Inserting into this table will associate one user to "follow" another user.

Now that's done.  The question is ... what feature do you want to provide to a user following another user?   This is a question that can be asked of your client.

There are a variety ways to implement this.

When someone I am following posts a new entry.. what should happen?

... I will receive an email telling me about it with a link
... Their blog title will appear on my "wall" or home page
... I will go to my page and see a list of people I'm following and their latest updates

Stuff like that..  Once you know how your client wants to implement it,.. it's easy to do
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:theamzngq
ID: 38844986
Great responses, everyone, very helpful.

@gdemaria, the feature isn't for one user to follow another user.  There is only one "user", that admin that is maintaining the blog. The "follow" feature is so that 3rd parties can "follow" the blog on the site, ie, be notified of new posts.  

Your procedural logic suggestion is great, though: when a user clicks "follow", what should happen?  I'll get with the client to more closely determine exactly that.  If they want to be notified via email (for example) when there's a new post, that I can do easily enough.
0
 
LVL 39

Assisted Solution

by:gdemaria
gdemaria earned 167 total points
ID: 38845111
Ok sorry.   That's just as easy though.

All you need is a list of followers with just an email address or user_id if they login.   You can add fields on the record to indicate how they want to be notified (or if they do) so each user can set their own preferences.    Perhaps a weekly digest or an immediate email with each post would be valid options.
0
 
LVL 2

Author Closing Comment

by:theamzngq
ID: 38856603
Thanks for your help everyone.  I have a more clear direction now.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Coldfusion: Two dynamic depending drop down 12 41
Comparing 2 Lists Coldfusion 8 57
Application.cfc - what is the order of events? 4 62
Coldfusion cfscript DELETE function 7 36
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question