Getting the Most Out of SMF - XML, RSS and RSS2 (and Atom and RDF) feeds

Started by Oldiesmann, January 20, 2005, 12:55:32 PM

Previous topic - Next topic


DAB Empire

Cool, I think that did it.  I added the encoded ;sa%3dnews and it worked.  I'll have them confirm.  Thanks!

dalgic


Arantor

Because only posts from other sections that are tips and tricks get moved here by moderators.

If you have a question about an existing tip/trick, post it in the thread concerned.

If you have a new tip/trick, please post in SMF Coding Discussion and one of the moderators (perhaps me) will move it after checking it out.

ArrayInteractive

I was hoping to be able to restrict a feed based on approved posters. Is there a way to limit by user?

sa=news;u=1 ?

I noticed a hack back on page 6, but was hoping there would be a more modern solution or new functionality. Obviously I tried adding u=X but that didn't work.

Thanks.
smf 2.0.2

Arantor

Not without modifying the underlying code, no. You'd have to modify the database query that gets posts.

ArrayInteractive

Hmmm, that doesn't sound sooo hard  ;D

Thanks, I'll have a poke around...
smf 2.0.2

joho

It would be nice with a parameter like xboard and xboards, where I could include ALL boards EXCEPT those listed in either xboard or xboards.

Paracelsus

About this, is there some expiring issues with this feature? I usually have lots of problems with the RSS that restricts to new topics (sa=news) showing frequently no messages at all or just one or two (with no forced limit). However this happens only in certains boards, for instance, board 1 on my forum (and then ruins also the general rss for the whole forum) but it works perfectly for other boards. ???


Arantor

Quote from: humbleworld on October 26, 2009, 07:02:41 AM
Can the MOD make this topic sticky?

No, because by definition we'd have to make every topic in this board a sticky.

Garou

Hey that's what notifications are for anyway. It makes it easy to find threads you want to remember kinda like a bookmark. Just click the notify button at the bottom of the thread and then go to http://www.simplemachines.org/community/index.php?action=profile;area=notification to find it later.

Also you get the added bonus of getting emailed every time something new is posted here. Its much better then a sticky. :)


NoobDeveloper

hi
my RSS is working fantastic.

the only problem is , in 5 RSS feeds, it shows comments to.
I want only topic name posted in any board to appear in RSS.

how to do that ?

Paracelsus

Quote from: talktoanil on November 13, 2009, 10:14:51 PM
hi
my RSS is working fantastic.

the only problem is , in 5 RSS feeds, it shows comments to.
I want only topic name posted in any board to appear in RSS.

how to do that ?

Add this to the RSS link:
;sa=news

MultiformeIngegno

Quote from: Oldiesmann on January 20, 2005, 12:55:32 PM
Recent Posts (displays the most recent posts that you can see)
Hi! If I try to add this type of SMF feed in Google Reader or Feedburner, I receive errors... for example the link:
http://www.simplemachines.org/community/index.php?action=.xml;sa=recent;board=1;limit=10

Feedburner says:
Quote
The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <smf:xml-feed [Namespace: http://www.simplemachines.org/]/>])
In the browser I can see it properly... so why doesn't it work with these services..? :(
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Arantor


MultiformeIngegno

Quote from: Arantor on November 16, 2009, 10:40:24 AM
lorenzone92: add ;type=rss to the end of the URL.
Thanks!!
Is there a way to display only the first post of each topic?
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Arantor

Also add ;sa=news to the end of the URL for that as mentioned about 4 posts up.

Advertisement: