Game Development Community

dev|Pro Game Development Curriculum

RSS

by Skylar Kelty · 06/18/2006 (11:16 am) · 1 comments

Hello,

I decided to take a break from DawnOfMen today and decided to work on an all new SphyxGames RSS feed!
There were not many examples Icould find that wernt copyrighted but I wanted to make it my own anyway so I started working on it.

XML is probably the most easiest languages I have ever dealt with, this is the source for my RSS feed:
<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>SphyxGames</title>
		<link>http://www.SphyxGames.com/</link>
		<description>SphyxGames.com provides users with tons of information on the games they are creating</description>
		<language>en-us</language>
		<copyright>Copyright 2006 James Thompson</copyright>
		<managingEditor>james@sphyxgames.com</managingEditor>
		<webMaster>james@sphyxgames.com</webMaster>
		<generator>SSD</generator>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<item>
			<link>http://feeds.feedburner.com/SphyxGames?m=1</link>
			<title>New RSS!</title>
			<description>Welcome to SphyxGames' new rss feeds!</description>
			<dc:creator>James Thompson</dc:creator>
			<dc:date>2006-06-18</dc:date>
			<guid>http://feeds.feedburner.com/SphyxGames?m=1</guid>
		</item>
	</channel>
</rss>
As you can see the language is very straight forward

All you need to do to add new RSS items is:
<item>
			<link>http://feeds.feedburner.com/SphyxGames?m=1</link>
			<title>New RSS!</title>
			<description>Welcome to SphyxGames' new rss feeds!</description>
			<dc:creator>James Thompson</dc:creator>
			<dc:date>2006-06-18</dc:date>
			<guid>http://feeds.feedburner.com/SphyxGames?m=1</guid>
		</item>

And the result:
rss.sphyxgames.com/index.xml
Note - you have to use a browser or program that supports feeds

I think many companies/individuals can benefit from RSS feeds that are constantly updated and for those who can't understand the above code, there are WYSIWYG editors for RSS

BTW: I have a resource thats not yet approved could someone take a look and make sure it works so its all okay when it gets approved, thanks - www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10640

Note - Anyone is welcome to use the above code, but change the text between the tags

#1
06/18/2006 (10:01 pm)
Cool..thank you, I've never taken the time to figure out how to use RSS but I've been wanting to. This is definitely helpful.