Advertisement:

Author Topic: RSS changes to incorporate Feedburner  (Read 12741 times)

Offline mwmconsulting

  • Semi-Newbie
  • *
  • Posts: 80
  • MWM Consulting, Inc.
    • MWM Consulting, Inc.
RSS changes to incorporate Feedburner
« on: January 12, 2008, 03:31:28 PM »
Greetings SMFers,

Many of you have already heard of Feedburner, and might already be using it.  For those of you new to Feedburner, it basically allows you to monitor the number of subscribers to your RSS feeds.  More can be learned on the Feedburner website: http://www.feedburner.com.

Incorporating Feedburner into your SMF is pretty simple, so I'd like to share with you how it's done.

1) You'll, of course, first need to enable RSS on your SMF by logging in as the Admin, and then going to Admin -> News and newsletters -> Settings.

2) You'll also want to add the RSS Feed Icon mod graciously provided by vbgamer45.  It can be found here: http://custom.simplemachines.org/mods/index.php?mod=376

3) After RSS is enabled and the RSS Feed Icon mod installed, you'll see the little orange RSS icons next to each board on your forum.  Now, to incorporate Feedburner into those little icons you'll need to edit the /Themes/default/BoardIndex.template.php file.

On line 146 you'll see this:
Code: [Select]
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
You'll want to change that to this:
Code: [Select]
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b>&nbsp;<a href="http://feeds.feedburner.com/XXXXX-' . $board['id'] . '" target="_blank"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
Where XXXXX is an abbreviation for your site that will be used when setting up the Feedburner feed.

4) Now you can log into your Feedburner account (or create one if you're new), and set up your feed.  Once your feed is created, you'll need to edit the feed details.  You'll see the Feed Address that will start with this http://feeds.feedburner.com/ with an input box following.  In the input box you'll want to put XXXXX-## where XXXXX is the same as above and ## is the number of the board from your site.  You can get the number simply by looking at the original SMF RSS feed and locating it.

There ya go.  As easy as that.  This should probably be incorporated into a Mod of some sort, which I will attempt to do when I find time.

Good luck!

- MWM
« Last Edit: January 12, 2008, 03:36:12 PM by mwmconsulting »
========================
MWM Consulting, Inc.
InSiteful Business Solutions
http://www.mwmconsulting.biz
========================

Offline calliopy

  • Semi-Newbie
  • *
  • Posts: 12
    • Homesteader Forums
Re: RSS changes to incorporate Feedburner
« Reply #1 on: January 19, 2009, 10:55:38 AM »
Does this mean burning a separate feed for each board ID?  How is this applied to the mod?
Homesteader Forums [nofollow]
[nofollow]

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,021
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: RSS changes to incorporate Feedburner
« Reply #2 on: January 19, 2009, 11:16:02 AM »
Based on the description, yes, it would require configuring a new feed for each board and also each type of feed (news, etc).
Motoko-chan
Director, Simple Machines

Just because it's pouring down doesn't mean we're gonna drown. There's a time when all you can say is let it rain - Mat Kearney (Let It Rain)

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,616
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: RSS changes to incorporate Feedburner
« Reply #3 on: January 24, 2009, 05:32:12 AM »
This is cool...
Thanks....

Offline equalityformen.org

  • Newbie
  • *
  • Posts: 1
Re: RSS changes to incorporate Feedburner
« Reply #4 on: February 02, 2009, 07:52:48 PM »
Thank you mwmconsulting,

Your changes worked perfectly. One thing I don't understand is, why do i need to have a feed for each board? It seems that if I view any particular board feed all of the new topics from all of the boards are visible.

Do I really need more than 1 feed for the whole site?

Thanks,
eric@equalityformen.org
hxxp:equalityformen.org [nonactive]
hxxp:forum.equalityformen.org [nonactive]

Offline bjraines

  • Full Member
  • ***
  • Posts: 549
Re: RSS changes to incorporate Feedburner
« Reply #5 on: November 16, 2009, 11:14:11 AM »
I am looking over your instructions above. Feedburner will not validate my SMF feeds

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,051
    • Arantor on GitHub
Re: RSS changes to incorporate Feedburner
« Reply #6 on: November 16, 2009, 11:18:38 AM »
What URL are you giving Feedburner for the feeds?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline bjraines

  • Full Member
  • ***
  • Posts: 549
Re: RSS changes to incorporate Feedburner
« Reply #7 on: November 16, 2009, 12:21:36 PM »
http://www.mychemistrytutor.com/forums/index.php?action=.xml;sa=news;limit=2

I get this error

his feed does not validate.

    *

      line 2, column 0: Undefined root element: xml-feed [help]

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,021
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: RSS changes to incorporate Feedburner
« Reply #8 on: November 16, 2009, 12:40:22 PM »
Try adding type=rss, type=rss2, or type=atom to that URL. That specifies which feed type you want. The default is plain XML otherwise.
Motoko-chan
Director, Simple Machines

Just because it's pouring down doesn't mean we're gonna drown. There's a time when all you can say is let it rain - Mat Kearney (Let It Rain)

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline bjraines

  • Full Member
  • ***
  • Posts: 549
Re: RSS changes to incorporate Feedburner
« Reply #9 on: November 16, 2009, 12:45:16 PM »
awesome that worked perfect!

Offline Sicarius

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
Re: RSS changes to incorporate Feedburner
« Reply #10 on: May 28, 2010, 11:06:19 AM »
What code i need to show RSS feeds from the forum on my another or another site?
Like here[the feedburner in forum news board]:
http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fempirumonline.com%2Ft4%2F&sl=iw&tl=en [nofollow]
« Last Edit: May 28, 2010, 11:10:08 AM by Sicarius »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,119
  • Gender: Male
    • Kindred-999 on GitHub
Re: RSS changes to incorporate Feedburner
« Reply #11 on: May 28, 2010, 11:07:57 AM »
???

You would need an incoming RSS feed parser. That is not something standard in SMF.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sicarius

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
Re: RSS changes to incorporate Feedburner
« Reply #12 on: May 28, 2010, 11:13:06 AM »
So i will need to build a code to show feeds from my SMF forum? Is there no other way to do something?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 55,119
  • Gender: Male
    • Kindred-999 on GitHub
Re: RSS changes to incorporate Feedburner
« Reply #13 on: May 28, 2010, 12:13:50 PM »
there are lots of ways....   but smf, by default does not import or display rss feeds from elsewhere...     

If you want to display an RSS feed, you will have to find the code to do so (there are lots of code snips to do it... i.e. EZPortal has a feed display module)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,051
    • Arantor on GitHub
Re: RSS changes to incorporate Feedburner
« Reply #14 on: June 06, 2010, 08:40:58 PM »
Or even the RSS Feed Poster mod.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.