You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix: Release v2.1.2: Issues around work history
- Fixes#41
- Addresses multiple issues around work history / experience; missing
titles, ordering, etc.
- Overhauled approach to extracting work entries. Extracted into common
method that always tries to retrieve history in order, and has multiple
fallbacks in the case of missing lookup paths
Copy file name to clipboardexpand all lines: README.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,12 @@ If I'm trying to assist you in solving an issue with this tool, I might have you
79
79
---
80
80
81
81
## Updates:
82
+
<details>
83
+
<summary>Update History (Click to Show / Hide)</summary>
84
+
82
85
Date | Release | Notes
83
86
--- | --- | ---
87
+
2/27/2021 | 2.1.2 | Fix: Multiple issues around work history / experience; missing titles, ordering, etc. Overhauled approach to extracting work entries.
84
88
12/19/2020 | 2.1.1 | Fix: Ordering of work history with new API endpoint ([#38](https://github.com/joshuatz/linkedin-to-jsonresume/issues/38))
85
89
12/7/2020 | 2.1.0 | Fix: Issue with multilingual profile, when exporting your own profile with a different locale than your profile's default. ([#37](https://github.com/joshuatz/linkedin-to-jsonresume/pull/37))
86
90
11/12/2020 | 2.0.0 | Support for multiple schema versions ✨ ([#34](https://github.com/joshuatz/linkedin-to-jsonresume/pull/34))
@@ -102,6 +106,7 @@ Date | Release | Notes
102
106
8/3/2019 | NA | Rewrote this tool as a browser extension instead of a bookmarklet to get around the CSP issue. Seems to work great!
103
107
7/22/2019 | NA | ***ALERT***: This bookmarklet is currently broken, thanks to LinkedIn adding a new restrictive CSP (Content Security Policy) header to the site. [I've opened an issue](https://github.com/joshuatz/linkedin-to-jsonresume-bookmarklet/issues/1) to discuss this, and both short-term (requires using the console) and long-term (browser extension) solutions.
104
108
6/21/2019 | 0.0.3 | I saw the bookmarklet was broken depending on how you came to the profile page, so I refactored a bunch of code and found a much better way to pull the data. Should be much more reliable!
109
+
</details>
105
110
106
111
---
107
112
@@ -150,9 +155,8 @@ Helpful snippets (subject to change; these rely heavily on internals):
150
155
151
156
```js
152
157
// Get main profileDB (after running extension)
153
-
var profileRes =awaitli2JrInstance.getParsedProfile();
154
-
var profileDb =awaitli2JrInstance.internals.buildDbFromLiSchema(profileRes.liResponse);
155
-
158
+
var profileRes =awaitliToJrInstance.getParsedProfile(true);
159
+
var profileDb =awaitliToJrInstance.internals.buildDbFromLiSchema(profileRes.liResponse);
* Extract work positions via traversal through position groups
978
+
* - LI groups "positions" by "positionGroups" - e.g. if you had three positions at the same company, with no breaks in-between to work at another company, those three positions are grouped under a single positionGroup
979
+
* - LI also uses positionGroups to preserve order, whereas a direct lookup by type or recipe might not return ordered results
980
+
* - This method will try to return ordered results first, and then fall back to any matching positition entities if it can't find an ordered lookup path
0 commit comments