RSS feed to pages outside xenForo?

Jethro

Well-known member
Not seeing an option or a XML file floating around the Xen directories. What am I missing?
 
Thanks for the reply Jake, actual just after a feed from one forum, sounds like it's already happening, can you point me to how that hangs together. :)
 
It's the little
feed-14.png
icon next to each forum in the listing. When you click it you get a feed like this:

http://xenforo.com/community/forums/announcements/index.rss
 
What are you trying to do Jethro?

I use RSS a lot on my site so I was playing with the Google API last night to set up a news page.
It works great :)
 
What are you trying to do Jethro?

I use RSS a lot on my site so I was playing with the Google API last night to set up a news page.
It works great :)

Simply want to use the RSS feed from a single forum to a block on my front page, not seeing xml files which is what I'm use to for rss :( Have an invision style solution but that seems overkill for what I want to do ....
 
you can use buzz boost in feedburner. here is an example. use this code to run the rss feed of this forum...

Code:
<script src="http://feeds.feedburner.com/XenForoForum?format=sigpro" type="text/javascript" ></script><noscript><p>Subscribe to RSS headline updates from: <a href="http://feeds.feedburner.com/XenForoForum"></a><br/>Powered by FeedBurner</p> </noscript>
 
Simply want to use the RSS feed from a single forum to a block on my front page, not seeing xml files which is what I'm use to for rss :( Have an invision style solution but that seems overkill for what I want to do ....
Just tried it and got it working :D

I'll get the code tidied up and post it here in a bit.
 
OK, this was done using the Google RSS wizard so it's very basic.
Ideally you want to get your own API key and then do customised CSS, etc.

This though will give you an idea - it's a feed for the Announcements forum.
Copy and paste the code below into a Page to see how it looks.

I'll be doing some proper code at some point, fully integrated into the style and in the sidebar, etc.
If I get it done before you I'll sling it your way.

HTML:
<!-- ++Begin Dynamic Feed Wizard Generated Code++ -->
  <!--
  // Created with a Google AJAX Search and Feed Wizard
  // http://code.google.com/apis/ajaxsearch/wizards.html
  -->

  <!--
  // The Following div element will end up holding the actual feed control.
  // You can place this anywhere on your page.
  -->
  <div id="feed-control">
    <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
  </div>

  <!-- Google Ajax Api
  -->
  <script src="http://www.google.com/jsapi?key=notsupplied-wizard"
    type="text/javascript"></script>

  <!-- Dynamic Feed Control and Stylesheet -->
  <script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");
  </style>

  <script type="text/javascript">
    function LoadDynamicFeedControl() {
      var feeds = [
	{title: 'XenForo Announcements',
	 url: 'http://xenforo.com/community/forums/announcements/index.rss'
	}];
      var options = {
        stacked : false,
        horizontal : false,
        title : ""
      }

      new GFdynamicFeedControl(feeds, 'feed-control', options);
    }
    // Load the feeds API and set the onload callback.
    google.load('feeds', '1');
    google.setOnLoadCallback(LoadDynamicFeedControl);
  </script>
<!-- ++End Dynamic Feed Control Wizard Generated Code++ -->
 
Get that happening in the resources section dude, a lot of people will be all over this one.

Excellent work and beats the hell out of the thing I was going to use.
 
Well it was already on my To Do list but if more people are interested then I'll get started on it right away.

Currently upgrading a Xen forum on a snail like connection, so no hurry from me. Hoping to get your code on site later today, though we have people arriving, it's Halloween, and apparently the house needs cleaning ....
 
Top Bottom