Skip to content

Parse byline fix - #132

Merged
codelucas merged 8 commits into
codelucas:masterfrom
davecrumbacher:parse-byline-fix
Jan 10, 2016
Merged

Parse byline fix#132
codelucas merged 8 commits into
codelucas:masterfrom
davecrumbacher:parse-byline-fix

Conversation

@davecrumbacher

Copy link
Copy Markdown

I found a couple cases where the author was not getting extracted correctly:

  • If the name has a period in it, e.g. Tyler G. Jones, it drops the last name (Tyler G.)
  • If the name is hyphenated, e.g. Jessica Silver-Greenberg, it would not capitalize the last name (Jessica Silver-greenberg)

This pull request addresses both of these issues. Thanks.

@davecrumbacher

Copy link
Copy Markdown
Author

It looks like a test is failing, so I am closing this for now. Will re-open and include changes to tests after I've resolved it.

@codelucas

Copy link
Copy Markdown
Owner

👍 Thanks for the PR anyways, looking forward to the updated version

@davecrumbacher

Copy link
Copy Markdown
Author

Okay, I have made some more changes, including the tests. I modified the sample HTML file to include a more complex list of authors. The tests are passing, but please comment if you see any potential troubles with this approach.

codelucas added a commit that referenced this pull request Jan 10, 2016
@codelucas
codelucas merged commit 6858559 into codelucas:master Jan 10, 2016
@codelucas

Copy link
Copy Markdown
Owner

Merged finally, thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants