private Entry GenerateEntry(object resource)
        {
            var item = new Entry
            {
                Title = "(title)",
                Id = "(entry-url)",
                PublicDate = GetUpdatedAt(resource),
                Content = resource.AsXml()
            };

            return item;
        }
        private XElement EntryInXml(Entry item)
        {
            var element = new XElement(ns + "entry",
                                       new XElement(ns + "title", item.Title),
                                       new XElement(ns + "id", item.Id),
                                       new XElement(ns + "updated",
                                                    item.PublicDate));

            element.Add(new XElement(contentNs + "content",
                                     new XAttribute("type", "application/xml"),
                                     XElement.Parse(item.Content)));
            return element;
        }