Beispiel #1
0
        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());
        }
Beispiel #2
0
        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);
        }