dots


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