private void saveProspectusesFromUrlsInXmlFile()
        {
            folderBrowserDialogToSaveProspectuses.ShowDialog();
            string folderSavePath = folderBrowserDialogToSaveProspectuses.SelectedPath + @"\";

            string [] urls =
                SPFileManagementUtils.GetListOfUrlsFromXmlFile(_URL_LIST_XML_FILE_PATH).ToArray();
            ProspectusRipping.BulkProspectusRipper ripper =
                new ProspectusRipping.BulkProspectusRipper(folderSavePath, urls);
            ripper.SaveProspectusesFromUrls(true, false, true, false);
            ripper.SaveExecutionSummary();
            ripper.SaveErrorLog();
            MessageBox.Show("Finished ripping prospectus documents.", "Done");
        }
        private void buttonRipProspectusFromURL_Click(object sender, EventArgs e)
        {
            bool saveCleanText     = checkBoxSaveCleanText.Checked;
            bool saveXmlDoc        = checkBoxCreateXmlDoc.Checked;
            bool saveHtml          = checkBoxSaveHtml.Checked;
            bool saveExecutionLogs = checkBoxSaveExecutionLogs.Checked;

            string [] urls = { textBoxURL.Text };

            ProspectusRipping.BulkProspectusRipper ripper =
                new ProspectusRipping.BulkProspectusRipper(_PROSPECTUS_FILES_FOLDER, urls);

            ripper.SaveProspectusesFromUrls(saveCleanText, saveXmlDoc, true, saveHtml);

            if (saveExecutionLogs)
            {
                ripper.SaveExecutionSummary();
                ripper.SaveErrorLog();
            }
            MessageBox.Show("Finished ripping URL to Trinity folder.", "Done");
            Application.Exit();
        }