C# 클래스 Subtext.Framework.Util.WebPathStripper

Summary description for WebPathStripper.
파일 보기 프로젝트 열기: ayende/Subtext

공개 메소드들

메소드 설명
GetCategryFromRss ( string url ) : string

Return the value of a url between /category/ and /rss

GetDateFromRequest ( string uri, string archiveText ) : System.DateTime
GetEntryIDFromUrl ( string url ) : int

Gets the entry ID from URL.

RemoveRssSlash ( string url ) : string

Removes the trailing RSS slash if there.

YearFromRequest ( string uri ) : int

Parses out the year from the request.

비공개 메소드들

메소드 설명
CleanEndDateString ( string uri ) : string
CleanStartDateString ( string uri, string archiveText ) : string

메소드 상세

GetCategryFromRss() 공개 정적인 메소드

Return the value of a url between /category/ and /rss
public static GetCategryFromRss ( string url ) : string
url string
리턴 string

GetDateFromRequest() 공개 정적인 메소드

public static GetDateFromRequest ( string uri, string archiveText ) : System.DateTime
uri string
archiveText string
리턴 System.DateTime

GetEntryIDFromUrl() 공개 정적인 메소드

Gets the entry ID from URL.
Thrown if the specified url is null. Thrown if the specified url does not have an entry id.
public static GetEntryIDFromUrl ( string url ) : int
url string The URI.
리턴 int

RemoveRssSlash() 공개 정적인 메소드

Removes the trailing RSS slash if there.
public static RemoveRssSlash ( string url ) : string
url string URL.
리턴 string

YearFromRequest() 공개 정적인 메소드

Parses out the year from the request.
public static YearFromRequest ( string uri ) : int
uri string The URI.
리턴 int