Welcome to WeetHet!

LinkUp - Professionele hosting van websites!
38.107.179.241
     
 
Print this page
- use Landscape
Search the
WeetHet Pages
WeetHet is being updated! - Current articles will slowly move to www.tweaking4all.com

PAGE OVERVIEW

Most of us have heard about it: RSS, PodCasting, and whatever they came up with for news feeds. What is RSS? More details here ...
But WHAT is RSS really? And how can you set it up for your own website of blog?

Intro to RSS:

  • What is RSS - a short intro

Reading RSS Feeds:

RSS Feeds - technical details:

Making RSS Feeds:
Getting out there:

Note: The RSS standard is a standard that seems to be under a constant development, so some things might change, disappear, or be added in the future!

Overview of this page

What is RSS?

You might already have an idea what RSS is, or maybe not. Any who, I'll try to explain it a little bit in this article.
The information here is basically a compilation of what I found on the Internet while trying to understand and build an RSS Feed for WeetHet.

RSS stands for (and the opinions on this differ) "Real Simple Syndication" (the more recent Userland definition) or "Rich Site Summary" (the older Netscape definition).

Great isn't it? When I first read this, I still had not much of an idea what people where talking about.

In essence; RSS is a method of distributing links. These links point to content on let's say your website.

Maybe easier said; RSS is a mechanism where short messages, say headlines or blips, accompanied by a short abstract, a link and, an optional picture, are distributed over the Internet. The intention of these blips or headlines is to get the attention of the reader so they actually visit your webpage and read more about this article.

RSS messages can help promote your website and can also be used to keep visitors informed about for example changes on your website. These messages can also be used for easy linking to another webpage - it seems to be popular amongst Bloggers.

Specifications: RSS 0.91 (Userland), RSS 0.91 rev 3 (Netscape), RDF/RSS 1.0, RSS 2.0 (Harvard),

So how do you "read" the RSS messages?

Messages (and some will tell me that this is not the right word for this) come from a so called "RSS Feed".

This "feed" provides the little blips or messages.

Feeds can be read in several different ways, commonly grouped under the name of "News Aggregators" (news collectors).
This can be a website running a PHP script to "get and display" the messages, or a JAVA Applet, or a standalone application for your Windows PC.

Keep in mind though: As with all great Internet ideas, sooner or later one or more idiots will consider this to be a great way to deliver spam to you,... I hope RSS will be the exception.

How to make an RSS feed?

The general opinion on making RSS Feeds is: Easy.

Well, exploring the web tought me differently. It takes a bit of reading and figuring out what the specs are saying. It also requires insight in things like HTML (formatting), XML (since the feed is based on XML), etc.

Not interested in figuring this out? Then I can only recommend setting up a blog with companies like Yahoo and Google. They commonly come with the proper tools to auto generate a feed.

Still reading? Aha, then you might be interested in building a RSS Feed for your website. Keep reading!

Note: we're focussing on the RSS definition v2.0.1 (2002).

The basic layout looks like this;

<?XML version="1.0" ?>
<rss version="2.0">

</channel>

<title>Title of this feed</title>
<link>http://www.weethet.nl</link>
<description>What is this feed about?</description>

<item>
<title>Title of this element</title>
<link>http://www.weethet.nl/index.php</link>
<description>Some fun in this item</description>
<pubDate>Sun, 12 Mar 2006 20:42:00 GMT</pubDate>
</item>

...

<item>
<title>Title of this element</title>
<link>http://www.weethet.nl/index.php</link>
<description>Some fun in this item</description>
<pubDate>Sun, 12 Mar 2006 20:42:00 GMT</pubDate>
</item>

</channel>

</rss>

 

Let's take that picture and keep that in our minds and start taking apart what we're seeing here;
Every RSS Feed file is basically an XML file (regular text file so you can use Notepad for this) starts as such:

<?xml version="1.0" ?>
<rss version="2.0">

The next step is to identify the channel using:

<channel>

Followed by the channel tags as defined below, like title and such.

The channel is not right away closed!!
First we start displaying the individual items using:

<item>
... item tags
</item>

After displaying all items we close the channel and the rss feed using:

</channel>
</rss>

After setting this all up you can save the file to your webserver. It is recommended though to use the .xml extension for your file. For example: newsfeed.xml. Later on we'll show you some PHP code to generate your feeds automatically using PHP and MySQL (database).

The BASIC Elements of a RSS Feed

Basically a RSS Feed can be seen as a text file on your webserver.
The formatting of this text file is predefined and uses a XML-like notation technique.

In this text file, you will find two basic element types: the "channel" and the "item(s)" for that channel.
Channels can have an optional "sub-channel".

Note: channels should at least have a title, link, and description (to make any sense).
For items at least title or description should be available (we recommend both).
All other elements (for both channel and items) are optional.

CHANNELS

The channel can be a "group", "category", or maybe even you website (more details here). For example for WeetHet:

Element Description Example
title

The name of this channel.
This for example could be the name of your website.

<title>WeetHet News & Updates</title>
link The link (URL) to the website where this channel resides. <link>http://www.weethet.nl</link>
description A brief description of the channel. <description>The latest WeetHet news and updates.</description>

ITEMS

A channel contains an undefined number of items (zero or more).

An item can represent an article on your website. In that case, the description should be an abstract of the fullsize story and it is practical to include a link to that story. An item can also be just a brief message where a link might not even be needed.

More in depth info can be found here.

For example:

Element Description Example
title

The title of this item.

<title>Internet - RSS Introduction</title>
link The link (URL) to this article. <link>http://www.weethet.nl/english/internet_whatisrss.php</link>
description A brief description of the article. <description>If you want to know more about RSS and RSS Feeds, then this might be some easy reading for you. In this article we introduce you to what RSS is and how you can set it up for your own website.</description>

Keep reading:
RSS Readers & Where to find RSS feeds »

or
RSS Feeds - Channel details defined »
RSS Feeds - Item details defined »

 


 

 


Klik hier om te wisselen naar nederlandstalige pagina's You are currently on the English pages.
Help & AboutWelcome ... !!GuestbookWeetHet HelpGlossary ...Searching the InternetSearching WeetHetAvailable downloadsNews & UpdatesStatisticsDisclaimer!AdvertisingJoin us !!!AwardsAbout WeetHet ...Hansie goes USAWhere is Hansie?First monthsMy new homeGoing outPuck goes USAMy new carSnapshots PuckRandom snapshotsFinally: Spring!Nice warm summerFirst Family visit!CD's and DVD'sMusicAudio-DVD to MP3Music CD to MP3Music CD to WAVCopy Music CDYour own Music CDMusic from the InternetChanging MP3 VolumeNero Burning RomBurn BIN/CUE filesConvert BIN to ISOComputer CDRomBurn ISO filesPhoto VCDPhoto SVCDNero vs Nero ExpressNRG to ISOBurn SVCDSVCD with menuBurn VCDVCD with menuDVD VideoWhat are RegionCodes?What is MacroVision?Video formatsDIKO: 3 AVIs - 1 DVDHow does a CD work?How to burn a CDCreating a DVDConvert BIN to ISONRG to ISOCreating a disk catalogComputer InfoHow does a CD work?Netiquette: E-MailWhat is DivX?What is MP3?What is RAID?What is USB?What are PAR files?Wireless LAN introPC to TV cablesStart XP fasterBoot from USB driveFireWire connect 2 PC'sPhoto SizingGraphics / PhotosPhotoshopPhoto SizingFast car3D buttonsDraw lightningPhotos on CDPictureToTVVideoCD with NeroSVCD with NeroMagix Pictures on CDDVD PictureShowPhoto SizingPhoto SizingGSM / PDAsCompaq iPAQReplace batterySerial craddle to USBGarmin eTrex cableGarmin eTrex plugRound Garmin plugPalmPilotConnect Ericsson GSMGarmin eTrex GPSMobile phonesEricsson RingtonesMusicBoxRingtonesMasterA edit SIMSMSC numbersConnector pinoutsHardware & HacksOverclocking CPU'sGenericAMD CPU codesAMD Slot-AAMD Socket-AProgr. SmartcardsMillenniumAlcatel HackLCD display to PCNetwork cablesBoot from USB drivePC to TV cablesPromise Ultra -> RAIDSoundblaster MIDIResistor colorcodeFireWire NetworkInternetNetwork genericEnabling DHCPWin95/98/ME ClientWin2000/XP ClientMac OS 7/8 ClientMac OS X ClientWell known IP-portsDNS addressesNetwork cablesWireless LAN IntroFireWire NetworkDialup connectionTCP/IP optimized for Win9xPublic IP Address?ADSL / MxStreamADSL in generalHow ADSL worksDNS addressesMXStreamInstallingPSTN EthernetISDN EthernetRouter for MXStreamSMC 7404 WBRA/BeTech ModemRoutereTech RouterSitecom 4S routerVigor 2200E routerSolving problemsAlcatel HackHack the modemPassword CalculatorPurpose of the LEDsSolving problemsFirmware upgradeDNS addressesWell known IP-portsMapping PortsAutoPortMappingConnection sharingPossibilitiesWinRoute (software)Network Win95/98/MENetwork Win2000/XPNetwork Mac OS 7/8Network Mac OS XWell known IP-portsWireless LAN IntroNetwork cablesRoutersSMC 7404 WBRA/BeTech ModemRoutereTech RouterSitecom 4S routerVigor 2200E routerInternet by SatelliteHow does it work?Brief intro ...Overview variantsStandardBySky methodTwo-Way InternetInstalling cardsWhich satellite-card?PC requirementsHarmonic CyberstreamPentam. Pent@VisionHauppauge DVBs NexusTechnotrend PCLineEOL problemsNew driversMounting a dish (Astra)Dish size?EON ChecklistTransponders EOLRamdisk for FazztYour own webpageNavigation solutionsInsight and solutionsApyCom apPopupMenuD.Binard PopupMenuPopupMenu generatorPopupMenu flatTips and TricksE-Mail linkE-Mail FORMBookmark this pageIcon for my webpage'Page back' link?Jumping within a pageEscape from framesUse frametitleControlling framesAuto redirectFixing 100% problemChange link colorText in the statusbarFixed backgroundText over imagesBrowser safe colorsUsing the .htaccess fileSpecial charactersWhere to downloadIRC using mIRCInstalling mIRCDownload Movies etcFAQMovies from InternetMovie QualityWhat are PAR files?LeechGuyLeechGuy editoreMuleWinMXE-MailNetiquetteQuote of the dayMiscellaniousHack Arescom NetDSLWireless LAN IntroFireWire NetworkWell known IP-portsWhat is my IP Address?Search (WeetHet)Searching (Internet)WeetHet DownloadsA few great websitesDNS addressesMicroControllersBasic Stamp IIStarting with the BS2Assembling the kitFullsize scematicsConnection to your PCBS2 to 44780 LCD44780 LCD SnapshotsBS2 to M50530 LCDM50530 SnapshotsHomebrew BS2Smartcards/SIMProgrammer Softw.CardMasterInfinityUSBMasterBurnerMilleniumCard TypesEdit GSM SIMResistor colorcodeMusic / AudioMusic from InternetIntroductionLeechGuyLeechGuy editorWinMXeMuleUsing mIRCBurn BIN/CUE filesConvert BIN to ISOAudio-DVD to MP3How does a CD work?Copy music CDYour own music CDWhat is MP3?Music CD to MP3MP3 CD for Yamakawa?Changing MP3 VolumeMusic CD to WAVSB MIDI interfaceAC3 to WAV/MP3ProgrammingBorland DelphiHansies Delphi ToolsAYeah!CatalogQuote of the dayPopupMenu generatorOverview ASCII chars.Satellite (TV & GPS)Satellite TelevionSatellite TV on the PCTV reception on your PCPC requirementsNew driversPentam. Pent@VisionHauppauge DVBs NexusTechnoTrend PCLinePVA file to MPEG2DirecTV TiVoRemote ControlDirecTiVo to OS6.21: Intro & Images2: TiVo disk in PC3: Install OS 6.24: OS6.2 first start5: SuperPatch & More6: Recordings to PCTyTools - Movies to PCOld: DirecTiVo to OS4Old: Sleeper HackSmartcardsProgrammer Softw.CardMasterInfinityUSBMasterBurnerMilleniumCard TypesWhat is DiSEqC?Mounting a dish (Astra)Dish sizeSRT8000 firmwareGPS NavigationGarmin eTrexDiagnostic modeSerial connectionConnect to iPAQ 36/38xxConnect to PalmPilotThe eTrex connectorThe round connectorHow GPS worksGeoCaching explained ...Internet by SatelliteHow does it work?Brief intro ...Overview variantsStandardBySky methodTwo-Way InternetInstalling cardsWhich satellite-card?PC requirementsHarmonic CyberstreamPentam. Pent@VisionHauppauge DVBs NexusTechnotrend PCLineEOL problemsNew driversMounting a dish (Astra)Dish size?EON ChecklistTransponders EOLRamdisk for FazztVideoVideo guide - start hereIntroductionGSpot: AVI InfoDIKO: 3 AVIs - 1 DVDDownload QualityVideo in generalWhat is DivX?Video formatsRecording TypesWhich AVI codecs?Intro K(S)VCD/KDVDDVD+RW IssuesAbout bitratesVideoServer pluginWhat are RegionCodes?What is MacroVision?RippingAudio-DVD to MP3Photo SizingAVI to MPEGGSpot: AVI InfoDIKO: 3 AVIs - 1 DVDAVI to DVD/(S)VCDWithout SubsD.I.K.O.MainConcept (S)VCDNero Vision Express 2TMPGEnc (S)VCDTMPGEnc K(S)VCDTMPGEnc with AC3With SubTitlesD.I.K.O.MainConcept (S)VCDNero Vision Express 2TMPGEnc (S)VCDTMPGEnc K(S)VCDTMPGEnc with AC3Burning CD NeroBurn VCDVCD with menuBurn SVCDSVCD with menuBurn BIN/CUE filesDVD PlayersCompatibilityAdd DVD playerDVD+RW IssuesIntro K(S)VCD/KDVDVideo ToolsBitrate CalulatorDVD RippingGSpot: AVI InfoFlaskMPEG and CCEVideoServer pluginDVD to DivXIntroductionCalculating bitratesRippingDVDx and SmartRipperDVDx settingsFlaskMPEG method 1FlaskMPEG method 2FlaskMPEG method 3DVD to (S)VCDIntroductionCalculating bitratesRippingDVDx and SmartRipperDVDx settingsFlaskMPEG 0.6 and CCEDVDx and Video ServerDivX to (S)VCDDVD to DVDDVD2OneDVDShrinkDVD+RW IssuesTMPGEnc & CoDIKO: 3 AVIs - 1 DVDMovie Cut & PasteGSpot: AVI InfoMergingMPEG1 and MPEG2Using TMPGEncWomble MPEG2VCRAVI with VirtualDubCuttingNewWith TMPGEncWomble MPEG2VCREasy Video SplitterAVI en DIVXAVI with VirtualDubEasy Video SplitterMovies from InternetIntroductionLeechGuyLeechGuy editoreMuleWinMXUsing mIRCWhat are PAR files?Burn BIN/CUE filesConvert BIN to ISOPictures on CDPictureToTVVideoCD with NeroSVCD with NeroMagix Pictures on CDDVD PictureShowRipping SubtitlesVobsub: fast and easy!SubRip (OCR)Sync subtitlesDisplaying subtitlesDisplaying with VobSubSync subtitlesCreate a MicroDVDPC connected to TVPC to TV cablesATI softwarenVidia softwareTiVo - Harddisk VCRTiVo Series 1What is a TiVo?Opening a TiVoSerial accessDebug Mode accessLinux Bash shellSet the clockDisable dialupDirecTV TiVoRemote ControlDirecTiVo to OS6.21: Intro & Images2: TiVo disk in PC3: Install OS 6.24: OS6.2 first start5: SuperPatch & More6: Recordings to PCTyTools - Movies to PCOld: DirecTiVo to OS4Old: Sleeper HackYamakawa 713/715IntroductionFAQThe Remote ControlSecret codesSet regioncodeSet regionfreeDisable MacroVisionFactory-settingsWhich DVDRom driveFirmware versionChange firmwareDownload firmwareChange backgroundCreate MP3 CDM.U.F.Y. MP3 CD'sHelpForumSearch (WeetHet)Search (Internet)News & UpdatesGlossary ...DownloadsLinksStatisticsAdvertisingJoin us !!!Guestbook