Example #1
0
        protected void AddToStruct(uint id, string title, string journal, string volume,
                                   string year, string doi, string url, string author)
        {
            var data = new StructSpringer();

            data.ID      = id;
            data.TITLE   = title;
            data.JOURNAL = journal;
            data.VOLUME  = volume;
            data.YEAR    = year;
            data.DOI     = doi;
            data.URL     = url;
            data.AUTHOR  = author;
            StrSpri.Add(data);
        }
Example #2
0
        public void springer(object obiekty)
        {
            var    obiektyarray = (object[])obiekty;
            string search       = obiektyarray[0].ToString();
            var    datafr       = (int)obiektyarray[1];
            var    datato       = (int)obiektyarray[2];

            DownF("Springer", search + ".csv", "http://link.springer.com/search/csv?query=" + search);
            OrderedDictionary data = CSVtoListPar.Parser("Springer", search + ".csv");
            var structspri         = new StructSpringer();

            structspri.Dodawanie(data, datafr, datato);
            _listspringer = structspri.StrSpri;
            File.DeleteFile("Springer", search + ".csv");
            //File.SaveFile("Springer", search + ".bib", ListtoString.Parser(data));
            BazyTh.Endthread(3);
        }