Open golnazads opened 1 year ago
@aaccomazzi I mapped doctype to JATS as listed here https://jats.taylorandfrancis.com/jats-guide/topics/references/#type-of-publication
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
JATS | ADS -- | -- book | book, inproceedings, inbook confproc | proceedings journal | article, abstract, eprint thesis | phdthesis, mastersthesis software | software report | techreport review | bookreview other | circular, editorial, erratum, misc, newsletter, obituary, pressrelease, proposal, talk
Implement JATS export format.
Main Reference: https://jats.taylorandfrancis.com/jats-guide/topics/references/
It seems that JATS format is more like BibTex that needs to export different fields based on doctype. According to this reference there are 5 formats listed below.
@aaccomazzi we have put some limitation on export service by deciding that export does not do any field extraction and relies on the database to provide the fielded data. This limitation prevents exporting the formats as specified. Including: 1- Conference format requires conference name/location. 2- Book with editor and Book requires publisher name/location. Also Book format has specified edition. 3- Collaboration has its own tag. 4- Report has also specified location and link.
There are five JATS formats. Not sure how to many the rest of ADS doctypes (bookreview, editorial, obituary, misc, erratum, phdthesis, pressrelease, circular, software, software, newsletter, proposal, mastersthesis, talk, inbook, abstract) to these.
If we ignore conference name/location, publisher name/location then we can have one format for all doctype to include, publication-type, person-group (include editor if available), year, title, journal if available, volume if available, issue if available, first page if available, last page if available, doi if available. Thoughts?
1-Journal Article (doctype: article, eprint) \<ref id="CIT0002"> \<label>2.\</label> \<mixed-citation publication-type="journal"> \<person-group person-group-type="author">\<string-name>\<surname>lastname\</surname>, \<given-names>first inital\</given-names>\</string-name> more authors\</person-group> (\<year>year\</year>) \<article-title>title\</article-title>. \<source>\<italic>journal\</italic>\</source>, \<volume>volume\</volume> (\<issue>issue if available\</issue>):\<fpage>first page\</fpage> #x2013;\<lpage>last page if available\</lpage>. doi:\<pub-id pub-id-type="doi">doi\</pub-id> \</mixed-citation> \</ref>
2- Conference (doctype: proceedings) \<ref id="CIT0005"> \<label>5.\</label> \<mixed-citation publication-type="confproc"> \<person-group person-group-type="author">\<string-name>\<surname>lastname\</surname>, \<given-names>first inital\</given-names>\</string-name> other authors\</person-group> (\<year>year\</year>) \<article-title>title\</article-title>, \<conf-name>need to extract the from pub_raw?\</conf-name>, \<conf-loc>again in pub_raw\</conf-loc>, \<month>is available in ADS\</month> \<year>year\</year>. \</mixed-citation>\</ref>
3- Book with editor (doctype: inproceedings) \<ref id="CIT0128"> \<label>128.\</label> \<mixed-citation publication-type="book"> \<person-group person-group-type="author">\<string-name>\<surname>lastname\</surname>, \<given-names>first inital\</given-names>\</string-name>, other authors\</person-group> (\<year>2009\</year>) \<source>\<italic>title\</italic>\</source>; \<person-group person-group-type="editor">\<string-name>\<surname>lastname\</surname>\</string-name>, \<etal>et al.\</etal>, \<role>Eds.\</person-group>; \<publisher-name>in pub_raw\</publisher-name>: \<publisher-loc>in pub_raw\</publisher-loc>, \<fpage>first page\</fpage> #x2013;\<lpage>last page if available\</lpage>. \</mixed-citation> \</ref>
4- Book, second edition (doctype: book) \<ref id="CIT0016"> \<mixed-citation publication-type="book"> \<person-group person-group-type="author">\<collab>could be collaboration\</collab>\</person-group>. (\<year>2009\</year>). \<source>\<italic>title\</italic>\</source> (\<edition>is this available in ADS\</edition> ed.). \<publisher-loc>in pub_raw\</publisher-loc>: \<publisher-name>in pub_raw\</publisher-name>. \</mixed-citation> \</ref>
5- Report (doctype: techreport) \<ref id="CIT0023"> \<mixed-citation publication-type="report"> \<person-group person-group-type="author">\<collab>could be collaboration\</collab>\</person-group>. (\<year>2008\</year>). \<source>title\</source>. \<publisher-loc>in pub_raw\</publisher-loc>: \<publisher-name>in pub_raw\</publisher-name>. Retrieved from \<ext-link ext-link-type="uri" xlink:href="is this available in ADS" >link here too if available in ADS\</ext-link> \</mixed-citation> \</ref>
Other References: 1- https://jats.nlm.nih.gov/ 2- https://github.com/mfenner/pandoc-jats 3- https://dtd.nlm.nih.gov/archiving/tag-library/3.0/index.html?attr=article-type to map ADS doctype to JATS doctype. 4- For keywords https://jats.nlm.nih.gov/publishing/tag-library/1.1d2/chapter/tag-keywords.html 5- https://jats.nlm.nih.gov/archiving/tag-library/0.4/n-3bw0.html 6- https://github.com/mfenner/pandoc-jats/blob/master/jats.csl 7- https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/dobs.html#dob-refs 8- https://typeset.io/resources/jats-xml-everything-a-publisher-needs-to-know/ 9- https://jats4r.org/software-citations/#examples