C# 클래스 SimpleFeedReader.DefaultFeedItemNormalizer

The DefaultFeedItemNormalizer normalizes FeedItem.Title, FeedItem.Content and FeedItem.Summary of FeedItems to the point where they no longer contain any HTML, redundant whitespace, un-normalized unicode chars and other control chars like tabs, newlines or backspaces. The FeedItem's FeedItem.Date property will contain whichever date is latest; the FeedItem.PublishDate or FeedItem.LastUpdatedDate.
You can implement a normalizer yourself by implementing the IFeedItemNormalizer interface.
상속: IFeedItemNormalizer
파일 보기 프로젝트 열기: RobThree/SimpleFeedReader

공개 메소드들

메소드 설명
Normalize ( System.ServiceModel.Syndication.SyndicationFeed feed, System.ServiceModel.Syndication.SyndicationItem item ) : FeedItem

Normalizes a SyndicationItem into a FeedItem.

비공개 메소드들

메소드 설명
GetFeedItemImages ( System.ServiceModel.Syndication.SyndicationItem item ) : IEnumerable
HtmlDecode ( string value, int threshold = 5 ) : string
Normalize ( string value ) : string
RemoveControlChars ( string value ) : string
StripDoubleOrMoreWhiteSpace ( string value ) : string
StripHTML ( string value ) : string

메소드 상세

Normalize() 공개 메소드

Normalizes a SyndicationItem into a FeedItem.
public Normalize ( System.ServiceModel.Syndication.SyndicationFeed feed, System.ServiceModel.Syndication.SyndicationItem item ) : FeedItem
feed System.ServiceModel.Syndication.SyndicationFeed The on which the item was retrieved.
item System.ServiceModel.Syndication.SyndicationItem A to normalize into a .
리턴 FeedItem