Property | Type | Description | |
---|---|---|---|
FormatW3COffset | string | ||
GetEnclosure | string | ||
GetMediaEnclosure | string | ||
GetPermaLink | |||
ToW3CDateTime | string | ||
ValidateFileName | string | ||
WriteAtomContent | void | ||
WriteAtomContentCommonElements | void | ||
WriteAtomEntry | void | ||
WriteAtomFeed | void | ||
WriteRssChannel | void | ||
WriteRssChannelCommonElements | void | ||
WriteRssFeed | void | ||
WriteRssItem | void |
Method | Description | |
---|---|---|
SyndicationGenerator ( |
Initializes a new instance of the SyndicationGenerator class using the supplied BlogSettings and collection of Category objects.
|
|
ToRfc822DateTime ( System.DateTime dateTime ) : string |
Converts the supplied DateTime to its equivalent RFC-822 DateTime string representation.
|
|
WriteFeed ( SyndicationFormat format, Stream stream, List |
Writes a generated syndication feed that conforms to the supplied SyndicationFormat using the supplied Stream and collection.
|
Method | Description | |
---|---|---|
FormatW3COffset ( System.TimeSpan offset, string separator ) : string |
Converts the value of the specified TimeSpan to its equivalent string representation.
|
|
GetEnclosure ( string content, IPublishable publishable ) : string |
Gets enclosure for supported media type
|
|
GetMediaEnclosure ( IPublishable publishable, string content, string media, string mediatype ) : string |
Gets enclosure for supported media type
|
|
GetPermaLink ( IPublishable publishable ) : |
Creates a Uri that represents the peramlink for the supplied IPublishable.
|
|
ToW3CDateTime ( System.DateTime utcDateTime ) : string |
Converts the supplied DateTime to its equivalent W3C DateTime string representation.
|
|
ValidateFileName ( IPublishable publishable, string fileName ) : string |
Validates the name of the file.
|
|
WriteAtomContent ( |
Writes the Atom feed element information to the specified XmlWriter using the supplied collection.
|
|
WriteAtomContentCommonElements ( |
Writes the common/shared Atom feed element information to the specified XmlWriter.
|
|
WriteAtomEntry ( |
Writes the Atom feed entry element information to the specified XmlWriter using the supplied Page.
|
|
WriteAtomFeed ( Stream stream, List |
Writes a generated Atom syndication feed to the specified Stream using the supplied collection.
|
|
WriteRssChannel ( |
Writes the RSS channel element information to the specified XmlWriter using the supplied collection.
|
|
WriteRssChannelCommonElements ( |
Writes the common/shared RSS channel element information to the specified XmlWriter.
|
|
WriteRssFeed ( Stream stream, IEnumerable |
Writes a generated RSS syndication feed to the specified Stream using the supplied collection.
|
|
WriteRssItem ( |
Writes the RSS channel item element information to the specified XmlWriter using the supplied Page.
|
public SyndicationGenerator ( |
||
settings |
/// The |
|
categories | List |
/// A collection of |
return | System |
public static ToRfc822DateTime ( System.DateTime dateTime ) : string | ||
dateTime | System.DateTime |
/// The |
return | string |
public WriteFeed ( SyndicationFormat format, Stream stream, List |
||
format | SyndicationFormat |
/// A |
stream | Stream |
/// The |
publishables | List |
/// The collection of |
title | string | /// The title of the RSS channel /// |
return | void |