/// <summary> /// /// </summary> /// <param name="url"></param> /// <returns></returns> private async static Task <List <Blogger> > GetBloggerAsync(string url) { try { string xml = await HttpHelper.GetAsync(url); List <Blogger> bloggers = new List <Blogger>(); xml = xml.Replace(Constants.XmlNameSpace, "");//.Replace("&", ""); xml = RemoveInvalidCharacter(xml); XElement xElement = XElement.Parse(xml); int i = 1; foreach (XElement entry in xElement.Elements("entry")) { Blogger blogger = Blogger.Load(entry, i++); bloggers.Add(blogger); } return(bloggers); } catch (Exception exception) { System.Diagnostics.Debug.WriteLine(exception.Message); return(null); } }