An exclusive gaming industry community targeted
to, and designed for Professionals, Businesses
and Students in the sectors and industries
of Gaming, New Media and the Web, all closely
related with it's Business and Industry.
A Rich content driven service including articles,
contributed discussion, news, reviews, networking, downloads,
and debate.
We strive to cater for cultural influencers,
technology decision makers, early adopters and business leaders in the gaming industry.
A medium to share your or contribute your ideas,
experiences, questions and point of view or network
with other colleagues here at iVirtua Community.
Updated July 16, 2005 10:35 AM Updates: [ol type='1']
Code Updated For Use in InvisionFree Boards
Code Updated For Use in PHP-powered websites, forums, and blogs[/ol]What is RSS?
RSS stands for Really Simple Syndication, although it currently has many universal meanings such as RDF Site Summary. It is in the family of XML file formats for Web syndication. There are quite a few websites that will do this for free such as http://feedforall.com, but we're going to show you how to make your own simple RSS feed!
What software do I need?
The only main requirement for making an RSS feed is a simple text reader, such as Notepad, and of course, a website/blog.
What code do I use?
The code for this simple RSS feed is simple, and if you know HTML, it will be even easier. [!--html--][/div][table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'][tr][td]HTML [/td][/tr][tr][td id='CODE'][!--html1--]<color> <color> <color>My Website: Latest Info<color> <color>http://www.mywebsite.com<color> <color>My Latest News<color> <color> <color>My Latest News<color> <color>http://www.mywebsite.com/logo.gif<color> <color>http://www.mywebsite.com<color> <color> <color> <color>My Birthday Party<color> <color>My birthday was on January 1st, 2005.<color> <color>http://www.mywebsite.com/birthday<color> <color> <color> <color>[!--html2--][/td][/tr][/table][div class='postcolor'][!--html3--]
What does each tag mean?
The first tag is the <rss> and specifies which type of coding your script conforms to. In this code, the latest standard of RSS, 2.0, will be used. The next tag is <channel>. This tag includes all the data for your RSS feed. <title>, <link>, and <description> tells the reader the title of your RSS feed, what the feed is about, and a link to your website. All the tags listed in the code above are required, except the <image> tag. If you do not use this part of the code, you will get a text-based RSS feed, rather than an icon on the feed.
Once you Live Bookmark your feed, what the user will see under the bookmark are your headlines, which created from the <item> tag. So, each time you want to add a new headline for your feed, create a new <item> tag. The <title> tag inside <item> is the title of the headline the user will see when they look at the feed. The <description> tag is the brief description of the article that the <title> tag links to. Last of all, the <link> tag links to the article. You close this item with the </item>.
Are there any other features I can add to my RSS feed?
You may add the <author> tag, and place your name or e-mail address inside it. You can also add the <pubDate> tag to show the publication date of the article. The date should be in the following format: Sat, 1 Jul 2005 00:00:00 GMT.
How do I add the feed to my website or blog?
RSS is an XML file, and you need to tell the RSS reader so. Therefore, add this code to the beginning of your code before anything else:
Note that this line of code is not to be closed with </xml>
Next, save the file with an XML extension or a PHP extension. If using Notepad, then choose File > Save and under File Type, choose All Files. Then add the extension .xml or .php to the end of your file name (i.e. myrssfeed.xml).
The next step is to upload your .xml file into your website's FTP (or whichever system you use).
How do I get web browsers to recognize my RSS feed?
Add the following code into the <head> tag of your website: [!--html--][/div][table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'][tr][td]HTML [/td][/tr][tr][td id='CODE'][!--html1--]<color>[!--html2--][/td][/tr][/table][div class='postcolor'][!--html3--]
Whatever is placed in the title=\" \" is displayed when someone clicks on the Subscribe button for your RSS feed.
Where do I add the above code if I am using an InvisionFree board?
If you are using an InvisionFree board, then place the [!--html--][/div][table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'][tr][td]HTML [/td][/tr][tr][td id='CODE'][!--html1--]<color>[!--html2--][/td][/tr][/table][div class='postcolor'][!--html3--] into Admin CP > Skinning & Styles > Board Wrappers > Javascript
Finally, you are done with your own simple RSS feed! If you have put the above code into your website/blog header, then web browsers will automatically detect the feed.
Some information taken from Digit Magazine, June 2005.
? Cyber IT Forums, 2005
Last edited by Predator on Tue Oct 25, 2005 9:11 pm; edited 1 time in total
Contributed by Predator, Guest 510 iVirtua Loyalty Points • • • Back to Top