├── .gitignore ├── README.md └── templates ├── highlighter-mode-clipper.json ├── proxmox-forum-clipper.json ├── fullhtml-clipper.json ├── contenthtml-clipper.json ├── selectorhtml-clipper.json ├── wikipedia.org-clipper.json ├── highlights-and-content-clipper.json ├── default-clipper.json ├── vmware-blog-clipper.json ├── github-releases-clipper.json ├── nordnet.no-blogg-clipper.json ├── finn-jobb-clipper.json ├── github-repository-clipper.json ├── the-hacker-news-clipper.json ├── digi.no-artikler-clipper.json ├── reddit-post-extractor-v2-clipper.json ├── reddit-post-clipper.json ├── reddit-post-legacy-clipper.json ├── youtube-clipper.json ├── broadcom-kbs-clipper.json ├── google-mail-clipper.json ├── youtube-with-transcript-clipper.json ├── apple-podcast-episode-clipper.json └── github-issue-clipper.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Templates for Obsidian Web Clipper. 2 | 3 | Note that some of the templates are "half-baked", partially working and/or currently in-progress. 4 | 5 | > [!NOTE] 6 | > DISCLAIMER: I'm no developer, but usually find my way around, as long as I have interest in the topic. 7 | -------------------------------------------------------------------------------- /templates/highlighter-mode-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Highlighter mode", 4 | "behavior": "append-specific", 5 | "noteContentFormat": "{{content}}", 6 | "properties": [], 7 | "triggers": [], 8 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 9 | "path": "webclips" 10 | } -------------------------------------------------------------------------------- /templates/proxmox-forum-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Proxmox Forum", 4 | "behavior": "create", 5 | "noteContentFormat": "{{selectorHtml:.message-cell--main|map:item => ({test: .datetime}}|template:\"${test}\"|join|markdown}}\n", 6 | "properties": [], 7 | "triggers": [ 8 | "https://forum.proxmox.com/threads" 9 | ], 10 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 11 | "path": "webclips" 12 | } -------------------------------------------------------------------------------- /templates/fullhtml-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "fullHtml", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n# {{title}}\n\n{{fullHtml|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "date" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "text" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [], 44 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 45 | "path": "webclips" 46 | } -------------------------------------------------------------------------------- /templates/contenthtml-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "contentHtml", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n# {{title}}\n\n{{contentHtml:|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "date" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "text" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [], 44 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 45 | "path": "webclips" 46 | } -------------------------------------------------------------------------------- /templates/selectorhtml-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "selectorHtml", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n# {{title}}\n\n{{selectorHtml:body|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "date" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "text" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [], 44 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 45 | "path": "webclips" 46 | } -------------------------------------------------------------------------------- /templates/wikipedia.org-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "wikipedia.org", 4 | "behavior": "create", 5 | "noteContentFormat": "{{selectorHtml:#mw-content-text|remove_html:(\".navbox,.printfooter,.side-box\")|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "Wikipedia", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "status", 44 | "value": "unread", 45 | "type": "multitext" 46 | } 47 | ], 48 | "triggers": [ 49 | "/^https:\\/\\/.+wikipedia\\.org\\/wiki\\/.+$/" 50 | ], 51 | "noteNameFormat": "{{title}}", 52 | "path": "Clippings" 53 | } -------------------------------------------------------------------------------- /templates/highlights-and-content-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Highlights and content", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n# Notes\n\n{{highlights|map: item => item.text|blockquote|split:\"\\n\"|join:\"\\n\\n\"}}\n\n# {{title}}\n\n{{content}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "datetime" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [], 44 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 45 | "path": "webclips" 46 | } -------------------------------------------------------------------------------- /templates/default-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Default", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\n{{content}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{author|split:\\\",\\\"|join}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [], 54 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 55 | "path": "webclips" 56 | } -------------------------------------------------------------------------------- /templates/vmware-blog-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "VMware Blog", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\n{{selectorHtml:div.article-body|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/vmware", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{author|split:\\\",\\\"|join}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{selector:div[class=\\\"blog-date\\\"]|date:\\\"YYYY-MM-DD\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://core.vmware.com/blog" 55 | ], 56 | "noteNameFormat": "{{selector:div[class=\"blog-date\"]|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/github-releases-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "GitHub Releases", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\n{{selectorHtml:.markdown-body|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/github/release", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{author|split:\\\",\\\"|join}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{selector:relative-time?datetime|first|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "/^https.+github.+releases.+$/" 55 | ], 56 | "noteNameFormat": "{{selector:relative-time?datetime|first|date:\"YYYY-MM-DD\"}} WEB {{title|replace:\"/\":\" - \"|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/nordnet.no-blogg-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "nordnet.no blogg", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n{{highlights|map: item => item.text|join:\"\\n\"|blockquote}}\n\n# {{title}}\n\n{{selectorHtml:article.post|first|remove_html:(\"#fa-morgenrapportene-sendt-pa-e-post,.author-below-and-content-below-wrap,iframe\")|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{meta:property:og:url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{meta:property:og:title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{schema:[0]:@graph[5].author.name|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{meta:property:article:published_time}}", 35 | "type": "datetime" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [ 44 | "https://www.nordnet.no/blogg" 45 | ], 46 | "noteNameFormat": "{{meta:property:article:published_time|date:\"YYYY-MM-DD\"}} WEB {{meta:property:og:title|safe_name}}", 47 | "path": "webclips" 48 | } -------------------------------------------------------------------------------- /templates/finn-jobb-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Finn Jobb", 4 | "behavior": "create", 5 | "noteContentFormat": "\n> Sist endret: {{selector:time?datetime}}\n\n{{selectorHtml:section[aria-label=\"Jobbdetaljer\"]|markdown}}\n\n# Tilleggsinformasjon\n\n{{selectorHtml:article > aside|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{selector:time?datetime}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "tags", 44 | "value": "webclip/finn", 45 | "type": "multitext" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://www.finn.no/job" 55 | ], 56 | "noteNameFormat": "{{selector:time?datetime|date:\"YYYY-MM-DD\"}} FINN {{title|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/github-repository-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "GitHub Repository", 4 | "behavior": "create", 5 | "noteContentFormat": "## README\n\n{{selectorHtml:article|markdown}}\n\n", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/github/readme", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{selector:#repo-title-component a}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "owner", 34 | "value": "{{meta:name:octolytics-dimension-user_login}}", 35 | "type": "text" 36 | }, 37 | { 38 | "name": "website", 39 | "value": "{{selector:.Layout-sidebar a?href|first}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{selector:.Layout-sidebar p|first}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "stars", 49 | "value": "{{selector:#repo-stars-counter-star?title}}", 50 | "type": "number" 51 | } 52 | ], 53 | "triggers": [], 54 | "noteNameFormat": "{{selector:relative-time?datetime|first|date:\"YYYY-MM-DD\"}} GITHUB {{meta:name:octolytics-dimension-user_login}} {{selector:#repo-title-component a}}: {{selector:.Layout-sidebar p|first}}", 55 | "path": "webclips" 56 | } -------------------------------------------------------------------------------- /templates/the-hacker-news-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "The Hacker News", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\n{{selectorHtml:#articlebody|remove_html:(\".dog_two,.note-b\")|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/hackernews", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{selector:.post-body > div[itemprop=\\\"author\\\"] > meta[itemprop=\\\"name\\\"]?content|split:\\\",\\\"|join}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{selectorHtml:.post-body > meta[itemprop=\\\"datePublished\\\"]?content|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://thehackernews.com/" 55 | ], 56 | "noteNameFormat": "{{selectorHtml:.post-body > meta[itemprop=\"datePublished\"]?content|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/digi.no-artikler-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "digi.no Artikler", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\nauthor:: {{selectorHtml:.items-start > div.flex-col|markdown}}\n\n> [!INFO]+ {{selectorHtml:.text-left > h1|markdown|strip_md|markdown}}\n{{selectorHtml:.text-left > h3|markdown|strip_md|blockquote}}\n{{selectorHtml:div[id=\"topImage\"] > img?src|image|blockquote}}\n{{selectorHtml:div[id=\"topImage\"] > img?alt|blockquote}}\n\n\n{{selectorHtml:.article|remove_html:(\".ad-label,.clear-both\")|markdown}}\n{{selectorHtml:.article|remove_html:(\".ad-label,.clear-both\")|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{meta:property:article:author|split:\\\",\\\"|join}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://www.digi.no/artikler" 55 | ], 56 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/reddit-post-extractor-v2-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Reddit Post extractor v2", 4 | "behavior": "create", 5 | "noteContentFormat": "\n> Posted in **{{selector:shreddit-post?subreddit-prefixed-name}}** by *{{selector:shreddit-post?author}}* at {{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DDTHH:mm:ssZ\"}} (⬆️ {{selector:shreddit-post?score}})\n\n\n# {{selector:shreddit-post?post-title|trim}}\n\n{{selectorHtml:shreddit-post > div.text-neutral-content|markdown}}\n\n{{selector:zoomable-img > img?src|image}}\n\n## Comments ({{selector:shreddit-comment-tree?totalcomments}})\n\n{{content}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/reddit", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{selector:shreddit-post?post-title|trim}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{selector:shreddit-post?created-timestamp|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "subreddit", 39 | "value": "{{selector:shreddit-post?subreddit-prefixed-name}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "status", 44 | "value": "unread", 45 | "type": "multitext" 46 | } 47 | ], 48 | "triggers": [ 49 | "https://www.reddit.com" 50 | ], 51 | "noteNameFormat": "{{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DD\"}} REDDIT {{selector:shreddit-post?post-title|trim|safe_name}}", 52 | "path": "webclips" 53 | } -------------------------------------------------------------------------------- /templates/reddit-post-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Reddit Post", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#webclip/unread\n\n> Posted in **{{selector:shreddit-post?subreddit-prefixed-name}}** by *{{selector:shreddit-post?author}}* at {{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DDTHH:mm:ssZ\"}} (⬆️ {{selector:shreddit-post?score}})\n\n\n# {{selector:shreddit-post?post-title|trim}}\n\n{{selectorHtml:shreddit-post > div[class=\"text-neutral-content\"]|markdown}}\n\n{{selector:zoomable-img > img?src|image}}\n\n## Comments ({{selector:shreddit-comment-tree?totalcomments}})\n\n(WIP: get the first author, and first comment from arrays)\n\n### {{selector:shreddit-comment-tree > shreddit-comment?author|first}}:\n> {{selector:shreddit-comment-tree > shreddit-comment > div[slot=comment]|first}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "tags", 24 | "value": "source/reddit", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{selector:shreddit-post?post-title|trim}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{selector:shreddit-post?created-timestamp|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 35 | "type": "datetime" 36 | }, 37 | { 38 | "name": "subreddit", 39 | "value": "{{selector:shreddit-post?subreddit-prefixed-name}}", 40 | "type": "text" 41 | } 42 | ], 43 | "triggers": [ 44 | "https://www.reddit.com" 45 | ], 46 | "noteNameFormat": "{{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DD\"}} REDDIT {{selector:shreddit-post?post-title|trim|safe_name}}", 47 | "path": "webclips" 48 | } -------------------------------------------------------------------------------- /templates/reddit-post-legacy-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Reddit Post legacy", 4 | "behavior": "create", 5 | "noteContentFormat": "\n> Posted in **{{selector:shreddit-post?subreddit-prefixed-name}}** by *{{selector:shreddit-post?author}}* at {{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DDTHH:mm:ssZ\"}} (⬆️ {{selector:shreddit-post?score}})\n\n\n# {{selector:shreddit-post?post-title|trim}}\n\n{{selectorHtml:shreddit-post > div[class=\"text-neutral-content\"]|markdown}}\n\n{{selector:zoomable-img > img?src|image}}\n\n## Comments ({{selector:shreddit-comment-tree?totalcomments}})\n\n(WIP: get the first author, and first comment from arrays)\n\n### {{selector:shreddit-comment-tree > shreddit-comment?author|first}}:\n> {{selector:shreddit-comment-tree > shreddit-comment > div[slot=comment]|first}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "tags", 24 | "value": "webclip/reddit", 25 | "type": "multitext" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{selector:shreddit-post?post-title|trim}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{selector:shreddit-post?created-timestamp|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 35 | "type": "date" 36 | }, 37 | { 38 | "name": "subreddit", 39 | "value": "{{selector:shreddit-post?subreddit-prefixed-name}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "status", 44 | "value": "unread", 45 | "type": "multitext" 46 | } 47 | ], 48 | "triggers": [], 49 | "noteNameFormat": "{{selector:shreddit-post?created-timestamp|date:\"YYYY-MM-DD\"}} REDDIT {{selector:shreddit-post?post-title|trim|safe_name}}", 50 | "path": "webclips" 51 | } -------------------------------------------------------------------------------- /templates/youtube-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "YouTube", 4 | "behavior": "create", 5 | "noteContentFormat": "## About\n\n![{{title}}]({{schema:@VideoObject:embedUrl|replace:\"embed/\":\"watch?v=\"}})\n\n## Description\n\n{{schema:@VideoObject:description}}\n\n## Notes\n\nYT=", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "video/youtube", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{schema:@VideoObject:embedUrl|replace:\\\"embed/\\\":\\\"watch?v=\\\"}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{schema:@VideoObject:name}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "channel", 34 | "value": "{{schema:@VideoObject:author}}", 35 | "type": "text" 36 | }, 37 | { 38 | "name": "related", 39 | "value": "[[Videos]]", 40 | "type": "multitext" 41 | }, 42 | { 43 | "name": "published", 44 | "value": "{{schema:@VideoObject:uploadDate|date:\\\"YYYY-MM-DD\\\"}}", 45 | "type": "date" 46 | }, 47 | { 48 | "name": "thumbnailUrl", 49 | "value": "{{schema:@VideoObject:thumbnailUrl|first}}", 50 | "type": "text" 51 | }, 52 | { 53 | "name": "duration", 54 | "value": "{{schema:@VideoObject:duration|replace:\\\"PT\\\",\\\"\\\",\\\"S\\\",\\\"\\\"|duration}}", 55 | "type": "text" 56 | }, 57 | { 58 | "name": "watched", 59 | "value": "", 60 | "type": "text" 61 | }, 62 | { 63 | "name": "status", 64 | "value": "", 65 | "type": "multitext" 66 | } 67 | ], 68 | "triggers": [ 69 | "https://www.youtube.com/watch" 70 | ], 71 | "noteNameFormat": "{{schema:@VideoObject:uploadDate|date:\"YYYY-MM-DD\"}} VIDEO {{schema:@VideoObject:author}} - {{schema:@VideoObject:name|safe_name|trim}}", 72 | "path": "" 73 | } -------------------------------------------------------------------------------- /templates/broadcom-kbs-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Broadcom KBs", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\nArticle ID: {{selector:div.article-header-info > div:nth-child(1) > h4|split:\":\"|last|trim}}\nUpdated: {{selector:div.article-header-info > .article-updated-time > h4 > span[id=\"date_time\"]|date:\"YYYY-MM-DD\",\"MM-DD-YYYY\"}}\n\n{{selectorHtml:.article-detail-card|join:\"\\n\"|markdown}}\n\n## Codeblocks\n\n> Based on selector `font[face=\"Courier New\"]`\n\n```text\n{{selector:font[face=\"Courier New\"]|join:\"\\n\\n```bash\\n\"|replace:\"\\n```text\":```\\n\\n```text\"}}\n```\n\n\n> Based on selector `span[style=\"font-family: Courier New,Courier,monospace;\"`\n\n```bash\n{{selector:span[style=\"font-family: Courier New,Courier,monospace;\"]|join:\"\\n\\n```bash\\n\"|replace:\"\\n```bash\":```\\n\\n```bash\"}}\n```\n\n\n", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "title", 24 | "value": "{{title}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "author", 29 | "value": "{{author|split:\\\",\\\"|join}}", 30 | "type": "multitext" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "datetime" 36 | }, 37 | { 38 | "name": "description", 39 | "value": "{{description}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "tags", 44 | "value": "webclip/vmware", 45 | "type": "multitext" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://knowledge.broadcom.com/external/article" 55 | ], 56 | "noteNameFormat": "{{published|date:\"YYYY-MM-DD\"}} WEB {{title|safe_name}}", 57 | "path": "webclips" 58 | } -------------------------------------------------------------------------------- /templates/google-mail-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Google Mail", 4 | "behavior": "create", 5 | "noteContentFormat": "\n> [!INFO]+ Message details\n> Received: {{selector:div.adn.ads:not([style*=\"display: none\"]) .gE.iv.gt span.g3?title|first|date:\"YYYY-MM-DDTHH:mm\"}}\n> Subject: {{selector:div.ha:not(:where([style*=\"display: none\"]) *) > h2|first}}\n\n\n# {{selector:div.ha:not(:where([style*=\"display: none\"]) *) > h2|first}}\n\n{{selectorHtml:div.a3s:not(:where([style*=\"display: none\"]) *)|first|remove_tags:(\"table,td,tr,border\")|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "url", 19 | "value": "{{url}}", 20 | "type": "text" 21 | }, 22 | { 23 | "name": "received", 24 | "value": "{{selector:div.adn.ads:not([style*=\\\"display: none\\\"]) .gE.iv.gt span.g3?title|first|date:\\\"YYYY-MM-DDTHH:mm\\\"}}", 25 | "type": "datetime" 26 | }, 27 | { 28 | "name": "subject", 29 | "value": "{{selector:div.ha:not(:where([style*=\\\"display: none\\\"]) *) > h2|first}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{selector:span[class=\\\"gD\\\"]:not(:where([style*=\\\"display: none\\\"]) *)?name|wikilink|first}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "senderEmail", 39 | "value": "{{selector:span[class=\\\"gD\\\"]:not(:where([style*=\\\"display: none\\\"]) *)?email|first}}", 40 | "type": "multitext" 41 | }, 42 | { 43 | "name": "tags", 44 | "value": "mail", 45 | "type": "multitext" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "https://mail.google.com/mail" 55 | ], 56 | "noteNameFormat": "{{selector:div.adn.ads:not([style*=\"display: none\"]) .gE.iv.gt span.g3?title|first|date:\"YYYY-MM-DD\"}} MAIL {{selector:div.ha:not(:where([style*=\"display: none\"]) *) > h2|safe_name}}", 57 | "path": "mail" 58 | } -------------------------------------------------------------------------------- /templates/youtube-with-transcript-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "YouTube with transcript", 4 | "behavior": "create", 5 | "noteContentFormat": "## About\n\n![{{title}}]({{schema:@VideoObject:embedUrl|replace:\"embed/\":\"watch?v=\"}})\n\n## Description\n\n{{schema:@VideoObject:description}}\n\n## Notes\n\nYT=\n\n\n## Transcript\n\n{{selectorHtml:.ytd-transcript-segment-list-renderer|first|replace:\" \":\" \"|join|markdown}}", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "ideo/youtube", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{schema:@VideoObject:embedUrl|replace:\\\"embed/\\\":\\\"watch?v=\\\"}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{schema:@VideoObject:name}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "channel", 34 | "value": "{{schema:@VideoObject:author}}", 35 | "type": "text" 36 | }, 37 | { 38 | "name": "related", 39 | "value": "[[Videos]]", 40 | "type": "multitext" 41 | }, 42 | { 43 | "name": "published", 44 | "value": "{{schema:@VideoObject:uploadDate|date:\\\"YYYY-MM-DD\\\"}}", 45 | "type": "date" 46 | }, 47 | { 48 | "name": "thumbnailUrl", 49 | "value": "{{schema:@VideoObject:thumbnailUrl|first}}", 50 | "type": "text" 51 | }, 52 | { 53 | "name": "duration", 54 | "value": "{{schema:@VideoObject:duration|replace:\\\"PT\\\",\\\"\\\",\\\"S\\\",\\\"\\\"|duration}}", 55 | "type": "text" 56 | }, 57 | { 58 | "name": "watched", 59 | "value": "", 60 | "type": "text" 61 | }, 62 | { 63 | "name": "status", 64 | "value": "", 65 | "type": "multitext" 66 | } 67 | ], 68 | "triggers": [ 69 | "https://www.youtube.com/watch" 70 | ], 71 | "noteNameFormat": "{{schema:@VideoObject:uploadDate|date:\"YYYY-MM-DD\"}} VIDEO {{schema:@VideoObject:author}} - {{schema:@VideoObject:name|safe_name|trim}}", 72 | "path": "" 73 | } -------------------------------------------------------------------------------- /templates/apple-podcast-episode-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "Apple Podcast Episode", 4 | "behavior": "create", 5 | "noteContentFormat": "\n#podcast/backlog\n\n# {{schema:@PodcastEpisode:name}}\n\n{{schema:@PodcastEpisode:thumbnailUrl|image:\"thumbnail|200\"}}\n\n## Description\n\n{{schema:@PodcastEpisode:description}}\n\n## Notes\n\n", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "podcasts, episode", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "show", 24 | "value": "[[{{schema:@PodcastEpisode:partOfSeries.name|safe_name}}]]", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{schema:@PodcastEpisode:name}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "published", 34 | "value": "{{schema:@PodcastEpisode:datePublished|date:\\\"YYYY-MM-DD\\\"}}", 35 | "type": "datetime" 36 | }, 37 | { 38 | "name": "url", 39 | "value": "{{schema:@PodcastEpisode:url}}", 40 | "type": "text" 41 | }, 42 | { 43 | "name": "url_apple", 44 | "value": "{{schema:@PodcastEpisode:url}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "url_youtube", 49 | "value": "", 50 | "type": "text" 51 | }, 52 | { 53 | "name": "url_shownotes", 54 | "value": "", 55 | "type": "text" 56 | }, 57 | { 58 | "name": "related", 59 | "value": "[[podcast episodes]]", 60 | "type": "multitext" 61 | }, 62 | { 63 | "name": "guests", 64 | "value": "", 65 | "type": "text" 66 | }, 67 | { 68 | "name": "thumbnail", 69 | "value": "{{schema:@PodcastEpisode:thumbnailUrl}}", 70 | "type": "text" 71 | }, 72 | { 73 | "name": "duration", 74 | "value": "{{schema:@PodcastEpisode:duration}}", 75 | "type": "text" 76 | }, 77 | { 78 | "name": "status", 79 | "value": "", 80 | "type": "text" 81 | } 82 | ], 83 | "triggers": [ 84 | "https://podcasts.apple.com/" 85 | ], 86 | "noteNameFormat": "{{schema:@PodcastEpisode:datePublished|date:\"YYYY-MM-DD\"}} PODCAST {{schema:@PodcastEpisode:partOfSeries.name|safe_name}} {{schema:@PodcastEpisode:episodeNumber}} {{schema:@PodcastEpisode:name|safe_name}}", 87 | "path": "" 88 | } -------------------------------------------------------------------------------- /templates/github-issue-clipper.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "0.1.0", 3 | "name": "GitHub Issue", 4 | "behavior": "create", 5 | "noteContentFormat": "\n# {{title}}\n\n### {{selector:a[data-testid=\"issue-body-header-author\"]}} wrote on {{selector:a[data-testid=\"issue-body-header-link\"] > relative-time?datetime|markdown}}\n\n{{selectorHtml:.react-issue-body > div > div > div > .markdown-body|markdown}}\n\n## Comments\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:1|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:1|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:1|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:2|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:2|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:2|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:3|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:3|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:3|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:4|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:4|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:4|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:5|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:5|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:5|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:6|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:6|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:6|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:7|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:7|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:7|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:8|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:8|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:8|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:9|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:9|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:9|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:10|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:10|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:10|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:11|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:11|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:11|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:12|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:12|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:12|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:13|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:13|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:13|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:14|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:14|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:14|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:15|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:15|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:15|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:16|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:16|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:16|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:17|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:17|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:17|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:18|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:18|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:18|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:19|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:19|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:19|first|markdown}}\n\n### {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > a|slice:20|first|markdown}} wrote on {{selectorHtml:.react-issue-comment > div > div > div > div[data-testid=\"comment-header-left-side-items\"] > div > span > a > relative-time?datetime|slice:20|first|markdown}}\n\n{{selectorHtml:.react-issue-comment > div > div > .markdown-body|slice:20|first|markdown}}\n\n> [!WARNING] Template is hardcoded for 20 comments\n> If needed, simply copy the template blocks, and adjust the `slice:number` accordingly\n", 6 | "properties": [ 7 | { 8 | "name": "created", 9 | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 10 | "type": "datetime" 11 | }, 12 | { 13 | "name": "reviewed", 14 | "value": "", 15 | "type": "datetime" 16 | }, 17 | { 18 | "name": "tags", 19 | "value": "webclip/github/issue", 20 | "type": "multitext" 21 | }, 22 | { 23 | "name": "url", 24 | "value": "{{url}}", 25 | "type": "text" 26 | }, 27 | { 28 | "name": "title", 29 | "value": "{{title}}", 30 | "type": "text" 31 | }, 32 | { 33 | "name": "author", 34 | "value": "{{selector:a[data-testid=\\\"issue-body-header-author\\\"]}}", 35 | "type": "multitext" 36 | }, 37 | { 38 | "name": "published", 39 | "value": "{{selector:relative-time?datetime|first|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", 40 | "type": "date" 41 | }, 42 | { 43 | "name": "description", 44 | "value": "{{description}}", 45 | "type": "text" 46 | }, 47 | { 48 | "name": "status", 49 | "value": "unread", 50 | "type": "multitext" 51 | } 52 | ], 53 | "triggers": [ 54 | "/^https.+github.+issues.+$/" 55 | ], 56 | "noteNameFormat": "{{selector:relative-time?datetime|first|date:\"YYYY-MM-DD\"}} WEB {{title|replace:\"/\":\" - \"|safe_name}}", 57 | "path": "webclips" 58 | } --------------------------------------------------------------------------------