Syndication class

Provides syndication hints to aggregators and others picking up this RDF Site Summary (RSS) feed regarding how often it is updated. For example, if you updated your file twice an hour, updatePeriod would be "hourly" and updateFrequency would be "2". The syndication module borrows from Ian Davis's Open Content Syndication (OCS) directory format. It supersedes the RSS 0.91 skipDay and skipHour elements.

https://web.resource.org/rss/1.0/modules/syndication/

Constructors

Syndication({String? updatePeriod = 'daily', String? updateFrequency = '1', String? updateBase})
Creates a new Syndication object
Syndication.fromXml(UniversalFeed uf, XmlElement node)
Parse a Syndication tag from an XmlElement
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateBase String?
Defines a base date to be used in concert with updatePeriod and updateFrequency to calculate the publishing schedule. The date format takes the form: yyyy-mm-ddThh:mm
getter/setter pair
updateFrequency String?
Used to describe the frequency of updates in relation to the update period. A positive integer indicates how many times in that period the channel is updated. If omitted a value of 1 is assumed.
getter/setter pair
updatePeriod String?
Describes the period over which the channel format is updated. Acceptable values are: hourly, daily, weekly, monthly, yearly. If omitted, daily is assumed.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited