RdfFeed Class

Summary

RDF 1.0 Root http://web.resource.org/rss/1.0/spec#s5.2
graph BT Type-->Base0["RdfFeedBase"] click Base0 "/api/Wyam.Feeds.Syndication.Rdf/RdfFeedBase" Base0-->Base1["ExtensibleBase"] click Base1 "/api/Wyam.Feeds.Syndication.Extensions/ExtensibleBase" Base1-->Base2["Object"] Type-.->Interface0["IFeed"] click Interface0 "/api/Wyam.Feeds.Syndication/IFeed" Type-.->Interface1["IFeedMetadata"] click Interface1 "/api/Wyam.Feeds.Syndication/IFeedMetadata" Type-.->Interface2["INamespaceProvider"] click Interface2 "/api/Wyam.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 derriving class members. Since RssChannel uses a readonly field for Items it must be placed in a derriving class in order to make sure items serialize last.

Attributes

Type Description
XmlRootAttribute

Constructors

Name Summary
RdfFeed()
RdfFeed(IFeed)

Fields

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

Properties

Name Value 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 Value Summary
AddExtensions(IExtensionAdapter) void
Applies the extensions in adapter to ExtensibleBase
Inherited from ExtensibleBase
AddNamespaces(XmlSerializerNamespaces) void
Adds additional namespace URIs for the feed
ConvertToDateTime(string) Nullable<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
GitHub