Skip to content

Commit

Permalink
Update feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
robalexdev committed Jun 8, 2024
1 parent bef0678 commit f7d8297
Show file tree
Hide file tree
Showing 125 changed files with 11,510 additions and 319 deletions.
16 changes: 8 additions & 8 deletions analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ func (a *Analysis) PopulateCategoriesForFeed(feed *FeedInfo) {
ohno(err)

for rows.Next() {
var link string
err = rows.Scan(&link)
var cat string
err = rows.Scan(&cat)
ohno(err)
if !slices.Contains(feed.Params.Categories, link) {
feed.Params.Categories = append(feed.Params.Categories, link)
if !slices.Contains(feed.Params.Categories, cat) && len(cat) > 1 {
feed.Params.Categories = append(feed.Params.Categories, cat)
}
}

Expand All @@ -66,11 +66,11 @@ func (a *Analysis) PopulateCategoriesForPost(feed *FeedInfo) {
ohno(err)

for rows.Next() {
var link string
err = rows.Scan(&link)
var cat string
err = rows.Scan(&cat)
ohno(err)
if !slices.Contains(feed.Params.LastPostCategories, link) {
feed.Params.LastPostCategories = append(feed.Params.LastPostCategories, link)
if !slices.Contains(feed.Params.LastPostCategories, cat) && len(cat) > 1 {
feed.Params.LastPostCategories = append(feed.Params.LastPostCategories, cat)
}
}

Expand Down
31 changes: 31 additions & 0 deletions content/discover/feed-0714ce424533a28bdcfc1c5b20a214d1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: katherine
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://sunny.garden/@kayserifserif.rss
feedtype: rss
feedid: 0714ce424533a28bdcfc1c5b20a214d1
websites: {}
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 0
score: 6
ispodcast: false
---
1 change: 1 addition & 0 deletions content/discover/feed-076549df4dfab1b9d52552f31034bb12.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ params:
feedtype: rss
feedid: 076549df4dfab1b9d52552f31034bb12
websites:
https://themarginalian.org/: false
https://www.themarginalian.org/: true
blogrolls: []
recommended: []
Expand Down
34 changes: 34 additions & 0 deletions content/discover/feed-0951f940509826d2342c44f287c76393.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: 'Blogpocket Bot :wordpress:'
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://wptoots.social/@hechoconbloques.rss
feedtype: rss
feedid: 0951f940509826d2342c44f287c76393
websites:
https://wptoots.social/@hechoconbloques: true
blogrolls: []
recommended: []
recommender: []
categories: []
relme:
https://federate.social/@blogpocket: false
https://www.blogpocket.com/podcast: false
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 1
title: 3
website: 2
score: 9
ispodcast: false
---
31 changes: 31 additions & 0 deletions content/discover/feed-0c3d2c221dcaf6f2df0ad034076de3b6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "Giorgio Maone \U0001F6AB\U0001F9C5"
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://todon.eu/@ma1.rss
feedtype: rss
feedid: 0c3d2c221dcaf6f2df0ad034076de3b6
websites: {}
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 0
score: 6
ispodcast: false
---
35 changes: 35 additions & 0 deletions content/discover/feed-0d6a109f68b67a098fdf3745b71c846c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: ooh.directory recently added blogs
date: "1970-01-01T00:00:00Z"
description: The blogs added to ooh.directory most recently
params:
feedlink: https://ooh.directory/feeds/recently-added.xml
feedtype: rss
feedid: 0d6a109f68b67a098fdf3745b71c846c
websites:
https://ooh.directory/: true
blogrolls: []
recommended: []
recommender: []
categories: []
relme:
https://mastodon.social/@OohDirectory: true
last_post_title: Pants On Fire
last_post_description: "“The questionable activities of William J. Denby and his
band of grifters in the city of Kawartha Lakes, Ontario, Canada.”\n\n\n\n\n\n\U0001F1E8\U0001F1E6
Started in 2023.\n \n \n \n Average 1,080 words."
last_post_date: "2024-06-02T13:44:29Z"
last_post_link: https://pantsaflame.blogspot.com/
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 2
title: 3
website: 2
score: 10
ispodcast: false
---
7 changes: 4 additions & 3 deletions content/discover/feed-0de7454f36577b1abaa3dfb43b2622a9.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ params:
blogrolls: []
recommended: []
recommender: []
categories: []
categories:
- Technology
relme:
https://castro.fm/itunes/1033235350: false
https://feeds.libsyn.com/517508/rss: false
Expand All @@ -31,14 +32,14 @@ params:
last_post_link: http://sites.libsyn.com/517508/185-ill-eat-glue-cheese
last_post_categories: []
score_criteria:
cats: 0
cats: 1
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 2
title: 3
website: 2
score: 10
score: 11
ispodcast: true
---
31 changes: 31 additions & 0 deletions content/discover/feed-1000f59984bdf16ba5d4fa85f49e9b1a.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Carlana Johnson :v_trans:​
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://tech.lgbt/@carlana.rss
feedtype: rss
feedid: 1000f59984bdf16ba5d4fa85f49e9b1a
websites: {}
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 0
score: 6
ispodcast: false
---
37 changes: 37 additions & 0 deletions content/discover/feed-105405f41465f0da8f046ac44984962f.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: fennifith
date: "1970-01-01T00:00:00Z"
description: |-
Hi! I make funny sounds with computers. Big fan of polyrhythms.
Feel free to use my music for any of your projects, with credit.
I'm also open to commissions - feel free to contact me (https
params:
feedlink: https://music.jfenn.me/feed.rss
feedtype: rss
feedid: 105405f41465f0da8f046ac44984962f
websites:
https://music.jfenn.me/: true
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: Crunch
last_post_description: A release by fennifith
last_post_date: "1970-01-01T00:00:00Z"
last_post_link: https://music.jfenn.me/crunch
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 2
score: 8
ispodcast: false
---
1 change: 1 addition & 0 deletions content/discover/feed-1482fb3dd4c879afc1429ce92b4c4908.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ params:
feedid: 1482fb3dd4c879afc1429ce92b4c4908
websites:
https://www.blogpocket.com/: true
https://www.blogpocket.com/podcast/: false
blogrolls: []
recommended: []
recommender: []
Expand Down
31 changes: 31 additions & 0 deletions content/discover/feed-16c512f22e6b1c869048942e9040d0c4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Chris
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://mastodon.social/@chrismartin.rss
feedtype: rss
feedid: 16c512f22e6b1c869048942e9040d0c4
websites: {}
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 0
score: 6
ispodcast: false
---
44 changes: 44 additions & 0 deletions content/discover/feed-16ee3eadb82f1bd67a1fcb6bfc34ccae.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: The travels of Mary Loosemore
date: "1970-01-01T00:00:00Z"
description: ""
params:
feedlink: https://www.sparklytrainers.com/feed/
feedtype: rss
feedid: 16ee3eadb82f1bd67a1fcb6bfc34ccae
websites:
https://www.sparklytrainers.com/: true
blogrolls: []
recommended: []
recommender: []
categories:
- diary
- Herefordshire Week Notes
- images
- Herefordshire (UK)
- Relocating to Herefordshire
relme: {}
last_post_title: 'Herefordshire Week 230: Tuesday 21 – Monday 27 May 2024'
last_post_description: 'Catching up back home. Office Panelling Project. Oh, and
A General Election Is Announced. Started slowly settling back into the Forty Acres
Life on Tuesday: gym for PT (and update on All The Changes)'
last_post_date: "2024-05-28T07:04:41Z"
last_post_link: https://www.sparklytrainers.com/blog/2024/05/28/herefordshire-week-230-tuesday-21-monday-27-may-2024/
last_post_categories:
- diary
- Herefordshire Week Notes
- images
- Herefordshire (UK)
- Relocating to Herefordshire
score_criteria:
cats: 0
description: 0
postcats: 3
promoted: 0
promotes: 0
relme: 0
title: 3
website: 2
score: 8
ispodcast: false
---
31 changes: 31 additions & 0 deletions content/discover/feed-19bccbe8d5710ae594e313ae23dda1e1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: meejah
date: "1970-01-01T00:00:00Z"
description: Public posts from @[email protected]
params:
feedlink: https://fosstodon.org/@meejah.rss
feedtype: rss
feedid: 19bccbe8d5710ae594e313ae23dda1e1
websites: {}
blogrolls: []
recommended: []
recommender: []
categories: []
relme: {}
last_post_title: ""
last_post_description: ""
last_post_date: ""
last_post_link: ""
last_post_categories: []
score_criteria:
cats: 0
description: 3
postcats: 0
promoted: 0
promotes: 0
relme: 0
title: 3
website: 0
score: 6
ispodcast: false
---
Loading

0 comments on commit f7d8297

Please sign in to comment.