Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Custom written blog engine - how to let people follow?

Posted on 2013-01-31
6
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Accepted Solution

by:
stergium earned 668 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 664 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
Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

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

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
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.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

715 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