The first thing the CLI needs to be able to do is to fetch and parse a RSS feed.
As snippets hasn't actually been migrated to Nikola yet, we'll use https://www.bentasker.co.uk/rss.xml (also generated by Nikola)
assigned to @btasker
mentioned in commit 10fbb21740af7f29a9748241a00be74cc685c158
Commit: 10fbb21740af7f29a9748241a00be74cc685c158 Author: B Tasker Date: 2024-09-27T09:13:39.000+01:00
feat: fetch and (lightly) parse a RSS feed (utilities/snippets_cli_go#2)
The commit above simply fetches and prints the title with gofeed - there's obviously a chunk more work to do before this issue can be closed.
gofeed
Details of the structure of the parsed feed can be found at https://github.com/mmcdole/gofeed/blob/master/translator.go#L40
mentioned in commit d7aec92b065c45b8ad26c9a0fa0ca3e9e44dccdc
Commit: d7aec92b065c45b8ad26c9a0fa0ca3e9e44dccdc Author: B Tasker Date: 2024-09-27T10:27:39.000+01:00
feat: iterate through feed items extracting the bits that we'll want to look at (utilities/snippets_cli_go#2)
This doesn't yet do anything particularly useful, but shows how we'll iterate through once searching starts being implemented
mentioned in issue #4
Activity
27-Sep-24 08:10
assigned to @btasker
27-Sep-24 08:13
mentioned in commit 10fbb21740af7f29a9748241a00be74cc685c158
Message
feat: fetch and (lightly) parse a RSS feed (utilities/snippets_cli_go#2)
27-Sep-24 08:14
The commit above simply fetches and prints the title with
gofeed
- there's obviously a chunk more work to do before this issue can be closed.27-Sep-24 09:22
Details of the structure of the parsed feed can be found at https://github.com/mmcdole/gofeed/blob/master/translator.go#L40
27-Sep-24 09:28
mentioned in commit d7aec92b065c45b8ad26c9a0fa0ca3e9e44dccdc
Message
feat: iterate through feed items extracting the bits that we'll want to look at (utilities/snippets_cli_go#2)
This doesn't yet do anything particularly useful, but shows how we'll iterate through once searching starts being implemented
27-Sep-24 10:03
mentioned in issue #4