HOWTO: RSS Feeds for UNIX Forums


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
HOWTO: RSS Feeds for UNIX Forums

If you want to submit your favorite UNIX.COM forum to RSS news feeds registries or directories, here is how:

The top level RSS link to the UNIX forums is:

https://www.unix.com/external.php

This is the default for the RSS type, which is:

https://www.unix.com/external.php?type=RSS

(There is also type JS for Java Script and XML)

If you are interested in a specific forum RSS, you can add the forum ID, for example, the main "Dummies" forum ID is 2, so:

https://www.unix.com/external.php?forumids=2

The forum ID can be found in the URL (f=2) for example.

Feel free to submit your favorite UNIX forum to any RSS registry and post back where you submitted our news feed.

Quote:
# Enable External Javascript
This setting allows you to enable/disable the Javascript content syndication system that allows you to embed vBulletin data in HTML pages.

If you set this option to 'yes', you can call it by going to:
https://www.unix.com/external.php?type=js

You could use javascript directly in your html pages to control the returned data.

# Enable RSS Syndication
This setting allows you to enable/disable the RSS content syndication system.

If you set this option to 'yes', you can call it by going to:
https://www.unix.com/external.php?type=rss

(example) There is a news-plugin for Trillian which lets you use RSS feeds to get the latest information posted in your trillian program.

# Enable XML Syndication
This setting allows you to enable/disable the XML content syndication system.

If you set this option to 'yes', you can call it by going to:
https://www.unix.com/external.php?type=xml
Thanks and Have Fun,

Neo
# 2  
Please note I have added this code to the footer that provides the link to our RSS feed based on forum id:

HTML Code:
<a href="https://www.unix.com/external.php?forumids=$forumid"><img src="images/xml.jpg" alt="[RSS]" title="UNIX Forums RSS Feed" align="right"/></a>
External links can't use the code above because the variable $forumid is not set.

For the general forum, try:

HTML Code:
<br /><a href="https://www.unix.com/external.php"><img src="images/xml.jpg" alt="[RSS]" title="UNIX Forums RSS Feed" align="right"/></a>
With the image in this attachment.
# 3  
Could you also add
Code:
<link rel="alternate" type="application/rss+xml" title="The UNIX Forums" href="https://www.unix.com/external.php?type=RSS" />

so that users, whose browsers (for ex. firefox) support this tag, could automatically subscribe the feed?
# 4  
(Already supported) Look at the XML button on the bottom of each page and you can see our RSS feeds are very flexible.

I uses these and they work fine in Personal Google, etc.

For example, if the link is, by default:

Code:
http//www.unix.com/external.php?forumid=5

You can add the RSS info, if required for the same results:

Code:
http//www.unix.com/external.php?forumid=5&type=RSS

or even:

Code:
http//www.unix.com/external.php?type=RSS&forumid=5

It is really "up to you".... as it works fine.
# 5  
You did not understand me. I am talking about <link> tag used by firefox to automatically subscribe for feed.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
RSS feeds to Email
Mukka
Hi all ;-) I would like to know if somebody knows a way to make a script for check a .xml RSS page every 1-5 min and send the last news to an email address. I would like to put in on my shell with FreeBSD 6.2 Thanks you in advance 4 help! ;-)... Shell Programming and Scripting
0
Shell Programming and Scripting
RSS Feeds of Threads
craigp84
Hi Guys, With the RSS feeds of new threads added to the forums, would it be possible to include the text of the post in the RSS body? This means that i wouldn't have to keep clicking "view site" to see what the thread's about from my rss aggregator. I've included 2 x screenshots below that...... Post Here to Contact Site Administrators and Moderators
11
Post Here to Contact Site Administrators and Moderators

Featured Tech Videos