From 8560b305aba23a01c526be15d0e066e78ce9b05e Mon Sep 17 00:00:00 2001 From: Diego Eis Date: Sun, 19 Oct 2025 22:49:23 -0300 Subject: [PATCH] Create linkedin-profile-info Catch some informations of person profile linkedin to facilitate the setup of the new note about the person. --- templates/linkedin-profile-info | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 templates/linkedin-profile-info diff --git a/templates/linkedin-profile-info b/templates/linkedin-profile-info new file mode 100644 index 0000000..eb1e257 --- /dev/null +++ b/templates/linkedin-profile-info @@ -0,0 +1,43 @@ +{ + "schemaVersion": "0.1.0", + "name": "Linkedin Profile Info", + "behavior": "create", + "noteContentFormat": "## About\nPresent working at [[{{selector:.pv-profile main > section div > ul > li:nth-child(1) > button > span > div}}]] like {{selector:div.pv-profile main > section > div > ul > li:first-child a[data-field=\"experience_company_logo\"] div > span:first-child}}.\n\nBefore was working at [[{{selector:div.pv-profile main > section > div > ul > li:nth-child(2) a[data-field=\"experience_company_logo\"] span:nth-child(2) > span}}]] like {{selector:div.pv-profile main > section > div > ul > li:nth-child(2) a[data-field=\"experience_company_logo\"] div > span:first-child}}\n{{selector:#profile-content > div > div.pv-profile > div > div > main > section:nth-child(2) > div.ph5.pv3 > div > div > div > span:nth-child(1)}}\n\n### Linkedin Complete\n{{content}}", + "properties": [ + { + "name": "date", + "value": "{{date}}", + "type": "text" + }, + { + "name": "name", + "value": "{{selector:[id^=\\\"ember\\\"] > h1}}", + "type": "text" + }, + { + "name": "linkedin", + "value": "{{url}}", + "type": "text" + }, + { + "name": "type", + "value": "person", + "type": "text" + }, + { + "name": "responsability", + "value": "{{selector:div.pv-profile main > section > div > ul > li:first-child a[data-field=\\\"experience_company_logo\\\"] div > span:first-child}}", + "type": "text" + }, + { + "name": "company", + "value": "[[{{selector:.pv-profile main > section div > ul > li:nth-child(1) > button > span > div}}]]", + "type": "text" + } + ], + "triggers": [ + "https://linkedin.com/in/" + ], + "noteNameFormat": "{{selector:[id^=\"ember\"] > h1}}", + "path": "" +}