Journal

Add Feedburner to Expression Engine

Posted by Hyun on March 29th, 2007

This is how I incorporated Feedburner with Expression Engine. I feel very confident in using Feedburner as my main feed distributor due to their growth in popularity and they keeping adding new great features like subscribe by email. I don't see Feedburner going under anytime soon.


Ok, let's get dirty and dive into how to set up your feed in your EE powered site. Here are the easy steps to follow.

1) The default RSS template that comes with EE is not formatted well for text breaks and the images when viewed in the feed reader. You will have to adjust the codes to display properly in any feed reader. To help with this matter, I found a great article by Sue Crock from EEHowto.com where she revised the codes so that the text have the proper breaks and the images display properly in the feed reader. Go visit her site to copy the codes.

2) Create a new rss template in EE CP. I titled my template rss_2.0 because the codes are based on RSS 2.0 but you can ultimately title it whatever you like. Also, make sure the template you create is set to RSS page in the "Template Type" pull down menu options. Then copy the code from EEHowto.com in your blank template you just created.

3) Now, let's tweek Sue's codes to meet your needs. Find this code in the beginning of the codes.

{assign_variable:master_weblog_name="default_site"}
{exp
:rss:feed weblog="{master_weblog_name}"

Since I only want the Journal ("journal" weblog) and the News ("news" weblog) sections to be fed, I changed the code to:
{assign_variable:master_weblog_name="journal|news"}
{exp
:rss:feed weblog="{master_weblog_name}"
Update the temple.

4) In your head area of your XHTML file, add:
<link rel="alternate" type="application/rss+xml" title="RSS" href="{path={my_template_group}/rss_2.0}" /> 

Of course, you would have to change "my_template_group" to your group name. I placed this code below the stylesheet link. Update your template.

5) Then go to Feedburner's website. Type in your website's url starting with http:// and submit. You will be asked to register and just simply follow the very easy instructions.

6) Once you obtain the feed address from Feedburner, go back to you head area of your template and change the code from
<link rel="alternate" type="application/rss+xml" title="RSS" href="{path={my_template_group}/rss_2.0}" /> 

to

<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/id_given_by_feedburner" /> 

Of course, you have to replace "id_given_by_feedburner" with whatever ID you got from Feedburner. Most likely your ID will be same as the name of your page title.

7) Lastly, hyperlink all the feed links or feed banner to http://feeds.feedburner.com/id_given_by_feedburner on your website pages. That's it, Feedburner will do the rest!

Once the user clicks on your hyperlink to subscribe to your feed, they will get prompted to this page (see below). Look at all the feed readers it supports! Also, Feedburner makes your site compatible to Atom based readers as well. It is a free service for 1 feed link and has a basic stat to see how many people are subscribing to your feed. For multiple feed links, you would have pay a monthly fee and you have access to much more advanced statistical information. As for me, I am a simpleton. I am pretty happy with the basic set-up I have and will consider to upgrade in the future if I have a reason to upgrade. Happy feeding!

image




Comments

gravatar

1

Vianne Idony | August 29th, 2009 at 07:24 PM

I’ve been developing two relatively large websites (which I will showcase in a few weeks) using a new CMS I now hip to: Expression Engine.  Expression Engine (formally known as pMachine) developed by Ellis Labs is a CMS that from my experience is a very flexible, easy to use and learn, fast, and highly versatile.
water power car


gravatar

2

chennai Social Media Optimaization company | August 31st, 2009 at 07:46 AM

Hi,
FeedBurner makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers…


gravatar

3

Allan White | September 17th, 2009 at 06:47 PM

I think you mean Sue Crocker.

Great article, thanks!


gravatar

4

jack | October 25th, 2009 at 11:30 AM

I found a great article by Sue Crock from EEHowto.com where she revised the codes so that the text have the proper breaks and the images display properly.
answering service outsourcing


gravatar

5

mike | October 30th, 2009 at 06:01 PM

I titled my template rss_2.0 because the codes are based on RSS 2.0 but you can ultimately title it whatever you like.Second Hand Cars


gravatar

6

Animated Layouts | December 5th, 2009 at 01:29 PM

How do I change my WordPress “Fadtastic” template to delete the “Subscribe via RSS” widgit?
Animated Layouts


gravatar

7

Facebook Layouts | January 2nd, 2010 at 07:58 AM

A feed burner probably useful for updating for received content and make it easier for us and thanks for sharing your thoughts to us….


gravatar

8

E-Commerce Portland OR | February 8th, 2010 at 11:59 AM

Thanks for taking the time to post such a detailed and informative article. It has given me a lot of inspiration and I look forward to more like this in the future.
E-Commerce Portland OR


gravatar

9

iPhone app developer | March 5th, 2010 at 07:55 AM

This is truly insightful information! Thanks a lot for the post.


gravatar

10

Andrew | June 10th, 2010 at 06:49 AM

I love the circumstances cookies idea, I’d comparable to realize my personal with some carefully thought out fortune biscuits! Nice estimates thanks.
montreal escorts


gravatar

11

Ronald | July 31st, 2010 at 01:00 AM

Thank you for the help with this. I really appreciate it.


gravatar

12

Ronald Nike Air Shoes | August 7th, 2010 at 03:35 AM

This looks like very impressive stuff. Thank you for sharing.

nike


Name:


Email (Your Email Address will not be displayed):


URL:


Comment:

Remember my personal information

Notify me of follow-up comments?








Home | About | News | Work | Journal | Contact | Client login

©1996 - 2010 Progressive Design In Motion
Hosted by Servint | A robust CMS powered by ExpressionEngine.