private async Task <BrowserContent> GetArticleHtmlAsync(string url) { string html = null; var refs = new References(); try { Uri uri = new Uri(url); var articleTitle = uri.Segments.Last(); string[] splitUri = uri.Host.Split('.'); string language = splitUri[0]; string response = await GetAsync(url); if (!string.IsNullOrEmpty(response)) { html = HtmlEx.FilterMobileWiktionaryArticle(response, language); } refs.Title = articleTitle; refs.Link = UrlUtils.ConvMobWiktionaryToDesktop(url); refs.Source = "Wiktionary"; return(new BrowserContent(html, refs, true, ContentType.Article)); } catch (RemotingException) { } return(null); }