News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

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

lexhair

Quote from: lexhair on July 19, 2007, 11:01:33 AM
I find my RSS2 feed defaults to an excerpt rather than full text. Is that consistent with everyone else? Version 1.1.1.
Never mind. Found the setting on the Admin panel.

GaMerZ

Hi all,

I would like to ask is it possible to have rss feed for the topics only and not the replies to the topics?

hersh006

Quote from: LukaszP on November 14, 2005, 03:38:25 AM
Also option:
c=z  - display only the recent posts from coolapse "z"
Example: http://www.simplemachines.org/community/index.php?action=.xml;sa=recent;c=2;limit=10


This is interesting. Any other undocumented features? I would love it if you told me that you could limit it to a single topic.

hersh006

Quote from: GaMerZ on July 29, 2007, 09:29:51 AM
Hi all,

I would like to ask is it possible to have rss feed for the topics only and not the replies to the topics?

try sa=news

Unless I misunderstand your question.

aquayle

Only getting RSS feeds from the Forum Announcements category on our forum (which enyone can see) all other categories you have to log into the forum to see and are not sending out news - any ideas
thanks Andy

Oldiesmann

Quote from: aquayle on August 31, 2007, 12:09:48 PM
Only getting RSS feeds from the Forum Announcements category on our forum (which enyone can see) all other categories you have to log into the forum to see and are not sending out news - any ideas
thanks Andy

If you want to see feeds from boards that guests can't see, you'll need to use something that supports cookies (such as Sage or one of the other RSS reader extensions available for Firefox).

Otherwise you'll just need to decide what you want to be visible to guests.
Michael Eshom
Christian Metal Fans

en_shua

Quote from: Oldiesmann on April 25, 2007, 02:05:36 PM
Quote from: goodsamaritan55 on April 25, 2007, 11:24:25 AM
Is there a work around possible for this RSS/RSS2 shortcoming?

How about SMF reposting the author name on the body of the post?
How about posting the author name in place of the email address in the <author> tag?

Lots of people enjoy reading new posts on RSS on say google reader but it comes up short because they don't know who the author is until they click the link to the actual post!

I did some more research on this issue... The example given in the official RSS specification (http://www.rssboard.org/rss-specification) shows the author's name in parentheses following the email address. Since they do it, there's absolutely no reason why we can't do the same :)

Sources/News.php

Find
Code (Lines 548 and 654) Select
'author' => (!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']) || (!empty($row['hideEmail']) && !empty($modSettings['allow_hideEmail']) && !allowedTo('moderate_forum')) ? null : $row['posterEmail'],

Replace
'author' => (!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']) || (!empty($row['hideEmail']) && !empty($modSettings['allow_hideEmail']) && !allowedTo('moderate_forum')) ? null : $row['posterEmail'] . ' (' . $row['posterName'] . ')',

I'll mention it to the developers as well so we can get it done for 2.0 as well (I doubt they'll have a problem with it since it's such a minor change).

I had done this in my SMF 1.1.3 board, and was getting the author beautifully in my RSS feeds.  Then I upgraded to 1.1.4.  It quit working.  I looked in news.php, and it appears that either the upgrade changed it back, or I did a restore or something.  Anywho, I had to make the changes again.  Unfortunately, even though I've made those changes again, I do not get the author in my feeds.  Any ideas?

Aileen


KGIII

Quote from: will888 on October 24, 2007, 07:30:49 AM
IS there an RSS FEED that shows the list of the boards only?

Not that I've been able to find. So far.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

matstone

Wow, that's alot of reading.
Thanks everyone for their imput, I managed to get an rss feed working using this code/link:
http://fishinfanatics.com/EasyAngling/index.php?b
oard=29.0;sa=news;type=rss;action=.xml


My problem now is that I would like to get more than one board showing in that same feed and can't seem to get it working.
I have tried adding another board a few different ways shown below and can't get more than one board to show, any ideas where i'm going wrong?:
1st try:
http://fishinfanatics.com/EasyAngling/index.php?board=29.0, 26.0;sa=news;type=rss;action=.xml
2nd try:
http://fishinfanatics.com/EasyAngling/index.php?board=29, 26;sa=news;type=rss;action=.xml
3rd try:
http://fishinfanatics.com/EasyAngling/index.php?boards=29.0, 26.0;sa=news;type=rss;action=.xml


Sybille Yates

Quote from: tsmalmbe on April 02, 2007, 01:31:13 AM
Can I exclude certain boards? 

Yes, I read the answer (and btw I read the whole thread from a-z and page 1-12 ;-), but frankly I have no clue what this answer means, can somebody please explain to me in easy words how I can exclude certain boards completely? I run a forum which is wide open, except 3 boards, admin, moderators and a private group, my ideal solution would be to exclude rss feeds from this three boards completely, not displaying the rss button at all for this boards (google is watching you ;-) How can it be done? Thanks a bunch! SY

matstone

Quote from: Sybille Yates on November 30, 2007, 06:41:53 PM
Quote from: tsmalmbe on April 02, 2007, 01:31:13 AM
Can I exclude certain boards? 

Yes, I read the answer (and btw I read the whole thread from a-z and page 1-12 ;-), but frankly I have no clue what this answer means, can somebody please explain to me in easy words how I can exclude certain boards completely? I run a forum which is wide open, except 3 boards, admin, moderators and a private group, my ideal solution would be to exclude rss feeds from this three boards completely, not displaying the rss button at all for this boards (google is watching you ;-) How can it be done? Thanks a bunch! SY

The way I understand it; People will only see what they have permissions for.
Correct and slap me if I'm wrong.

Sarge

Quote from: Sybille Yates on November 30, 2007, 06:41:53 PM
I run a forum which is wide open, except 3 boards, admin, moderators and a private group, my ideal solution would be to exclude rss feeds from this three boards completely, not displaying the rss button at all for this boards

Log out of your admin account and try visiting those feeds as a guest. Can you see them?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Robi052


I B D



falguni1


B.SkiLLs

Any fix to this below problem yet ??

it is on the user feed issue's: see URL below (it will be the top post should be the one im talking about.. where you can get feeds from like when you are logged in but to a feeder or even a normal browser feed

http://www.simplemachines.org/community/index.php?topic=25009.msg985759#msg985759

here is my post about it from another thread ( sorry for duble posting but this is badly needed and i did not see or find this thread when i posted mine where i did


-------------------------------------------------

my post / issue is below ( recopied )

-------------------------------------------------


Hi, everybody.

I have recently came up with this issue has i have been checking out different widgets for RSS feeds and i am having an issue with them and i am wondering if any one can help me out on this one with an answer or a fix or maybe some ideas on how to get it to work.

The problem is that i found the coolest best RSS feed widget after looking at a bunch of them, well the widget only picks up the (so called ) 'not logged in' posts and updates.

It does not fetch the posts that like when you are logged in. It only picks up what the public sees and not what registered users see like when you are logged in for each new post.

Is there a way or a certain URL to enter into it so that it picks up all the updated posts like if you was logged in ???

See cause obviously guest can not see the members post and cant even see them in the  Latest Post: section at bottom.

All i am looking for and trying to do is to have my feeds pick up the member posts to and not just the posts that everybody can see.

I am the admin there so. I want to be able to see the new member posts and the open forum posts all in my RSS feeds.

The widget itself allows me to put any and every URL in that i need. but cant seem to get it to work ( i cant do it either with like normal browser type RSS feeds.

Any body can help me out would be much appreciated. with any ideas or answers

Thanks :)




PS~
i hope that was understandable.. lol :P
kinda hard for me to describe what i am talking about


VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


Oldiesmann

That is more of a problem with your rss thing. Your only option would be to modify the appropriate function in news.php to make it set "$user_info['query_see_board']" to 1, which will make smf load stuff from all the boards. Other than that, you could just use one that's integrated with your favorite web browser, such as Sage for Firefox.
Michael Eshom
Christian Metal Fans

1stAngel


Advertisement: