mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Another handful of FB posts
This commit is contained in:
parent
e6d9c0f817
commit
a72df37bee
12 changed files with 74 additions and 10 deletions
|
@ -8,7 +8,7 @@ references:
|
|||
type: video
|
||||
name: LSUwake November Riding
|
||||
author: lborowaterski
|
||||
date: 2024-04-04T15:14:10.630056+01:00
|
||||
date: 2006-11-20T04:28:29-08:00
|
||||
---
|
||||
My Brother's first attempt at video editing (his new shiny camera is quite shiny!) Any thoughts people?
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ references:
|
|||
type: video
|
||||
name: Nottingham Capoeira Demo 2
|
||||
author: JP Hastings-Spital
|
||||
date: 2024-04-04T15:14:11.469829+01:00
|
||||
date: 2006-11-21T16:36:07-08:00
|
||||
---
|
||||
And some more Capoeira from this evening...
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ references:
|
|||
type: video
|
||||
name: Nottingham Capoeira Demo 1
|
||||
author: JP Hastings-Spital
|
||||
date: 2024-04-04T15:14:11.115081+01:00
|
||||
date: 2006-11-21T16:35:05-08:00
|
||||
---
|
||||
For any of you that wanted to see what Capoeira looks like! Its a poorly shot video (my mobile doesn't really do video that well...) but you get the gist!
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ references:
|
|||
- url: https://www.worldbeardchampionships.com/
|
||||
type: website
|
||||
name: The World Beard and Moustache Championships®
|
||||
date: 2024-04-04T15:14:16.838122+01:00
|
||||
author: The World Beard and Moustache Championships®
|
||||
date: 2024-04-05T12:05:22.876585+01:00
|
||||
---
|
||||
Check it out. The world Beard and Moustache championships are being held in Brighton this year (well, 2007) - anyone up for it say 'Aye!'
|
||||
|
|
|
@ -7,6 +7,6 @@ references:
|
|||
- url: https://www.dailymotion.com/cluster/creation/video/x16hdk_flute-beatbox
|
||||
type: video
|
||||
name: Flute beatbox - Vidéo Dailymotion
|
||||
date: 2024-04-04T15:14:17.184252+01:00
|
||||
date: 2007-02-11T00:10:18+01:00
|
||||
---
|
||||
Do you know who Inspector Gadget is? Have you heard of Beverly Hills Cop? WATCH THIS NOW!
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
date: "2007-03-15T12:32:08Z"
|
||||
tags:
|
||||
- from-facebook
|
||||
bookmarkOf: 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
|
||||
name: 'Victor Keegan: Lost? Follow me in, to the social future'
|
||||
date: 2007-03-15T23:43:49Z
|
||||
---
|
||||
Hugo Shelly, you are the man.
|
||||
|
||||
Please tell everyone about the awesome game of Lost and Hugo's newfound fame! {{< linkrot "http://lost.eu" >}}
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
date: "2007-03-12T15:15:28Z"
|
||||
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
|
||||
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"
|
||||
type: album
|
||||
date: 2007-03-08
|
||||
---
|
||||
The original show and details about The Show (with Ze Frank) can be [found here](https://www.youtube.com/watch?v=xu3ydB5iEp0&list=PLMs_JcuNozJa7tg80N_kITisZjHHeE3uo&index=238)
|
||||
|
||||
His last two shows are Today and Tomorrow!
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
date: "2007-09-13T22:26:22Z"
|
||||
tags:
|
||||
- from-facebook
|
||||
bookmarkOf: https://qwantz.com/index.php?comic=1070
|
||||
references:
|
||||
- url: https://qwantz.com/index.php?comic=1070
|
||||
name: Dinosaur Comics!
|
||||
date: 2007-09-12
|
||||
type: comic
|
||||
---
|
||||
Go to the page, and hold your mouse over the comic after you've read it :P
|
||||
|
||||
Wonder if you could come up with enough of these to give one out every morning in a long term relationship? Or even a marriage? One way to find out...
|
|
@ -1,4 +1,14 @@
|
|||
rtv2nwevsrb7jskkoi2niza6qq
|
||||
tuoyt24xgoknswodnhizqehx2u
|
||||
lsdjotoggybiqsetlzmwcpptay
|
||||
b3atqewyj3xseyeu2tmyogss4e
|
||||
b3atqewyj3xseyeu2tmyogss4e
|
||||
5vqyrgdepjtc4wap7op264zdam
|
||||
asobpuhzmrhmqky6razz5myopu
|
||||
h35nhel7j6ewwiniquytqnge5a
|
||||
nfc6ggihnat3st6cchdpxl3mi4
|
||||
yiwsjzwi4wyse6r72tkhrgxfua
|
||||
p3xhhyck2a6s7zvbu6jddxxunu
|
||||
q52a5kehxx6k3my3wtguijbtlq
|
||||
dibpsddlyh53wou3po54dx4dte
|
||||
4xrfjvhl5mc7fkvjpb42bfpr5m
|
||||
ipyvqr7n332u43qac6ygd3qbmu
|
|
@ -75,6 +75,10 @@ func postize(e PostCheckinPhotoOrVideo, matches []string) (shared.Post, shared.M
|
|||
link = "https://" + link[7:]
|
||||
}
|
||||
|
||||
if !strings.HasPrefix(link, "https://") {
|
||||
link = "https://" + link
|
||||
}
|
||||
|
||||
if strings.HasPrefix(link, "https://360.io/") || strings.HasPrefix(link, "https://fb.thisismyjam.com") {
|
||||
return shared.Post{}, nil, false, err
|
||||
}
|
||||
|
@ -85,7 +89,10 @@ func postize(e PostCheckinPhotoOrVideo, matches []string) (shared.Post, shared.M
|
|||
if err != nil {
|
||||
fmt.Printf("Couldn't get reference for %s because %v\n", link, err)
|
||||
}
|
||||
post.FrontMatter.References = append(post.FrontMatter.References, ref)
|
||||
// Only bother adding if there's at least a name
|
||||
if ref.Name != "" {
|
||||
post.FrontMatter.References = append(post.FrontMatter.References, ref)
|
||||
}
|
||||
|
||||
if strings.HasSuffix(post.FrontMatter.Title, "shared a link.") {
|
||||
post.FrontMatter.Title = ""
|
||||
|
|
|
@ -95,6 +95,10 @@ func getRef(ref *Reference) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if date := findAttr(doc, "content", `meta[itemprop="datePublished"]`, `meta[property="article:published_time"]`, `meta[property="video:release_date"]`); date != "" {
|
||||
ref.Date, _ = time.Parse(time.RFC3339, date)
|
||||
}
|
||||
|
||||
oembedURL := findAttr(doc, "href", `link[rel="alternate"][type="application/json+oembed"]`)
|
||||
if oembedURL != "" {
|
||||
if err := getRefFromOembed(ref, oembedURL); err != nil {
|
||||
|
@ -104,7 +108,7 @@ func getRef(ref *Reference) error {
|
|||
}
|
||||
}
|
||||
|
||||
ref.Type = findAttr(doc, "content", `meta[property="og:type"]`)
|
||||
ref.Type = strings.Split(findAttr(doc, "content", `meta[property="og:type"]`), ".")[0]
|
||||
ref.Author = findAttr(doc, "content", `meta[itemprop="name"]`)
|
||||
ref.Name = findAttr(doc, "content", `meta[property="og:title"]`, `meta[name="twitter:title"]`)
|
||||
if ref.Name == "" {
|
||||
|
|
|
@ -17,9 +17,9 @@ type FrontMatter struct {
|
|||
|
||||
type Reference struct {
|
||||
URL string `yaml:"url"`
|
||||
Type string `yaml:"type"`
|
||||
Type string `yaml:"type,omitempty"`
|
||||
Name string `yaml:"name"`
|
||||
Author string `yaml:"author"`
|
||||
Author string `yaml:"author,omitempty"`
|
||||
Date time.Time `yaml:"date"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue