Browsable RSS Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/rss/touzet/extracted
Source used for this grammar: David Touzet, RSS-2.0 (Really Simple Syndication) 2.0, RSS-2.0.ecore, 2005/11/01 [Atlantic]

Summary

Syntax

RSS ::=
	[version]::String [channel]::Channel
Channel ::=
	[title]::String [link]::String [description]::String [language]::String [copyright]::String [managingEditor]::String [webmaster]::String [generator]::String [docs]::String [ttl]::Integer [rating]::String [skipHours]::Integer+ [skipDays]::DayKind+ [rss]::RSS [pubDate]::Date [lastBuildDate]::Date [image]::Image [textInput]::TextInput [cloud]::Cloud [category]::Category [items]::Item+
Item ::=
	[title]::String [link]::String [description]::String [author]::String [comments]::String [guid]::String [source]::Source [pubDate]::Date [enclosure]::Enclosure [category]::Category [channel]::Channel
Image ::=
	[url]::String [title]::String [link]::String [description]::String [width]::Integer [height]::Integer [channel]::Channel
TextInput ::=
	[title]::String [description]::String [name]::String [link]::String [channel]::Channel
Cloud ::=
	[domain]::String [port]::Integer [path]::String [registerProcedure]::String [protocol]::String [channel]::Channel
Category ::=
	[domain]::String [value]::String
Enclosure ::=
	[url]::String [lenght]::Integer [type]::String
Source ::=
	[url]::String [value]::String
Date ::=
	[eDay]::DayKind [day]::Integer [month]::Integer [year]::Integer [hours]::Integer [minutes]::Integer [seconds]::Integer
DayKind ::=
	[Monday]::ε
	[Tuesday]::ε
	[Wednesday]::ε
	[Thursday]::ε
	[Friday]::ε
	[Saturday]::ε
	[Sunday]::ε
String ::=
	string
Integer ::=
	integer

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []