RSS Feed Icon for boards

Started by SMFHacks.com Team, July 17, 2006, 01:41:27 PM

Previous topic - Next topic

Laibeus Lord

#40
if you want to use RSS2 (the accepted 'latest' version of RSS - coz there's RSS2.0.1 and RSS2.0.2, but the lack of a centralize group for RSS made it impossible.  There's RSS3 in development now ;p  )

change

type=rss


to:

type=rss2


in this code:

&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


Now if you want to use Atom for your feeds, do the same thing as above but instead of type=rss2 put type=atom

enjoy!!


PS
If RSS/Atom are part of SMF Coding, why not integrate it to the forum distribution itself?  I don't get it hehe...  an Admin Panel for Feed will be good to, to give people an option between RSS0.92, RSS1, RSS2, and Atom.  ^_^  (I haven't tested SMF's Atom if it will produce Atom1.0 instead of the old Atom0.3.  I don't want to bother with it right now.)

And maybe add an option as to where they want to put the Feed Icon :D  Or if they want to use a different feed icon..

anyway, lolz, not that it matters to me  hehe...

gj :D


[tiktaktok]

Hello, nice mod but how can i disable the display of email?
http://savegaia.de [nofollow]

Stasmi

I installed the mod with no problems.  The icons are showing up on the index page of the site.  However, whenever I try to take one of my rss links and add it to my Feedreader, it says it's an unsupported feed format.  I went in and manually removed the type=rss snippet.  I also tried changing it to rss2 before removing it.  At least now I can see the feed when I actually click on the rss link.  But it's still not showing up in my Feedreader.
Stasmi

Laibeus Lord

Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:

http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2


FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p


Stasmi

Quote from: Laibeus Lord on December 20, 2006, 03:25:50 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:

http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2


FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with hxxp:groovenet.ph/Laibcoms [nonactive] :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.
Stasmi

vbgamer45

Well heres an idea. If you have mod_rewrite you can try to rewrite the urls to something friendly without the ? and the ;
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Laibeus Lord

Quote from: Stasmi on December 20, 2006, 07:23:15 AM
Quote from: Laibeus Lord on December 20, 2006, 03:25:50 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:

http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2


FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with groovenet.ph/Laibcoms :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.

Well, don't you want your forum members to take benefit of the your Feeds?  I mean, if you will remove the mod just because you can't use it yourself, it appears now that you are the only one in your SMF forum ;)  You know what I mean? ^_^


[tiktaktok]

Display of emails within feed - only occurs when you enable display of email or disable it and access your own topic feeds.
So np about this :p

Sidenote - mozilla and iexplorer have trouble displaying the feed (as other reported here allready).
Works very good with opera.com [nofollow]

Cheers
http://savegaia.de [nofollow]

Laibeus Lord

I think everyone should update to Firefox 2 up (or its mozilla counterpart) and IE7.  Tested it under FF2 and IE7 and the two browsers render all feeds correctly - rss, rss2, atom - with the =rss part intact (ie, it doesn't download a file as others have reported).

Since I don't have FF1.x and IE6 anymore, it is safe to assume that the "file downloading" issue only occurs from the old versions of the two browsers mentioned, and I can attest that I did encounter some feeds like that, but not with FF2 and IE7.

Just a suggestion to those getting the "file download" thing.  In my opinion, it is better to leave the =rss2 or =rss or =atom part intact.  And right now, I strongly suggest you switch to rss2 ;)  Maybe in a year or two, atom will be at par with rss2 then we switch to atom :p


Stasmi

Quote from: Laibeus Lord on December 20, 2006, 10:51:10 PM
Quote from: Stasmi on December 20, 2006, 07:23:15 AM
Quote from: Laibeus Lord on December 20, 2006, 03:25:50 AM
Its with FeedReader.
There are feed reader services and applications out there that are too strict when it comes to detecting which is a valid feed link/URL and which isn't.

In this case:

http://boards.laibcoms.com/index.php?action=.xml;board=1;type=rss2


FeedReader do not like either one or all of the extra stuff in the URL like the '?', the '.', the ';' and the '='.


It's sad tho.  Try it with google reader, it works fine.  Also it will not work with MySpace and Friendster ;)  But will work with hxxp:groovenet.ph/Laibcoms [nonactive] :p



Thanks for the help!  I love my Feedreader and it's the only reader I use.  If I can't get it to work with the reader I use, then I probably won't use this mod.  No offense to the mod, I really wish I could use it.

Well, don't you want your forum members to take benefit of the your Feeds?  I mean, if you will remove the mod just because you can't use it yourself, it appears now that you are the only one in your SMF forum ;)  You know what I mean? ^_^



I know what you mean, but I know already that people who are visiting my forum are not the most 'savvy' of Internet users.  I don't want to have something on the forum that isn't going to work for everyone.  I think it will just add confusion.  As I said, no offense to the mod.  I really wish I could use it, but I just don't think that if I can get it to work with what I like to use, then I can't expect my visitors to try to fumble their way through either.  I will certainly continue to watch this mod and see if I can use it in the future.  I love feeds. :)
Stasmi

Laibeus Lord

Well, you got a point.  A mod that won't be used by the a reasonable percentage of your community is as good as not installing.

I think one way to overcome the problem, as was mentioned earlier, is the use of Rewrite_mod via .htaccess, though I haven't ventured deeper into that yet so I might not be able to give a sample at this point in time.  If I get a time, especially if the need arises on my end, I'll surely share it here.

The second option is for SMF to also include FEED (rss, rss2, atom) links to the readable URL feature of the board.  When I was doing some experiments, I noticed that the feature is actually built-in already with SMF1.1.x, so all that this MOD did is to provide a Feed Icon besides each every forum and sub-forum, and to add support per forum.  The feed feature is already there.  ^_^

Well, the Feed Community believes that 2007 will be the year where Feeds will be mainstream, so sooner or later, SMF will give full support or be left behind by other PHP-based BBSes.  ^_^


howlerckc

I have added to the Feeds Mod Buttons for My Yahoo, and Google Home Page.  When they click the link it auto adds the feed to their Yahoo Home Page or Google Home Page.

Also it helps in having the SE's go to your Forum more often.

doctoreast

Hi,
  Can someone tell me what to do to get this to work.
I click on the icons and get a download index file with no
file extension.  Also, how would I set the main content of
my website for an rss feed, namely the main page?
Plz and thks,
East

Skunkie

doctoreast, you need to have an RSS reader installed.  You can try FeedReader, it is a nice free RSS reader for Windows.


vbgamer45, I already thanked you for your SMF Archive mod, so I feel a little funny thanking you again here.  But good work needs to be recognized.  So once again great work!  All the best.
Punk Labs - https://punklabs.com

doctoreast

#54
Skunkie,
  Since the majority of visitors are IE/Gates; this means that
the RSS icons mod isn't a real plus, is incomplete, until there
is a feedreader with it. 
east

n1kki6

Great mod, one question.  I accidently clicked remember this setting or whatever and now if i click the feed it always brings me to my.yahoo.com.  Can i get it set back to default.  I cleared my cookies and it didn't change.

sparky33

How do I get this to work with Babylon theme?
www.dublinforums.org

www.renaultforums.co

Tanks

thanks for this  ;) very useful

Sparky you have to manual modify your templates boardindex.template.php and messageindex.template.php files.. its not very hard.. backup before modifying !

search for
', $board['name'], '</a></b>


ad before
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


and remeber to add a rss.png icon to your templates image folder  8)

sparky33

Already done it after I asked, managed to work it out, only thing is, when I click on an icon, it downloads the index.php?
www.dublinforums.org

www.renaultforums.co

vbgamer45

Quote from: sparky33 on January 11, 2007, 09:26:48 AM
Already done it after I asked, managed to work it out, only thing is, when I click on an icon, it downloads the index.php?
That is currently how SMF does feeds at the moment.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: