RdfFeed Class
RDF 1.0 Root, see http://web.resource.org/rss/1.0/spec#s5.2.
graph BT Type-->Base0["RdfFeedBase"] click Base0 "/api/Statiq.Feeds.Syndication.Rdf/RdfFeedBase" Base0-->Base1["ExtensibleBase"] click Base1 "/api/Statiq.Feeds.Syndication.Extensions/ExtensibleBase" Base1-->Base2["object"] Type-.->Interface0["IFeed"] click Interface0 "/api/Statiq.Feeds.Syndication/IFeed" Type-.->Interface1["IFeedMetadata"] click Interface1 "/api/Statiq.Feeds.Syndication/IFeedMetadata" Type-.->Interface2["INamespaceProvider"] click Interface2 "/api/Statiq.Feeds.Syndication/INamespaceProvider" Type["RdfFeed"] class Type type-node

Syntax

[XmlRoot(RootElement, Namespace = NamespaceRdf)]
public class RdfFeed : RdfFeedBase, IFeed, IFeedMetadata, INamespaceProvider

Remarks

XmlSerializer serializes public fields before public properties and serializes base class members before deriving class members. Since RssChannel uses a read-only field for Items it must be placed in a deriving class in order to make sure items serialize last.

Attributes

Type Description
XmlRoot

Constructors

Name Summary
RdfFeed()
RdfFeed(IFeed)

Fields

Name Field Type Constant Value Summary
ContentEncodedElement string encoded
Inherited from ExtensibleBase
static
ContentNamespace string http://purl.org/rss/1.0/modules/content/
Inherited from ExtensibleBase
static
ContentPrefix string content
Inherited from ExtensibleBase
static
SlashCommentsElement string comments
Inherited from ExtensibleBase
static
SlashNamespace string http://purl.org/rss/1.0/modules/slash/
Inherited from ExtensibleBase
static
SlashPrefix string slash
Inherited from ExtensibleBase
static
SpecificationUrl string http://web.resource.org/rss/1.0/spec
Inherited from RdfFeedBase
static
WfwCommentElement string comment
Inherited from ExtensibleBase
static
WfwCommentRssElement string commentRss
Inherited from ExtensibleBase
static
WfwNamespace string http://wellformedweb.org/CommentAPI/
Inherited from ExtensibleBase
static
WfwPrefix string wfw
Inherited from ExtensibleBase
static

Properties

Name Property Type Summary
AttributeExtensions List<XmlAttribute>
Inherited from ExtensibleBase
AttributeExtensionsSpecified bool
Inherited from ExtensibleBase
Channel RdfChannel
Inherited from RdfFeedBase
ElementExtensions List<XmlElement>
Inherited from ExtensibleBase
ElementExtensionsSpecified bool
Inherited from ExtensibleBase
Image RdfImage
Gets and sets an RDF association between the optional image element and this particular RSS channel.
Inherited from RdfFeedBase
ImageSpecified bool
Inherited from RdfFeedBase
Items List<RdfItem>
ItemsSpecified bool
TextInput RdfTextInput
Gets and sets an RDF association between the optional textinput element and this particular RSS channel.
Inherited from RdfFeedBase
TextInputSpecified bool
Inherited from RdfFeedBase
this[int] RdfItem

Methods

Name Return Value Summary
AddExtensions(IExtensionAdapter) void
Applies the extensions in adapter to ExtensibleBase.
Inherited from ExtensibleBase
AddNamespaces(XmlSerializerNamespaces) void
ConvertToDateTime(string) DateTime?
Inherited from ExtensibleBase
static
ConvertToString(DateTime) string
Inherited from ExtensibleBase
static
ConvertToString(Uri) string
Inherited from ExtensibleBase
static
ConvertToUri(string) Uri
Inherited from ExtensibleBase
static
FillExtensions(IExtensionAdapter) void
Extracts the extensions in this ExtensibleBase into adapter.
Inherited from ExtensibleBase

Extension Methods