Commits
- Commit:
811261d28358f66044b00a0bfa6771c4b436bd6f
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #9 from ollytom/main
rss: handle more timestamp variants
- Commit:
54640ca00f76c1b4298c39a494603a3468c916b3
- From:
- Oliver Lowe <o@olowe.co>
- Date:
internal/db: return error on channel not found
Defining a new error as I imagine we'll be wanting to handle this
explicitly e.g. by trying to look up a feed on the web.
- Commit:
88856714674aff9291364b5ac6e7deb736ad97bf
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Rename some templates
Make the channel template re-usable
Add handler for channel page
List episode titles
- Commit:
4b027dd5ebf86a899817b235cb999dc9cd37f2a8
- From:
- Oliver Lowe <o@olowe.co>
- Date:
internal/service: add a primitive error page
Onwards and upwards from a panic
- Commit:
fbc9dda8a5205f5321f0d9d398e4f614cca90d66
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Add initial channel handler
- Commit:
247c5494088a4a93b3a2290e9175f34adde47cc3
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rss: add MIME type
Helps in feed type detection, autodiscovery
- Commit:
b9caa526e8c48987c5e3279668fd8b9b6fd17f83
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Wrap channel results so we can add extra data
Link to channel
- Commit:
f130d58c691c245a36ff9d0e042760e960654722
- From:
- Oliver Lowe <o@olowe.co>
- Date:
readme: add pkg.go.dev link
- Commit:
da4cec2f9974cfc8040380e0b437c4fa33ca22f7
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Rename "Feeds" to Channels as that's what they are
Make button link styles reuseable
Add button that will link to the channel
- Commit:
817d96a5e927f4d49e7cbf6b52c2d91d34d18c40
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rss: handle more timestamp variants
I parsed every feed listed in opml/otl.opml and found a bunch of
variants of RFC 822 and RFC 1123 timestamps used.
- Commit:
5f9e6325936e158cd3c8afcbd5005b278dc9a855
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #8 from ollytom/main
rss: handle valid empty fields
- Commit:
f3e9104510af53a78a30c8260e06559a88ddcdc3
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rss: handle valid empty fields
Ran into a problem when trying to parse the feed at
https://hnrss.org/frontpage. That feed's channel has no pubdate
element set; UnmarshalXML errors on timestamp parsing with as it gets
an empty string. Reading the spec I found very few fields are actually
required. Funnily enough testdata/empty.xml is a valid RSS feed - I
even verified using the official RSS validator at
https://www.rssboard.org/rss-validator !
- Commit:
c4a56c0a8e7accfd981a9b7b19515d5f3302c278
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Display most appropriate channel data
Improve channel styling
- Commit:
93ff9d7f210e985d4d61bdb8dda1ea69c2b2cb43
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #7 from ollytom/js
service: support queries without javascript
- Commit:
d33056098fdd12e73cad42fb5cbdf5476ac5c023
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #6 from ollytom/time
rss: store pubdate etc. as native time.Time
- Commit:
59dafdf0addd0f5bfb93098447743706dff813b4
- From:
- Oliver Lowe <o@olowe.co>
- Date:
service: support queries without javascript
I was curious how it all worked if I disabled javascript entirely.
Pretty cool how it all "just worked" once I set the usual `action`
attr in the form element.
While here fix little nit about using a boolean type for a
boolean condition
- Commit:
79a20b3c5fd63bf1883cb8afd98ba8696b1aa406
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rss: store pubdate etc. as native time.Time
This uses a technique I've used a few times to work with loosely typed
data in XML and JSON. The original idea is from [icholy]. It's a
little tricky, but it's easy to test.
[icholy]: https://choly.ca/post/go-json-marshalling/
- Commit:
874b706b1cb8542a2aa62bd35d6da2ba7bc16f78
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Improve parsing of additional rss channel meta data
Initial rendering of channel results
Move handlers into their own file
- Commit:
ed95fc8404c32829d0715ad12d6150cb663c049c
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Create DB package for reading/writing data
Implement URL detection for search and lookup RSS feed
- Commit:
38dff9091688843ea4d52933f27306435c054355
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #4 from ollytom/main
rss: use built-in RFC 1123 time format
- Commit:
37ef97ad5e578f2ca9370bc38b90ee0c8289b8e1
- From:
- Oliver Lowe <o@olowe.co>
- Date:
rss: use built-in RFC 1123 time format
Numeric timezone variant. Timestamps :(
- Commit:
722a6f393041fe09c87f797a39d8ff00d157fe3d
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Move handlers to their own service
- Commit:
5a25e6098daa4525fb5946d5330478354e706d73
- From:
- Matt Streatfield <matt.r.streatfield@gmail.com>
- Date:
Add RSS decoder
- Commit:
9e0ba934362a7537b7f206c419f40c138508d96b
- From:
- Matthew Streatfield <StreatCodes@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #3 from ollytom/main
add opml package
- Commit:
8dfb72dda0321813659e4a002f69ac988a0143fd
- From:
- Oliver Lowe <o@olowe.co>
- Date:
add opml package
Feed readers use OPML to exchange lists of feeds, which is what any
applications developed here may do at some point, too. This package
only does decoding for now; I dumped my own feeds out of my own feed
reader app as a quick test to see how tricky this would be!