C# Class Legacy.Blog.Manager

Manages to send out trackbacks and then pingbacks if trackbacks aren't supported by the linked site.
ファイルを表示 Open project: snahider/Test-Automation-NET

Public Methods

Method Description
Send ( IPublishable item, Uri itemUrl ) : void

Sends the trackback or pingback message. It will try to send a trackback message first, and if the refered web page doesn't support trackbacks, a pingback is sent.

SendNonStatic ( IPublishable item, Uri itemUrl ) : void
SendnOsTATIC ( IPublishable item, Uri itemUrl ) : void

Private Methods

Method Description
GetTrackBackUrlFromPage ( string input ) : Uri

Examines the web page source code to retrieve the trackback link from the RDF.

GetUrlsFromContent ( string content ) : IEnumerable

Gets all the URLs from the specified string.

Method Details

Send() public static method

Sends the trackback or pingback message. It will try to send a trackback message first, and if the refered web page doesn't support trackbacks, a pingback is sent.
public static Send ( IPublishable item, Uri itemUrl ) : void
item IPublishable /// The publishable item. ///
itemUrl System.Uri /// The item Url. ///
return void

SendNonStatic() public method

public SendNonStatic ( IPublishable item, Uri itemUrl ) : void
item IPublishable
itemUrl System.Uri
return void

SendnOsTATIC() public method

public SendnOsTATIC ( IPublishable item, Uri itemUrl ) : void
item IPublishable
itemUrl System.Uri
return void