Commit 6c416a8
xxwhirlpool
·
2026-10-13 10:40:46 -0400 EDT
parent 2255d51
obsidian web clipper templates
7 files changed,
+151,
-12
1@@ -41,12 +41,12 @@
2 },
3 {
4 "name": "created",
5- "value": "{{date}}",
6+ "value": "{{date|date:\\\"YYYY-MM-DD\\\"}}",
7 "type": "date"
8 },
9 {
10 "name": "tags",
11- "value": "clippings-movies",
12+ "value": "clippings-media",
13 "type": "multitext"
14 }
15 ],
16@@ -54,5 +54,5 @@
17 "/^https:\\/\\/www\\.imdb\\.com\\/title\\/tt\\d+(?!\\/reference\\/)(\\/[^\\s]*)?$/"
18 ],
19 "noteNameFormat": "{{schema:name}} ({{schema:datePublished|split:\"-\"|slice:0,1}})",
20- "path": "clippings/movies"
21+ "path": "clippings/media"
22 }
1@@ -31,7 +31,7 @@
2 },
3 {
4 "name": "created",
5- "value": "{{date}}",
6+ "value": "{{date|date:\\\"YYYY-MM-DD\\\"}}",
7 "type": "date"
8 },
9 {
10@@ -41,7 +41,7 @@
11 },
12 {
13 "name": "tags",
14- "value": "clippings-movies",
15+ "value": "clippings-media",
16 "type": "multitext"
17 }
18 ],
19@@ -49,5 +49,5 @@
20 "https://letterboxd.com/film/"
21 ],
22 "noteNameFormat": "{{schema:@Movie:name}} ({{schema:releasedEvent[*].startDate|date:\"YYYY\"}})",
23- "path": "clippings/movies"
24+ "path": "clippings/media"
25 }
1@@ -0,0 +1,48 @@
2+{
3+ "schemaVersion": "0.1.0",
4+ "name": "Medium Article",
5+ "behavior": "create",
6+ "noteContentFormat": "{{content}}",
7+ "properties": [
8+ {
9+ "name": "url",
10+ "value": "{{url}}",
11+ "type": "multitext"
12+ },
13+ {
14+ "name": "title",
15+ "value": "{{title|safe_name}}",
16+ "type": "text"
17+ },
18+ {
19+ "name": "author",
20+ "value": "{{author|safe_name}}",
21+ "type": "multitext"
22+ },
23+ {
24+ "name": "description",
25+ "value": "{{description|safe_name}}",
26+ "type": "text"
27+ },
28+ {
29+ "name": "tags",
30+ "value": "clippings-articles",
31+ "type": "multitext"
32+ },
33+ {
34+ "name": "published",
35+ "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}",
36+ "type": "date"
37+ },
38+ {
39+ "name": "created",
40+ "value": "{{date|date:\\\"YYYY-MM-DD\\\"}}",
41+ "type": "date"
42+ }
43+ ],
44+ "triggers": [
45+ "https://medium.com"
46+ ],
47+ "noteNameFormat": "{{title|safe_name}}",
48+ "path": "clippings/articles"
49+}
1@@ -0,0 +1,43 @@
2+{
3+ "schemaVersion": "0.1.0",
4+ "name": "Old Reddit",
5+ "behavior": "create",
6+ "noteContentFormat": "[Post]({{url}}) made by [{{selector:.top-matter .tagline .author}}]({{selector:.top-matter .tagline .author?href}}) in [r/{{selector:.redditname|first}}]({{selector:.redditname a?href|first}}) at {{selector:.top-matter .tagline time?datetime|date:\"DD.MM.YYYY\"|first}}\n\n{{selector:.top-matter + .expando}}\n\n## Comments\n\n{{selector:.nestedlisting .usertext-body|join:\"\\n\\n---\\n\\n\"|blockquote}}",
7+ "properties": [
8+ {
9+ "name": "title",
10+ "value": "{{meta:property:og:title|safe_name}}",
11+ "type": "text"
12+ },
13+ {
14+ "name": "subreddit",
15+ "value": "{{selector:.redditname|first}}",
16+ "type": "text"
17+ },
18+ {
19+ "name": "source",
20+ "value": "{{url}}",
21+ "type": "text"
22+ },
23+ {
24+ "name": "author",
25+ "value": "{{selector:.top-matter .tagline .author}}",
26+ "type": "multitext"
27+ },
28+ {
29+ "name": "published",
30+ "value": "{{published|date:\\\"YYYY-MM-DD\\\"}}",
31+ "type": "date"
32+ },
33+ {
34+ "name": "tags",
35+ "value": "clippings-social",
36+ "type": "multitext"
37+ }
38+ ],
39+ "triggers": [
40+ "https://www.reddit.com"
41+ ],
42+ "noteNameFormat": "{{meta:property:og:title|safe_name}}",
43+ "path": "clippings/social"
44+}
1@@ -4,11 +4,6 @@
2 "behavior": "create",
3 "noteContentFormat": "{{description}}",
4 "properties": [
5- {
6- "name": "categories",
7- "value": "[[Products]]",
8- "type": "multitext"
9- },
10 {
11 "name": "created",
12 "value": "{{date}}",
1@@ -26,7 +26,7 @@
2 },
3 {
4 "name": "created",
5- "value": "{{date}}",
6+ "value": "{{date|date:\\\"YYYY-MM-DD\\\"}}",
7 "type": "date"
8 },
9 {
1@@ -0,0 +1,53 @@
2+{
3+ "schemaVersion": "0.1.0",
4+ "name": "YouTube with transcript",
5+ "behavior": "create",
6+ "noteContentFormat": "## About\n\n\n\n## Description\n\n{{schema:@VideoObject:description}}\n\n## Notes\n\nYT=\n\n\n## Transcript\n\n{{transcript}}",
7+ "properties": [
8+ {
9+ "name": "created",
10+ "value": "{{date|date:\\\"YYYY-MM-DD\\\"}}",
11+ "type": "date"
12+ },
13+ {
14+ "name": "url",
15+ "value": "{{schema:@VideoObject:embedUrl|replace:\\\"embed/\\\":\\\"watch?v=\\\"}}",
16+ "type": "multitext"
17+ },
18+ {
19+ "name": "title",
20+ "value": "{{schema:@VideoObject:name}}",
21+ "type": "text"
22+ },
23+ {
24+ "name": "channel",
25+ "value": "{{schema:@VideoObject:author}}",
26+ "type": "text"
27+ },
28+ {
29+ "name": "published",
30+ "value": "{{schema:@VideoObject:uploadDate|date:\\\"YYYY-MM-DD\\\"}}",
31+ "type": "date"
32+ },
33+ {
34+ "name": "thumbnailUrl",
35+ "value": "{{schema:@VideoObject:thumbnailUrl|first}}",
36+ "type": "text"
37+ },
38+ {
39+ "name": "duration",
40+ "value": "{{schema:@VideoObject:duration|replace:\\\"PT\\\":\\\"\\\":\\\"S\\\",\\\"\\\"|duration}}",
41+ "type": "text"
42+ },
43+ {
44+ "name": "tags",
45+ "value": "clippings-videos",
46+ "type": "multitext"
47+ }
48+ ],
49+ "triggers": [
50+ "https://www.youtube.com/watch"
51+ ],
52+ "noteNameFormat": "{{schema:@VideoObject:author}} - {{schema:@VideoObject:name|safe_name|trim}}",
53+ "path": "clippings/videos"
54+}