C# 클래스 Decision.Common.Extentions.SeoExtensions

파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
AuthorGooglePlusLink ( string googlePlusId, string virtualImageUrl, int imageWidth, int imageHeight ) : string
GenerateMetaTag ( string title, string description, string canonicalUrl, string googlePlusUrl, bool allowIndexPage, bool allowCache, bool allowFollowLinks, string author = "", string lastmodified = "", string expires = "never", string applicationName = "web app", string language = "fa", CacheControlType cacheControlType = CacheControlType.Private, bool allowTranslate = true ) : string
GeneratePageDescription ( string description ) : string
GeneratePageTitle ( ) : string
GenerateRichSnippetForRating ( string personName, string personWritedItemsUrl, string itemTitle, int ratersCount, int ratingValue, string itemtype = "Product" ) : string
GenerateSlug ( this title ) : string
GenerateSocialSnippet ( ) : string
GetKeywords ( string urlReferrer ) : string
ResolveTitleForUrl ( string title ) : string
ResolveTitleForUrl ( this htmlHelper, string title ) : string
ToSeoUrl ( this url ) : string

비공개 메소드들

메소드 설명
RemoveAccent ( this text ) : string

메소드 상세

AuthorGooglePlusLink() 공개 정적인 메소드

public static AuthorGooglePlusLink ( string googlePlusId, string virtualImageUrl, int imageWidth, int imageHeight ) : string
googlePlusId string
virtualImageUrl string
imageWidth int
imageHeight int
리턴 string

GenerateMetaTag() 공개 정적인 메소드

public static GenerateMetaTag ( string title, string description, string canonicalUrl, string googlePlusUrl, bool allowIndexPage, bool allowCache, bool allowFollowLinks, string author = "", string lastmodified = "", string expires = "never", string applicationName = "web app", string language = "fa", CacheControlType cacheControlType = CacheControlType.Private, bool allowTranslate = true ) : string
title string
description string
canonicalUrl string
googlePlusUrl string
allowIndexPage bool
allowCache bool
allowFollowLinks bool
author string
lastmodified string
expires string
applicationName string
language string
cacheControlType CacheControlType
allowTranslate bool
리턴 string

GeneratePageDescription() 공개 정적인 메소드

public static GeneratePageDescription ( string description ) : string
description string
리턴 string

GeneratePageTitle() 공개 정적인 메소드

public static GeneratePageTitle ( ) : string
리턴 string

GenerateRichSnippetForRating() 공개 정적인 메소드

public static GenerateRichSnippetForRating ( string personName, string personWritedItemsUrl, string itemTitle, int ratersCount, int ratingValue, string itemtype = "Product" ) : string
personName string
personWritedItemsUrl string
itemTitle string
ratersCount int
ratingValue int
itemtype string
리턴 string

GenerateSlug() 공개 정적인 메소드

public static GenerateSlug ( this title ) : string
title this
리턴 string

GenerateSocialSnippet() 공개 정적인 메소드

public static GenerateSocialSnippet ( ) : string
리턴 string

GetKeywords() 공개 정적인 메소드

public static GetKeywords ( string urlReferrer ) : string
urlReferrer string
리턴 string

ResolveTitleForUrl() 공개 정적인 메소드

public static ResolveTitleForUrl ( string title ) : string
title string
리턴 string

ResolveTitleForUrl() 공개 정적인 메소드

public static ResolveTitleForUrl ( this htmlHelper, string title ) : string
htmlHelper this
title string
리턴 string

ToSeoUrl() 공개 정적인 메소드

public static ToSeoUrl ( this url ) : string
url this
리턴 string