Continuing to build #IndieWeb Citation machine: h-cite markup for APA

In this post I describe the efforts of Martin and I to develop a system to create APA citation with the proper microformat2 markup.

Martin built an amazing first prototype:https://github.com/Zegnat/php-greg-cites I am now trying to write the formatting for the major APA types.

If you are in digital humanities I could use the same help with MLA

APA Formats

Book

<p class="h-cite"><span class="p-author h-card">Gee, James, Paul </span> <time class="dt-published">(2018)</time>. <span class="p-publication" style="em">Anti-education era: Creating Smarter Students Through Digital Learning. </span>.<span class="p-locality">New York</span>: <span class="p-publisher>Macmillan</span></p>

Chapter in Book

<p class="h-cite"><span class="p-author h-card">Family Name, Given Name</span><time class="dt-published">(2018)</time>.<span class="p-name">Chapter title</a>. In <span class="h-card">Editor Given Name first initial, Family Name</span> (eds.)  <span class="p-name" style="em">Title of Book</span>(pages of chapter).<span class="p-locality">New York</span>: <span class="p-publisher>Macmillan</span></p>

I will keep adding to these I we move along. If you want to contribute please hop in and add citation styles as an issue in the GitHub repo.


Also published on Medium.

5 responses on “Continuing to build #IndieWeb Citation machine: h-cite markup for APA”

Leave a Reply

Your email address will not be published. Required fields are marked *