.. pcprograms documentation master file, created by You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. XML Exporter (for PubMed and ISI) ================================= DOS Batch program to export XML and SGML files to PubMed and ISI. Located in c:\\scielo\\xml_scielo. For PubMed, there are two types of files: - Journal data: http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=helplinkout.section.files.Resource_File#files.Resource_File_Format. Sent once or every time the journal data was changed. - Articles data: http://www.ncbi.nlm.nih.gov/entrez/query/static/spec.html Sent one XML file for each issue. Configuration ------------- If it is the first installation, you have some procedures to execute. There is a file in c:\\scielo\\xml_scielo\\config.example. You have to copy and rename it to **config**. Configure the files: - PubMed\\doi_conf.txt - PubMed\\config\\config.seq - PubMed\\journals\\journals.seq File doi_conf.txt ................. It contains the data of the Publisher and the prefix given by CrossRef, according to the agreement signed by CrossRef and the SciELO of each country. IF YOUR SCIELO DOES NOT HAVE IT. SO THIS FILE MUST BE EMPTY. INSTITUTION SPACE E-MAIL SPACE PREFIX .. image:: img/xml_scielo_doiconf.jpg File config\\config.seq ....................... The file config\config.seq is to inform to the program which articles or text must not be sent to PubMed, because some kind of documents are not accepted, and it is know by the section in the table of contents. Acronym space sectionId .. image:: img/xml_scielo_scilista.jpg File journals\\journals.seq ........................... This file journals\\journals.seq contains data used to generate XML file of the journal: journals_acronimo.xml. This is the first XML file which must be sent to PubMed in order to register the journal. Read more: http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=helplinkout.section.files.Resource_File#files.Resource_File_Format. Its format is: ACRONYM SPACE FIRST_YEAR_IN_PubMed SPACE SCIELO_URL SPACE ISSN One line for each journal. .. image:: img/xml_scielo_journal.jpg Executing --------- It has to be executed using the command line in DOS. .. image:: img/xml_scielo_doscommand.jpg Go to the folder where this program is installed. E.g.: c:\\scielo\\xml_scielo\\proc\\. .. image:: img/xml_scielo_doscommand2.jpg In proc you will find three scripts: - GenerateXML_all.bat: generates at the same time ISI and PubMed - GenerateXML_ISI.bat: generates SGML to ISI - GenerateXML_PubMed.bat: generates XML to PubMed .. image:: img/xml_scielo_doscommand3.jpg Provide a list similar to scilist, to execute any of them. The program will open the scilist file and you have to check it, and include or remove lines, according to what you want to generate. .. image:: img/xml_scielo_doscommand4.jpg To generate also the XML file which contains journal data, journals_.xml, add one more parameter “YES”: .. code-block:: text hcsm v13n2 YES To generate ONLY the XML file which contains journal data, journals_.xml, the second parameter must be “NONE” and third one must be YES. .. code-block:: text hcsm NONE YES To generate XML file of ahead articles, use as: - fourth parameter: the start date - fifth parameter: the end date .. code-block:: text hcsm 2014nahead YES 20140100 20140228 The program will generate the XML file for articles which has ahpdate (publication date of ahead) between 20140100 and 20140228. The name of the XML file will be hcsm2014nahead20140100-20140228.xml. .. pcprograms documentation master file, created by You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. SciELO XML to PubMed XML ======================== Program to export XML to PubMed, according to http://www.ncbi.nlm.nih.gov/books/NBK3828/, using SciELO XML (SciELO Publishing Schema). How to execute -------------- Double clicking on c:\\scielo\\bin\\xml\\xml_pubmed.py .. image:: img/xml2pubmed_window.png Select the issue folder .. image:: img/xml2pubmed_chose_folder.png Only if issue is published on batches, such aop or rolling pass, you should inform **from date** to generate XML for the article published from this date to the current date. Then click on OK button. According to the example, the program will create the file: v:\\scielo\\serial\\rsp\\v48n5\\PubMed\\rsp-v48n5-20160510-20160523.xml, containing articles which have epub date between 20160510 and the current date. .. image:: img/xml2pubmed_from_date.png If it is not an issue published on batches, click on OK button. According to the example, the program will create the file: v:\\scielo\\serial\\rsp\\v48n5\\PubMed\\rsp-v48n5.xml. .. image:: img/xml2pubmed_chosen_folder.png Or execute it on a terminal: .. image:: img/xml2pubmed_terminal.png Optionally informing the **from date** .. image:: img/xml2pubmed_terminal_from_date.png