Commit c09d65c
xxwhirlpool
·
2026-04-10 21:49:35 -0400 EDT
parent b03030b
more obsidian clipper templates
3 files changed,
+142,
-0
| ... | ... | @@ -0,0 +1,46 @@ | |
| 1 | + | { | |
| 2 | + | "schemaVersion": "0.1.0", | |
| 3 | + | "name": "fullHtml", | |
| 4 | + | "behavior": "create", | |
| 5 | + | "noteContentFormat": "{{fullHtml|markdown}}", | |
| 6 | + | "properties": [ | |
| 7 | + | { | |
| 8 | + | "name": "created", | |
| 9 | + | "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", | |
| 10 | + | "type": "date" | |
| 11 | + | }, | |
| 12 | + | { | |
| 13 | + | "name": "url", | |
| 14 | + | "value": "{{url}}", | |
| 15 | + | "type": "multitext" | |
| 16 | + | }, | |
| 17 | + | { | |
| 18 | + | "name": "title", | |
| 19 | + | "value": "{{title}}", | |
| 20 | + | "type": "text" | |
| 21 | + | }, | |
| 22 | + | { | |
| 23 | + | "name": "author", | |
| 24 | + | "value": "{{author|split:\\\",\\\"|join}}", | |
| 25 | + | "type": "multitext" | |
| 26 | + | }, | |
| 27 | + | { | |
| 28 | + | "name": "published", | |
| 29 | + | "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}", | |
| 30 | + | "type": "date" | |
| 31 | + | }, | |
| 32 | + | { | |
| 33 | + | "name": "description", | |
| 34 | + | "value": "{{description}}", | |
| 35 | + | "type": "text" | |
| 36 | + | }, | |
| 37 | + | { | |
| 38 | + | "name": "tags", | |
| 39 | + | "value": "clippings-articles", | |
| 40 | + | "type": "multitext" | |
| 41 | + | } | |
| 42 | + | ], | |
| 43 | + | "triggers": [], | |
| 44 | + | "noteNameFormat": "{{title|safe_name}}", | |
| 45 | + | "path": "clippings/articles" | |
| 46 | + | } |
| ... | ... | @@ -0,0 +1,48 @@ | |
| 1 | + | { | |
| 2 | + | "schemaVersion": "0.1.0", | |
| 3 | + | "name": "Product", | |
| 4 | + | "behavior": "create", | |
| 5 | + | "noteContentFormat": "{{description}}", | |
| 6 | + | "properties": [ | |
| 7 | + | { | |
| 8 | + | "name": "categories", | |
| 9 | + | "value": "[[Products]]", | |
| 10 | + | "type": "multitext" | |
| 11 | + | }, | |
| 12 | + | { | |
| 13 | + | "name": "created", | |
| 14 | + | "value": "{{date}}", | |
| 15 | + | "type": "date" | |
| 16 | + | }, | |
| 17 | + | { | |
| 18 | + | "name": "description", | |
| 19 | + | "value": "{{description}}", | |
| 20 | + | "type": "text" | |
| 21 | + | }, | |
| 22 | + | { | |
| 23 | + | "name": "source", | |
| 24 | + | "value": "{{url}}", | |
| 25 | + | "type": "text" | |
| 26 | + | }, | |
| 27 | + | { | |
| 28 | + | "name": "title", | |
| 29 | + | "value": "{{schema:@Product:name}}", | |
| 30 | + | "type": "text" | |
| 31 | + | }, | |
| 32 | + | { | |
| 33 | + | "name": "price", | |
| 34 | + | "value": "{{meta:property:product:price:amount}}", | |
| 35 | + | "type": "number" | |
| 36 | + | }, | |
| 37 | + | { | |
| 38 | + | "name": "image", | |
| 39 | + | "value": "{{image}}", | |
| 40 | + | "type": "text" | |
| 41 | + | } | |
| 42 | + | ], | |
| 43 | + | "triggers": [ | |
| 44 | + | "schema:@Product" | |
| 45 | + | ], | |
| 46 | + | "noteNameFormat": "{{title}}", | |
| 47 | + | "path": "clippings/wishlist" | |
| 48 | + | } |
| ... | ... | @@ -0,0 +1,48 @@ | |
| 1 | + | { | |
| 2 | + | "schemaVersion": "0.1.0", | |
| 3 | + | "name": "Substack Article", | |
| 4 | + | "behavior": "create", | |
| 5 | + | "noteContentFormat": "{{selectorHtml:.body.markup|markdown}}", | |
| 6 | + | "properties": [ | |
| 7 | + | { | |
| 8 | + | "name": "title", | |
| 9 | + | "value": "{{title}}", | |
| 10 | + | "type": "text" | |
| 11 | + | }, | |
| 12 | + | { | |
| 13 | + | "name": "author", | |
| 14 | + | "value": "{{meta:name:author}}", | |
| 15 | + | "type": "multitext" | |
| 16 | + | }, | |
| 17 | + | { | |
| 18 | + | "name": "date", | |
| 19 | + | "value": "{{schema:datePublished|date:\\\"YYYY-MM-DD\\\"}}", | |
| 20 | + | "type": "date" | |
| 21 | + | }, | |
| 22 | + | { | |
| 23 | + | "name": "url", | |
| 24 | + | "value": "{{url}}", | |
| 25 | + | "type": "multitext" | |
| 26 | + | }, | |
| 27 | + | { | |
| 28 | + | "name": "description", | |
| 29 | + | "value": "{{description}}", | |
| 30 | + | "type": "text" | |
| 31 | + | }, | |
| 32 | + | { | |
| 33 | + | "name": "featuredImage", | |
| 34 | + | "value": "{{image}}", | |
| 35 | + | "type": "text" | |
| 36 | + | }, | |
| 37 | + | { | |
| 38 | + | "name": "tags", | |
| 39 | + | "value": "clippings-articles", | |
| 40 | + | "type": "multitext" | |
| 41 | + | } | |
| 42 | + | ], | |
| 43 | + | "triggers": [ | |
| 44 | + | "substack.com/p/" | |
| 45 | + | ], | |
| 46 | + | "noteNameFormat": "{{title|safe_name}}", | |
| 47 | + | "path": "clippings/articles" | |
| 48 | + | } |