public string[] GetAllWords(rss inputXML) { // Obtendo todos os textos var all = string.Join("", inputXML.channel.item.Select(x => x.encoded + x.description)); var words = this.GetWords(all); return(words.ToArray()); }
public rss GetTopics() { rss outputXML = new rss(); Auxiliar auxiliar = new Auxiliar(); try { outputXML = auxiliar.DeSerializeXMLOnline <rss>(); } catch (Exception ex) { outputXML = auxiliar.DeSerializeXMLLocal <rss>(); } // string path = ""; return(outputXML); }