GenerateFeeds.

WithItemContent(DocumentConfig) Method

Summary

Sets the content of the item. The default value is the value for the "Content" key in the input document. Note that the entire document content is not used because it will most likely contain layout, scripts, and other code that shouldn't be part of the feed item.
Assembly
Wyam.Feeds.dll
Namespace
Wyam.Feeds
Containing Type
GenerateFeeds

Syntax

public GenerateFeeds WithItemContent(DocumentConfig itemContent)

Parameters

Name Type Description
itemContent DocumentConfig A delegate that should return a string with the content of the item.

Return Value

Type Description
GenerateFeeds The current module instance.
GitHub