[Facebook] Move 'bookmarks' to notes as reposts

This commit is contained in:
JP Hastings-Spital 2024-04-05 15:38:40 +01:00
parent e79b0df7ad
commit 2724c57b10
19 changed files with 47 additions and 38 deletions

View file

@ -1,8 +0,0 @@
---
date: "2007-01-15T21:35:33Z"
tags:
- from-facebook
---
Who needs to revise anyway...
![A pie chart with two sections "Resembles Pacman" and "Does not resemble pacman", proportioned so that the pie chart looks like… pacman](./pacman.webp)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View file

@ -1,16 +0,0 @@
---
title: cows & cows & cows
date: "2010-07-21T09:20:03Z"
tags:
- from-facebook
bookmarkOf: https://www.youtube.com/watch?v=FavUpD_IjVY&feature=player_embedded
references:
- url: https://www.youtube.com/watch?v=FavUpD_IjVY&feature=player_embedded
type: video
name: cows & cows & cows
author: cyriak
date: 2010-07-16T07:58:25-07:00
---
COWS!
{{< youtube "FavUpD_IjVY&feature=player_embedded" >}}

View file

@ -1,9 +1,10 @@
---
title: LSUwake November Riding
date: "2006-11-21T00:30:34Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.youtube.com/watch?v=b98B6vytDPA
repostOf: https://www.youtube.com/watch?v=b98B6vytDPA
references:
- url: https://www.youtube.com/watch?v=b98B6vytDPA
type: video

View file

@ -1,9 +1,10 @@
---
title: the show with zefrank
date: "2006-11-05T23:54:25Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.zefrank.com/theshow/
repostOf: https://www.zefrank.com/theshow/
references:
- url: https://www.zefrank.com/theshow/
type: podcast

View file

@ -1,9 +1,10 @@
---
title: Nottingham Capoeira Demo 2
date: "2006-11-22T00:47:16Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.youtube.com/watch?v=LB-tVMdLRZI
repostOf: https://www.youtube.com/watch?v=LB-tVMdLRZI
references:
- url: https://www.youtube.com/watch?v=LB-tVMdLRZI
type: video

View file

@ -1,9 +1,10 @@
---
title: Nottingham Capoeira Demo 1
date: "2006-11-22T00:45:56Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.youtube.com/watch?v=SMWPvmhzcKo
repostOf: https://www.youtube.com/watch?v=SMWPvmhzcKo
references:
- url: https://www.youtube.com/watch?v=SMWPvmhzcKo
type: video

View file

@ -1,9 +1,10 @@
---
title: The World Beard and Moustache Championships®
date: "2006-12-21T00:25:42Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.worldbeardchampionships.com/
repostOf: https://www.worldbeardchampionships.com/
references:
- url: https://www.worldbeardchampionships.com/
type: website

View file

@ -1,9 +1,10 @@
---
title: South Park Studio
date: "2006-12-19T03:20:33Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.sp-studio.de/
repostOf: https://www.sp-studio.de/
references:
- url: https://www.sp-studio.de/
type: website

View file

@ -1,9 +1,10 @@
---
title: Centrifugal Force
date: "2006-12-11T17:30:59Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://xkcd.com/c123.html
repostOf: https://xkcd.com/c123.html
references:
- url: https://xkcd.com/c123.html
name: Centrifugal Force

View file

@ -1,9 +1,10 @@
---
title: Flute beatbox - Vidéo Dailymotion
date: "2007-02-16T23:20:17Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.dailymotion.com/cluster/creation/video/x16hdk_flute-beatbox
repostOf: https://www.dailymotion.com/cluster/creation/video/x16hdk_flute-beatbox
references:
- url: https://www.dailymotion.com/cluster/creation/video/x16hdk_flute-beatbox
type: video

View file

@ -1,9 +1,10 @@
---
title: 'Victor Keegan: Lost? Follow me in, to the social future'
date: "2007-03-15T12:32:08Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://technology.guardian.co.uk/weekly/story/0,,2033506,00.html#article_continue
repostOf: https://technology.guardian.co.uk/weekly/story/0,,2033506,00.html#article_continue
references:
- url: https://technology.guardian.co.uk/weekly/story/0,,2033506,00.html#article_continue
type: article

View file

@ -1,8 +1,9 @@
---
date: "2007-03-12T15:15:28Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.jonathancoulton.com/store/#:~:text=ALBUM%20IN%20CART-,Songs%20from%20Ze%20Frank%27s%20%22The%20Show%22,-Songs%20from%20Ze
repostOf: https://www.jonathancoulton.com/store/#:~:text=ALBUM%20IN%20CART-,Songs%20from%20Ze%20Frank%27s%20%22The%20Show%22,-Songs%20from%20Ze
references:
- url: https://www.jonathancoulton.com/store/#:~:text=ALBUM%20IN%20CART-,Songs%20from%20Ze%20Frank%27s%20%22The%20Show%22,-Songs%20from%20Ze
name: Songs from Ze Frank's "The Show"

View file

@ -1,8 +1,9 @@
---
date: "2007-09-13T22:26:22Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://qwantz.com/index.php?comic=1070
repostOf: https://qwantz.com/index.php?comic=1070
references:
- url: https://qwantz.com/index.php?comic=1070
name: Dinosaur Comics!

View file

@ -1,8 +1,9 @@
---
date: "2007-09-03T20:17:05Z"
type: repost
tags:
- from-facebook
bookmarkOf: https://www.youtube.com/watch?v=9aLTxJOyYsw
repostOf: https://www.youtube.com/watch?v=9aLTxJOyYsw
references:
- url: https://www.youtube.com/watch?v=9aLTxJOyYsw
name: 2006 Pride of Arizona - "Radiohead" - UA Band Day

View file

@ -0,0 +1,17 @@
---
title: cows & cows & cows
date: "2010-07-21T09:20:03Z"
type: repost
tags:
- from-facebook
repostOf: https://www.youtube.com/watch?v=FavUpD_IjVY
references:
- url: https://www.youtube.com/watch?v=FavUpD_IjVY
type: video
name: cows & cows & cows
author: cyriak
date: 2010-07-16T07:58:25-07:00
---
COWS!
{{< youtube "FavUpD_IjVY" >}}

View file

@ -83,8 +83,10 @@ func postize(e PostCheckinPhotoOrVideo, matches []string) (shared.Post, shared.M
return shared.Post{}, nil, false, err
}
post.Path = makePostPath("bookmark", postDate, postHash)
post.FrontMatter.BookmarkOf = link
post.Path = makePostPath("notes", postDate, postHash)
post.FrontMatter.Type = "repost"
post.FrontMatter.RepostOf = link
ref, err := shared.GetReferenceWithCache(link)
if err != nil {
fmt.Printf("Couldn't get reference for %s because %v\n", link, err)

View file

@ -12,7 +12,9 @@ type FrontMatter struct {
Date string
Tags []string `yaml:"tags,omitempty"`
BookmarkOf string `yaml:"bookmarkOf,omitempty"`
RepostOf string `yaml:"repostOf,omitempty"`
References []Reference `yaml:"references,omitempty"`
Type string `yaml:"type,omitempty"`
}
type Reference struct {