Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Latest Posts RSS Feed
#1
Hi,

I modified the syndication.php (from MyBB 1.4.8 1.6.3) a little bit. With the attached file you will get the latests posts and not only the latests threads as a RSS Feed (Web Feed).

Copy the file to your root directory of MyBB and with a browser just call up the file.

All parameters of default syndication works on syndication2.php too.

PS:

If you want to show this feed to browsers just add the following lines to headerinclude template (optional):

<link rel="alternate" type="application/rss+xml" title="Latest Posts (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication2.php" />
<link rel="alternate" type="application/atom+xml" title="Latest Posts (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication2.php?type=atom1.0" />


Attached Files
.php   syndication2.php (Size: 4.93 KB / Downloads: 1,412)
Reply
#2
Very good..!

Promissing.. indeed
Reply
#3
Does it add a backlink? Wink
My Company - I am Microsoft Certified in HTML5, CSS3 and JS
Reply
#4
No, it's not a typical plugin. Wink
Reply
#5
btw: It works very well with MyBB 1.4.9 or 1.4.10! Smile
Reply
#6
Wow, this is something I've been looking for since I read some thread in the tutorial section.

I'll deactivate wordbb and I'll try this plugin to show feeds in my wordpress widgets. Thanks.
Reply
#7
very nice....I'll use it on my forum..this will be nice for posting to twitter.
Reply
#8
Thanks querschlaeger

Useful code Smile
Reply
#9
Hi How Can I RTL the posts? For the Persian Language it's LTR But I want to RTL it!
Reply
#10
This should handle your Feed Reader. The output of the feed is "raw" html.
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)