C# Class newtelligence.DasBlog.Web.Core.SiteUtilities

Summary description for Utils.
Mostra file Open project: AArnott/dasblog

Public Methods

Method Description
ApplyClickThrough ( SiteConfig siteConfig, string entryId, string content ) : string
ApplyContentFilters ( SiteConfig siteConfig, string content ) : string
AreCommentsAllowed ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig ) : bool
ClipString ( string text, int length ) : string
ClipString ( string text, int length, string trailer ) : string
DeleteEntry ( string entryId, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void

Deletes an entry, including comments enclosures etc.

Admins can delete all, contributors only their own.

FilterContent ( SiteConfig siteConfig, string entryId, string content ) : string
FilterContent ( string entryId, string content ) : string
FilterHtml ( string input, ValidTagCollection allowedTags ) : string
FindHyperLinks ( string content ) : MatchCollection
GetAdminPageUrl ( ) : string
GetAdminPageUrl ( SiteConfig siteConfig ) : string
GetAggregatorBugUrl ( SiteConfig siteConfig, string id ) : string
GetAtomCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string

GetAtomCategoryUrl ( string categoryName ) : string

GetAtomUrl ( ) : string

GetAtomUrl ( SiteConfig siteConfig ) : string

GetBaseUrl ( ) : string
GetBaseUrl ( SiteConfig siteConfig ) : string
GetBloggerUrl ( ) : string

GetBloggerUrl ( SiteConfig siteConfig ) : string

GetCategoryViewUrl ( SiteConfig siteConfig, string categoryName ) : string

GetCategoryViewUrl ( SiteConfig siteConfig, string categoryName, int page ) : string

GetCategoryViewUrl ( string categoryName ) : string

GetCategoryViewUrl ( string categoryName, int page ) : string

GetCdfUrl ( ) : string
GetCdfUrl ( SiteConfig siteConfig ) : string
GetClickThroughUrl ( SiteConfig siteConfig, string id ) : string
GetCommentApproveUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
GetCommentApproveUrl ( string targetEntryId, string commentId ) : string
GetCommentDeleteUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
GetCommentDeleteUrl ( string targetEntryId, string commentId ) : string
GetCommentReportUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
GetCommentViewUrl ( SiteConfig siteConfig, string entryId ) : string
GetCommentViewUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
GetCommentViewUrl ( string targetEntryId ) : string
GetCommentViewUrl ( string targetEntryId, string commentId ) : string
GetCommentsRssUrl ( ) : string
GetCommentsRssUrl ( SiteConfig siteConfig ) : string
GetCompressedTitleUrl ( SiteConfig siteConfig, string title ) : string
GetCompressedTitleUrl ( string title ) : string

Gets the compressed title URL.

GetCrosspostTrackingUrlBase ( SiteConfig siteConfig ) : string
GetDayViewUrl ( System.DateTime day ) : string
GetDayViewUrl ( SiteConfig siteConfig, System.DateTime day ) : string
GetEditViewUrl ( SiteConfig siteConfig, string id ) : string
GetEditViewUrl ( string id ) : string
GetEnclosureLinkUrl ( SiteConfig siteConfig, string id, Attachment attachment ) : string
GetEnclosureLinkUrl ( string id, Attachment attachment ) : string
GetEntryCommentsRssUrl ( SiteConfig siteConfig, string id ) : string
GetEntryCommentsRssUrl ( string id ) : string
GetFeedCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string

GetFeedCategoryUrl ( string categoryName ) : string

GetFeedUrl ( ) : string

Returns the Rss Url, where the default protocol "http" is replaced by the standard "feed" protocol

GetFeedUrl ( SiteConfig siteConfig ) : string

Returns the Rss Url, where the default protocol "http" is replaced by the standard "feed" protocol

GetLatestModifedCommentDateTime ( IBlogDataService dataService, CommentCollection comments ) : System.DateTime
GetLatestModifedEntryDateTime ( IBlogDataService dataService, EntryCollection entries ) : System.DateTime
GetMicrosummaryUrl ( ) : string
GetMicrosummaryUrl ( SiteConfig siteConfig ) : string
GetMonthViewUrl ( System.DateTime month ) : string
GetMonthViewUrl ( SiteConfig siteConfig, System.DateTime month ) : string
GetObfuscatedEmailUrl ( string emailAddress ) : string
GetObfuscatedEmailUrl ( string emailAddress, string subject ) : string
GetObfuscatedString ( string input ) : string

Obfuscates a string using HTML character references (hex) and character entities. This is usefull for hiding e-mail addresses from spammers.

The resulant string has a mix of HTML character references, salted characters and character entities

GetPagedViewUrl ( SiteConfig siteConfig, int page ) : string
GetPagedViewUrl ( int page ) : string
GetPermaLinkUrl ( newtelligence.DasBlog.Runtime.Entry entry ) : string

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an Entry.

GetPermaLinkUrl ( SiteConfig siteConfig, newtelligence.DasBlog.Runtime.Entry entry ) : string

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an Entry.

GetPermaLinkUrl ( SiteConfig siteConfig, EntryIdCacheEntry e ) : string

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an EntryIdCacheEntry.

GetPermaLinkUrl ( SiteConfig siteConfig, string id ) : string

Gets the raw style permalink of a post. Does not return the Entry.CompressedTitle of an Entry.

GetPermaLinkUrl ( string id ) : string

Gets the raw style permalink of a post. Does not return the Entry.CompressedTitle of an Entry.

GetProfileViewUrl ( SiteConfig siteConfig, string userName, bool profileMapping ) : string
GetRsdUrl ( ) : string
GetRsdUrl ( SiteConfig siteConfig ) : string
GetRssCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string

GetRssCategoryUrl ( string categoryName ) : string

GetRssUrl ( ) : string

GetRssUrl ( SiteConfig siteConfig ) : string
GetStartPageUrl ( ) : string
GetStartPageUrl ( SiteConfig siteConfig ) : string
GetStatusNotModified ( System.DateTime latest ) : bool
GetTrackbackDeleteUrl ( SiteConfig siteConfig, string entryId, string referralPermalink, TrackingType type ) : string
GetTrackbackDeleteUrl ( string entryId, string referralPermalink, TrackingType type ) : string
GetTrackbackUrl ( SiteConfig siteConfig, string id ) : string
GetTrackbackUrl ( string id ) : string
GetUserAgent ( ) : string
GetUserViewUrl ( SiteConfig siteConfig, string userName ) : string
GetUserViewUrl ( string userName ) : string
MapPath ( string virtualPath ) : string

Maps a virtual path to a physical path, respects the mapping rules from Server.MapPath.

MapUrl ( string requestUrl ) : string

Maps a re-written Url written using LinkRewriter to a normal PathAndQuery url.

ParseSearchString ( string referral ) : HyperLink
ReferralFromSelf ( SiteConfig siteConfig, string referral ) : bool
ReferralFromSelf ( string referral, string baseUri ) : bool
RelativeToRoot ( SiteConfig siteConfig, string relative ) : string
RelativeToRoot ( string relative ) : string
SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, TrackbackInfoCollection trackbackList, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, TrackbackInfoCollection trackbackList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, string trackbackUrl, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
SpamBlocker ( string email ) : string
UpdateEntry ( newtelligence.DasBlog.Runtime.Entry entry, string trackbackUrl, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : EntrySaveState

Private Methods

Method Description
ApplyUrlEncoding ( string content ) : string
BreakCache ( SiteConfig siteConfig, string categories ) : void
CanEdit ( IPrincipal user, newtelligence.DasBlog.Runtime.Entry entry ) : bool
ComposeMail ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig ) : newtelligence.DasBlog.Runtime.SendMailInfo
GetAdvancedGoogleQuery ( Hashtable queryString ) : string
InternalSaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, TrackbackInfoCollection trackbackList, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : EntrySaveState
LinkRewriter ( SiteConfig siteConfig, string link ) : string
LinkRewriter ( SiteConfig siteConfig, string link, string bookmark ) : string

TSC: LinkRewriter rewrites an given link for search robots.

RootUrl ( ) : string
RootUrl ( SiteConfig siteConfig ) : string
SendEmail ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig, ILoggingDataService logService ) : void

Send an email notification that an entry has been made.

Method Details

ApplyClickThrough() public static method

public static ApplyClickThrough ( SiteConfig siteConfig, string entryId, string content ) : string
siteConfig SiteConfig
entryId string
content string
return string

ApplyContentFilters() public static method

public static ApplyContentFilters ( SiteConfig siteConfig, string content ) : string
siteConfig SiteConfig
content string
return string

AreCommentsAllowed() public static method

public static AreCommentsAllowed ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig ) : bool
entry newtelligence.DasBlog.Runtime.Entry
siteConfig SiteConfig
return bool

ClipString() public static method

public static ClipString ( string text, int length ) : string
text string
length int
return string

ClipString() public static method

public static ClipString ( string text, int length, string trailer ) : string
text string
length int
trailer string
return string

DeleteEntry() public static method

Deletes an entry, including comments enclosures etc.
Admins can delete all, contributors only their own.
public static DeleteEntry ( string entryId, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entryId string The entry to delete.
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

FilterContent() public static method

public static FilterContent ( SiteConfig siteConfig, string entryId, string content ) : string
siteConfig SiteConfig
entryId string
content string
return string

FilterContent() public static method

public static FilterContent ( string entryId, string content ) : string
entryId string
content string
return string

FilterHtml() public static method

public static FilterHtml ( string input, ValidTagCollection allowedTags ) : string
input string
allowedTags ValidTagCollection
return string

FindHyperLinks() public static method

public static FindHyperLinks ( string content ) : MatchCollection
content string
return System.Text.RegularExpressions.MatchCollection

GetAdminPageUrl() public static method

public static GetAdminPageUrl ( ) : string
return string

GetAdminPageUrl() public static method

public static GetAdminPageUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetAggregatorBugUrl() public static method

public static GetAggregatorBugUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetAtomCategoryUrl() public static method

public static GetAtomCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string
siteConfig SiteConfig
categoryName string
return string

GetAtomCategoryUrl() public static method

public static GetAtomCategoryUrl ( string categoryName ) : string
categoryName string
return string

GetAtomUrl() public static method

public static GetAtomUrl ( ) : string
return string

GetAtomUrl() public static method

public static GetAtomUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetBaseUrl() public static method

public static GetBaseUrl ( ) : string
return string

GetBaseUrl() public static method

public static GetBaseUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetBloggerUrl() public static method

public static GetBloggerUrl ( ) : string
return string

GetBloggerUrl() public static method

public static GetBloggerUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetCategoryViewUrl() public static method

public static GetCategoryViewUrl ( SiteConfig siteConfig, string categoryName ) : string
siteConfig SiteConfig
categoryName string
return string

GetCategoryViewUrl() public static method

public static GetCategoryViewUrl ( SiteConfig siteConfig, string categoryName, int page ) : string
siteConfig SiteConfig
categoryName string
page int The page this link points to, or 0 (zero) when there is no paging.
return string

GetCategoryViewUrl() public static method

public static GetCategoryViewUrl ( string categoryName ) : string
categoryName string
return string

GetCategoryViewUrl() public static method

public static GetCategoryViewUrl ( string categoryName, int page ) : string
categoryName string
page int The page this link points to, or 0 (zero) when there is no paging.
return string

GetCdfUrl() public static method

public static GetCdfUrl ( ) : string
return string

GetCdfUrl() public static method

public static GetCdfUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetClickThroughUrl() public static method

public static GetClickThroughUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetCommentApproveUrl() public static method

public static GetCommentApproveUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
siteConfig SiteConfig
entryId string
commentId string
return string

GetCommentApproveUrl() public static method

public static GetCommentApproveUrl ( string targetEntryId, string commentId ) : string
targetEntryId string
commentId string
return string

GetCommentDeleteUrl() public static method

public static GetCommentDeleteUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
siteConfig SiteConfig
entryId string
commentId string
return string

GetCommentDeleteUrl() public static method

public static GetCommentDeleteUrl ( string targetEntryId, string commentId ) : string
targetEntryId string
commentId string
return string

GetCommentReportUrl() public static method

public static GetCommentReportUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
siteConfig SiteConfig
entryId string
commentId string
return string

GetCommentViewUrl() public static method

public static GetCommentViewUrl ( SiteConfig siteConfig, string entryId ) : string
siteConfig SiteConfig
entryId string
return string

GetCommentViewUrl() public static method

public static GetCommentViewUrl ( SiteConfig siteConfig, string entryId, string commentId ) : string
siteConfig SiteConfig
entryId string
commentId string
return string

GetCommentViewUrl() public static method

public static GetCommentViewUrl ( string targetEntryId ) : string
targetEntryId string
return string

GetCommentViewUrl() public static method

public static GetCommentViewUrl ( string targetEntryId, string commentId ) : string
targetEntryId string
commentId string
return string

GetCommentsRssUrl() public static method

public static GetCommentsRssUrl ( ) : string
return string

GetCommentsRssUrl() public static method

public static GetCommentsRssUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetCompressedTitleUrl() public static method

public static GetCompressedTitleUrl ( SiteConfig siteConfig, string title ) : string
siteConfig SiteConfig
title string
return string

GetCompressedTitleUrl() public static method

Gets the compressed title URL.
public static GetCompressedTitleUrl ( string title ) : string
title string Title.
return string

GetCrosspostTrackingUrlBase() public static method

public static GetCrosspostTrackingUrlBase ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetDayViewUrl() public static method

public static GetDayViewUrl ( System.DateTime day ) : string
day System.DateTime
return string

GetDayViewUrl() public static method

public static GetDayViewUrl ( SiteConfig siteConfig, System.DateTime day ) : string
siteConfig SiteConfig
day System.DateTime
return string

GetEditViewUrl() public static method

public static GetEditViewUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetEditViewUrl() public static method

public static GetEditViewUrl ( string id ) : string
id string
return string

GetEnclosureLinkUrl() public static method

public static GetEnclosureLinkUrl ( SiteConfig siteConfig, string id, Attachment attachment ) : string
siteConfig SiteConfig
id string
attachment Attachment
return string

GetEnclosureLinkUrl() public static method

public static GetEnclosureLinkUrl ( string id, Attachment attachment ) : string
id string
attachment Attachment
return string

GetEntryCommentsRssUrl() public static method

public static GetEntryCommentsRssUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetEntryCommentsRssUrl() public static method

public static GetEntryCommentsRssUrl ( string id ) : string
id string
return string

GetFeedCategoryUrl() public static method

public static GetFeedCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string
siteConfig SiteConfig
categoryName string
return string

GetFeedCategoryUrl() public static method

public static GetFeedCategoryUrl ( string categoryName ) : string
categoryName string
return string

GetFeedUrl() public static method

Returns the Rss Url, where the default protocol "http" is replaced by the standard "feed" protocol
public static GetFeedUrl ( ) : string
return string

GetFeedUrl() public static method

Returns the Rss Url, where the default protocol "http" is replaced by the standard "feed" protocol
public static GetFeedUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig SiteConfig
return string

GetLatestModifedCommentDateTime() public static method

public static GetLatestModifedCommentDateTime ( IBlogDataService dataService, CommentCollection comments ) : System.DateTime
dataService IBlogDataService
comments CommentCollection
return System.DateTime

GetLatestModifedEntryDateTime() public static method

public static GetLatestModifedEntryDateTime ( IBlogDataService dataService, EntryCollection entries ) : System.DateTime
dataService IBlogDataService
entries EntryCollection
return System.DateTime

GetMicrosummaryUrl() public static method

public static GetMicrosummaryUrl ( ) : string
return string

GetMicrosummaryUrl() public static method

public static GetMicrosummaryUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetMonthViewUrl() public static method

public static GetMonthViewUrl ( System.DateTime month ) : string
month System.DateTime
return string

GetMonthViewUrl() public static method

public static GetMonthViewUrl ( SiteConfig siteConfig, System.DateTime month ) : string
siteConfig SiteConfig
month System.DateTime
return string

GetObfuscatedEmailUrl() public static method

public static GetObfuscatedEmailUrl ( string emailAddress ) : string
emailAddress string
return string

GetObfuscatedEmailUrl() public static method

public static GetObfuscatedEmailUrl ( string emailAddress, string subject ) : string
emailAddress string
subject string
return string

GetObfuscatedString() public static method

Obfuscates a string using HTML character references (hex) and character entities. This is usefull for hiding e-mail addresses from spammers.
The resulant string has a mix of HTML character references, salted characters and character entities
public static GetObfuscatedString ( string input ) : string
input string The string to obfuscate.
return string

GetPagedViewUrl() public static method

public static GetPagedViewUrl ( SiteConfig siteConfig, int page ) : string
siteConfig SiteConfig
page int
return string

GetPagedViewUrl() public static method

public static GetPagedViewUrl ( int page ) : string
page int
return string

GetPermaLinkUrl() public static method

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an Entry.
public static GetPermaLinkUrl ( newtelligence.DasBlog.Runtime.Entry entry ) : string
entry newtelligence.DasBlog.Runtime.Entry
return string

GetPermaLinkUrl() public static method

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an Entry.
public static GetPermaLinkUrl ( SiteConfig siteConfig, newtelligence.DasBlog.Runtime.Entry entry ) : string
siteConfig SiteConfig
entry newtelligence.DasBlog.Runtime.Entry
return string

GetPermaLinkUrl() public static method

Gets the permalink of a post based on the SiteConfig.EnableTitlePermaLink. Does not return the Entry.CompressedTitle of an EntryIdCacheEntry.
public static GetPermaLinkUrl ( SiteConfig siteConfig, EntryIdCacheEntry e ) : string
siteConfig SiteConfig
e newtelligence.DasBlog.Runtime.EntryIdCacheEntry
return string

GetPermaLinkUrl() public static method

Gets the raw style permalink of a post. Does not return the Entry.CompressedTitle of an Entry.
public static GetPermaLinkUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetPermaLinkUrl() public static method

Gets the raw style permalink of a post. Does not return the Entry.CompressedTitle of an Entry.
public static GetPermaLinkUrl ( string id ) : string
id string
return string

GetProfileViewUrl() public static method

public static GetProfileViewUrl ( SiteConfig siteConfig, string userName, bool profileMapping ) : string
siteConfig SiteConfig
userName string
profileMapping bool
return string

GetRsdUrl() public static method

public static GetRsdUrl ( ) : string
return string

GetRsdUrl() public static method

public static GetRsdUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetRssCategoryUrl() public static method

public static GetRssCategoryUrl ( SiteConfig siteConfig, string categoryName ) : string
siteConfig SiteConfig
categoryName string
return string

GetRssCategoryUrl() public static method

public static GetRssCategoryUrl ( string categoryName ) : string
categoryName string
return string

GetRssUrl() public static method

public static GetRssUrl ( ) : string
return string

GetRssUrl() public static method

public static GetRssUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetStartPageUrl() public static method

public static GetStartPageUrl ( ) : string
return string

GetStartPageUrl() public static method

public static GetStartPageUrl ( SiteConfig siteConfig ) : string
siteConfig SiteConfig
return string

GetStatusNotModified() public static method

public static GetStatusNotModified ( System.DateTime latest ) : bool
latest System.DateTime
return bool

GetTrackbackDeleteUrl() public static method

public static GetTrackbackDeleteUrl ( SiteConfig siteConfig, string entryId, string referralPermalink, TrackingType type ) : string
siteConfig SiteConfig
entryId string
referralPermalink string
type TrackingType
return string

GetTrackbackDeleteUrl() public static method

public static GetTrackbackDeleteUrl ( string entryId, string referralPermalink, TrackingType type ) : string
entryId string
referralPermalink string
type TrackingType
return string

GetTrackbackUrl() public static method

public static GetTrackbackUrl ( SiteConfig siteConfig, string id ) : string
siteConfig SiteConfig
id string
return string

GetTrackbackUrl() public static method

public static GetTrackbackUrl ( string id ) : string
id string
return string

GetUserAgent() public static method

public static GetUserAgent ( ) : string
return string

GetUserViewUrl() public static method

public static GetUserViewUrl ( SiteConfig siteConfig, string userName ) : string
siteConfig SiteConfig
userName string
return string

GetUserViewUrl() public static method

public static GetUserViewUrl ( string userName ) : string
userName string
return string

MapPath() public static method

Maps a virtual path to a physical path, respects the mapping rules from Server.MapPath.
public static MapPath ( string virtualPath ) : string
virtualPath string The virtual path to map.
return string

MapUrl() public static method

Maps a re-written Url written using LinkRewriter to a normal PathAndQuery url.
public static MapUrl ( string requestUrl ) : string
requestUrl string The re-written url
return string

ParseSearchString() public static method

public static ParseSearchString ( string referral ) : HyperLink
referral string
return System.Web.UI.WebControls.HyperLink

ReferralFromSelf() public static method

public static ReferralFromSelf ( SiteConfig siteConfig, string referral ) : bool
siteConfig SiteConfig
referral string
return bool

ReferralFromSelf() public static method

public static ReferralFromSelf ( string referral, string baseUri ) : bool
referral string
baseUri string
return bool

RelativeToRoot() public static method

public static RelativeToRoot ( SiteConfig siteConfig, string relative ) : string
siteConfig SiteConfig
relative string
return string

RelativeToRoot() public static method

public static RelativeToRoot ( string relative ) : string
relative string
return string

SaveEntry() public static method

public static SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entry newtelligence.DasBlog.Runtime.Entry
crosspostList CrosspostInfoCollection
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

SaveEntry() public static method

public static SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entry newtelligence.DasBlog.Runtime.Entry
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

SaveEntry() public static method

public static SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, TrackbackInfoCollection trackbackList, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entry newtelligence.DasBlog.Runtime.Entry
trackbackList TrackbackInfoCollection
crosspostList CrosspostInfoCollection
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

SaveEntry() public static method

public static SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, TrackbackInfoCollection trackbackList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entry newtelligence.DasBlog.Runtime.Entry
trackbackList TrackbackInfoCollection
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

SaveEntry() public static method

public static SaveEntry ( newtelligence.DasBlog.Runtime.Entry entry, string trackbackUrl, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : void
entry newtelligence.DasBlog.Runtime.Entry
trackbackUrl string
crosspostList CrosspostInfoCollection
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return void

SpamBlocker() public static method

public static SpamBlocker ( string email ) : string
email string
return string

UpdateEntry() public static method

public static UpdateEntry ( newtelligence.DasBlog.Runtime.Entry entry, string trackbackUrl, CrosspostInfoCollection crosspostList, SiteConfig siteConfig, ILoggingDataService logService, IBlogDataService dataService ) : EntrySaveState
entry newtelligence.DasBlog.Runtime.Entry
trackbackUrl string
crosspostList CrosspostInfoCollection
siteConfig SiteConfig
logService ILoggingDataService
dataService IBlogDataService
return EntrySaveState