public string GetVideoID() { int index = TitleUrl.IndexOf("=") + 1; string id = TitleUrl.Substring(index); return(id); }
public static string link_to_add_tag(TitleUrl input, TitleUrl tag, string tag_current_handle) { return(string.Format("<a href='/collections/{0}/{1}'>{2}</a>", tag_current_handle, tag.url, tag.title)); }