Skip to content

Handle the problem of the Clarkes #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
patrickmj opened this issue Aug 18, 2012 · 0 comments
Open

Handle the problem of the Clarkes #12

patrickmj opened this issue Aug 18, 2012 · 0 comments
Labels

Comments

@patrickmj
Copy link
Owner

In the bibliography.xml and front.xml files, Mary and Charles Clark are encoded in the following ways

  1. <name type="app">Charles &amp; Mary Cowden Clarke</name>
  2. <author>Clarke, Charles Cowden</author>
  3. <author display="book(ldash)">Clarke, Charles Cowden</author>, &amp; <author>Mary Cowden Clarke</author>
  4. <author>Clarke, Mary</author>
  5. <author>Cowden Clarke, Charles &amp; Mary</author>

I need to watch for these cases in the import process and parse them out.

This will involve creating new individual authors for the two in getCommentators and manually adding to the list of $commentatorNodes to process somehow.

There doesn't seem to be a way to directly add a node to a DOMNodeList, so after parsing out, creating, and normalizing the names, create a second array of nodes to go through the same process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant