Author Topic: RSS is not working...  (Read 12911 times)

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
RSS is not working...
« on: October 02, 2007, 04:58:03 AM »
Why, or why?

I thought it was supposed to be

http://www.sggu.com/smf/index.php?type=rss;action=.xml

but it does not...

what the heck?!

Offline mark

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: RSS is not working...
« Reply #1 on: October 02, 2007, 09:21:25 AM »
Ooo, I remember mentioning having an RSS feed a while ago, good to see it might be added :D


Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #2 on: October 12, 2007, 08:06:25 AM »
Victor, have you installed the RSS block for tinyportal?

The URL you listed is for a basic SMF forum, but tinyportal destroys that. Also as you are on SMF 1.1.4 you need to upgrade tinyportal to v0.9.8 as 0.9.7 is not fully compatible with smf 1.1.4
« Last Edit: October 12, 2007, 09:58:42 AM by sy278 »

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: RSS is not working...
« Reply #3 on: October 15, 2007, 02:57:51 PM »
Hi, Sy278!!! Welcome back!!!

I have been waiting for your comeback because you are probably the most knowledgeable person on the planet when it comes to SMF (no sarcasm intended!).

I will upgrade as you have suggested right away...

BTW, someone managed to install pscan in our /tmp directory...bastard!

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: RSS is not working...
« Reply #4 on: October 15, 2007, 05:12:47 PM »
This is interesting : upgraded TP and added RSS - suddenly the my greatest feat of 2006 stopped working : THE SCROLLING OF RECENT POSTS HAS SCRATCHED TO A HALT!

Aaarghhhhhhhhhhhh..........

Offline mark

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: RSS is not working...
« Reply #5 on: October 16, 2007, 08:09:56 AM »
[quote author=victor link=topic=2496.msg9673#msg9673 date=1192468367]
This is interesting : upgraded TP and added RSS - suddenly the my greatest feat of 2006 stopped working : THE SCROLLING OF RECENT POSTS HAS SCRATCHED TO A HALT!

Aaarghhhhhhhhhhhh..........
[/quote]

Works for me :]

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: RSS is not working...
« Reply #6 on: October 16, 2007, 01:55:57 PM »
Hi, Mark,
I managed to fix it - it seems like TP upgrade managed to overwrite the scrolling sript I wrote for Recent box. It took me three hours to figure it out.

Now, I have to figure out how to get rid of that HUGE Genesys logo that comes in with RSS.

Do you have any other RSS you would suggest to mix with Genesys? Because I am not too keen on Turkey Genesys Seminar or what is happening in Greece or Russia.

Vic

Offline mark

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: RSS is not working...
« Reply #7 on: October 17, 2007, 01:55:53 PM »
Good question, not really thought about other technically work specific feeds really!

Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #8 on: October 17, 2007, 02:49:07 PM »
What im more concerned about is that the forums own rss feed is still missing.

Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #9 on: October 18, 2007, 06:57:25 AM »
First, make sure you've enabled the feeds:

Admin -> News and Newsletters -> Settings
Check the box next to "Enable XML/RSS News".
The "Maximum post length" value determines how many characters of a post are output in the feeds. The default value (255) is fine for now


Now, on to the fun stuff.

All of the XML content is accessed via the ".xml" action...
Other formats can be achieved by adding one of the following to the URL:
;type=atom - Atom
;type=rdf - RDF
;type=rss - RSS 0.91
;type=rss2 - RSS 2.0

The default feed is the 5 most recent posts:
http://www.sggu.com/smf/index.php?action=.xml

There are several "sub-actions" available to this action, specifying exactly what to display:

Recent Posts (displays the most recent posts that you can see)
"Sub-action": recent
Default: Shows 5 most recent posts
Available options:
limit=x - display the "x" most recent posts (if number is less than 5, it will display 5. If number is larger than 255, it will display 255).
board=y - display only the recent posts from board "y"
boards=x,y,z - display only the recent posts from the specified boards
c=x or c=x,y,z - display only the recent posts from boards in the specified category/categories
Example: http://www.sggu.com/smf/index.php?action=.xml;sa=recent;board=72;limit=10

News (displays the first post from the most recent topics that you can see)
"Sub-action": news
Available options:
limit=x - display only "x" items
board=y - display only news topics from board "y"
boards=x,y,z - display only news topics from the specified boards
c=x or c=x,y,z - display only news topics from boards in the specified category/categories
Example: http://www.sggu.com/smf/index.php?action=.xml;sa=news;board=72;limit=10

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: RSS is not working...
« Reply #10 on: October 18, 2007, 09:53:50 AM »
Thank you the detailed instructions, Sy278!
I will put it together over the weekend!

Howcome you are so knowledgeable about SMF?

Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #11 on: October 18, 2007, 12:59:31 PM »
Just used it a few times.

If you do the very first step it only takes seconds and will enable the forums own rss output, which will allow it to be syndicated and for people like myself to monitor it on rss readers such as google reader.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: RSS is not working...
« Reply #12 on: October 18, 2007, 02:44:31 PM »
I tried it - and wow, talk about getting a long list... I just added sggu.com and list went on for like 1000 pages... how do you prevent people from getting thousands of posts by just specifying sggu.com?

Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #13 on: October 18, 2007, 06:13:18 PM »
Don't worry about it, whe you view the feed in the reader the reader pulls in all the posts it has never seen before, so once you mark them all read it will only pull in the new ones.

Offline sy278

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
Re: RSS is not working...
« Reply #14 on: October 19, 2007, 11:51:25 AM »
Nice one, I see RSS is now up and running.