Child pages
  • XML-first publishing for full-text, HTML articles
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Workflow

Begin documenting workflow used to turn PDFs into XML

first article (Magli) encoded for 1.1 publication so far

1. All the elements in html will be in lowercase. Hence, convert all the UPPERCASE in the elements into lowercase, such as:
 - <h1>, <h2>, <h3>
 - <p>
 - <figure>
 - <ImageData src> to <img src>
 - <li>
 - <table>
 - <td>
 - <tr> 

2. Starting of normalization of XML to HTML with the following standard. A CSS sheet is made to accommodate all of the SDH articles. 

<!DOCTYPE html>

<html>
<body>
<article>
<header>
<h1>TheTitleOfTheArticle</h1>

<div class="byline">
thePaper'sAuthor
</div>
</header>

<hr>gray line that separate sections

<div class="abstract">
<p></p>
</div>

<hr>gray line that separate sections

<div class="data">
<p><span class="bold">Key words:</span><br/>
</p>

<p><span class="bold">SDH Reference:</span><br/>

<span class="doi">doiAddressFormat:"https://doi.org/##.###"</span>
</p>
</div>

<hr>gray line that separate sections
<br/>

<section>
<h2>SectionTitle</h2>


<p class="center"></p>

<p><span class="sup"></span> <span class="bold"></span></p>

<div class="rights">
<p>author'sAddress,ContactInfo,etc</p>
<p>copyrightsInfo</p>
</div>

<hr>gray line that separate sections
<br/>

<span id="page">pageFooter/Header</span>
<div class="clear"></div><br/>


<figure>
<img alt="graph" class="graph" src="img01.jpg">
<figcaption>Fig.1Caption</figcaption>
</figure>


<figure>
<img alt="sim" scr="img02.jpg">
<figcaption>Fig.2Caption</figcaption>
</figure>
</section>

<section>
<h2>ReferencesSectionTitle</h2>
<div class="reference">
<p>reference1</p>
<p>reference2</p>
</div>
</section>

<section>
<h2>AppendixSectionTitle</h2>
<table>
<caption>tableCaption</caption>
<thead>
<tr>tableRow
<th>tableHeader</th>
<th>tableHeader</th>
</tr>
</thead>

<tbody>
<tr>
<td>tableData</td>
<td>tableData</td>
</tr>
</tbody>
</table>
</section>

</article>
</body>
</html>

Other Notes

1. OJS 3.0 incorporates a new plugin HtmlArticleGalleyPlugin.inc.php that may work in the future

  • New plugin needs further investigation
  • JIRA task IUSW-1242

References
https://github.com/MartinHinz/htmlArticleGalleyJNA
https://github.com/pkp/ojs/blob/master/plugins/generic/htmlArticleGalley/HtmlArticleGalleyPlugin.inc.php

2. Guide and wiki for OJS 3 https://www.gitbook.com/book/pkp/ojs3/details

 

  • No labels