C# Class Subtext.BlogML.BlogMLWriter

Inheritance: BlogML.BlogMLWriterBase
Datei anzeigen Open project: ayende/Subtext

Public Methods

Method Description
Create ( IBlogMLProvider provider ) : BlogMLWriter

Creates an instance of the BlogMl Writer.

GetMimeType ( string fullUrl ) : string

Returns a MimeType from a URL

Protected Methods

Method Description
InternalWriteBlog ( ) : void

Writes the blog.

WritePostCategories ( BlogMLPost categoryRefs ) : void
WritePostsPage ( IPagedCollection posts ) : void

Private Methods

Method Description
BlogMLWriter ( IBlogMLProvider provider, IBlogMLContext context ) : System

Constructs an instance of the BlogMlWriter for the specified blogId.

WriteAuthors ( ) : void
WriteCategories ( IList bmlCategories ) : void
WriteExtendedProperties ( ) : void
WritePost ( BlogMLPost bmlPost ) : void
WritePostAttachments ( BlogMLPost bmlPost ) : void
WritePostAuthor ( string authorId ) : void
WritePostAuthors ( BlogMLPost authorsRefs ) : void
WritePostCategory ( string categoryId ) : void
WritePostComment ( BlogMLComment bmlComment ) : void
WritePostComments ( BlogMLPost comments ) : void
WritePostTrackbacks ( BlogMLPost trackbacks ) : void
WritePosts ( ICollectionBook allPosts ) : void

Method Details

Create() public static method

Creates an instance of the BlogMl Writer.
public static Create ( IBlogMLProvider provider ) : BlogMLWriter
provider IBlogMLProvider The provider.
return BlogMLWriter

GetMimeType() public static method

Returns a MimeType from a URL
public static GetMimeType ( string fullUrl ) : string
fullUrl string The URL to check for a mime type
return string

InternalWriteBlog() protected method

Writes the blog.
protected InternalWriteBlog ( ) : void
return void

WritePostCategories() protected method

protected WritePostCategories ( BlogMLPost categoryRefs ) : void
categoryRefs BlogML.Xml.BlogMLPost
return void

WritePostsPage() protected method

protected WritePostsPage ( IPagedCollection posts ) : void
posts IPagedCollection
return void