Fix emoji in omnivore import

This commit is contained in:
JP Hastings-Spital 2024-03-27 23:25:28 +00:00
parent e7b7d255c8
commit e975660c04
3 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,8 @@
--- ---
title: Adventures Raising the Next Generation title: Adventures Raising the Next Generation
date: "2024-03-11T21:05:12Z" date: "2024-03-11T21:05:12Z"
emoji: "\U0001F476"
publishDate: "2024-03-07T17:00:00Z" publishDate: "2024-03-07T17:00:00Z"
emoji: 👶
bookmarkOf: https://atlaspragmatica.com/doing-things-differently-adventures-raising-the-next-generation/ bookmarkOf: https://atlaspragmatica.com/doing-things-differently-adventures-raising-the-next-generation/
references: references:
bookmark: bookmark:

View file

@ -1,7 +1,7 @@
--- ---
title: Neologisms title: Neologisms
date: "2024-03-03T08:57:01Z" date: "2024-03-03T08:57:01Z"
emoji: 🔮 emoji: "\U0001F52E"
bookmarkOf: https://maggieappleton.com/neologisms bookmarkOf: https://maggieappleton.com/neologisms
references: references:
bookmark: bookmark:

View file

@ -168,6 +168,7 @@ const omnivoreEndpoint = "https://api-prod.omnivore.app/api/graphql"
type Article struct { type Article struct {
ID string ID string
Title string Title string
Emoji string
BookmarkDate time.Time BookmarkDate time.Time
PublishDate time.Time PublishDate time.Time
OriginalTitle string OriginalTitle string
@ -187,6 +188,7 @@ type ArticleHighlight struct {
type FrontMatter struct { type FrontMatter struct {
Title string Title string
Date string Date string
Emoji string `yaml:"emoji,omitempty"`
PublishDate string `yaml:"publishDate,omitempty"` PublishDate string `yaml:"publishDate,omitempty"`
BookmarkOf string `yaml:"bookmarkOf"` BookmarkOf string `yaml:"bookmarkOf"`
References map[string]Ref References map[string]Ref