Include additional split to 'parse_fullname' to address new LinkedIn formatting

#282 Merged at 47fdb45
Repository
lijantropique
Branch
staging
Repository
LaNMaSteR53
Branch
staging
Author
  1. Oscar J. Delgado
Reviewers
Description

Apparently LinkedIn has changed the structure of the name to:

<full name> - <position \(optional\) > - <company> \| LinkedIn

As result, the ‘contacts’ table is not properly completed, and sometimes the first name field includes also job description and even the company, while the other fields are empty. Modules using this table (e.g. mangle) are affected as well.

Solution proposed: Add an additional split to break the new structure. Note that some names that uses hyphen are not affected as long as they don’t have spaces around the hyphen (which is very uncommon for names).

Comments (0)