News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

[Free] RSS Topic Mod

Started by JoaoVr, July 27, 2008, 04:21:19 PM

Previous topic - Next topic

JoaoVr

Hi Guys,
Is there any bright mind that can make a mod to RSS so ppl can only receive the new topics update without the awnsers on that topic?

Everyone can use it :)

No options needed!

ty

Please check this topic:
http://www.simplemachines.org/community/index.php?topic=251609.msg1631871#msg1631871

JoaoVr




Angelotus

Sorry, didn´t see that one!

JoaoVr


青山 素子

Are we talking just new topics being created, or just something noting a new response but without the content. If it's the first option, this is already in SMF, you just need to add a parameter to the feed URL.

Your feed URL for a board to get only new topic notices would be similar to:

index.php?action=.xml;sa=news;board=51;type=rss2

The important part is the "sa=news" which makes the feed only show new topics and their content, but not replies to any topic. The other parameters are:

"board=51" which specifies the board ID to view - in this case it's 51. Change for your needs.
"type=rss2" which specifies I want RSS 2.0 (you can also specify rss for RSS 1.0 and atom for Atom)
"action=.xml" which says I want an XML view (feeds are XML)
Motoko-chan
Director, Simple Machines

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


Advertisement: