fix comment and update readme

This commit is contained in:
nytpu
2021-03-17 08:41:42 -06:00
parent 07d85c0bfc
commit 1389fc8d6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ See `comitium help` for basic usage. For more advanced usage, see
There's many gemini aggregators out there, and yet not one does everything I There's many gemini aggregators out there, and yet not one does everything I
want it to. I want an aggregator that: want it to. I want an aggregator that:
1. works with gemini (and possibly gopher) 1. works with gemini (and possibly gopher & http)
2. supports atom (and possibly rss & json) 2. supports atom (and possibly rss & json)
3. supports gemini feeds 3. supports gemini feeds
4. can watch for page changes (and possibly watch for new gemtext headers as 4. can watch for page changes (and possibly watch for new gemtext headers as
+1 -1
View File
@@ -34,7 +34,7 @@ type jsonData struct {
type Feed struct { type Feed struct {
Title string `json:"title,omitempty"` Title string `json:"title,omitempty"`
Link *url.URL `json:"link,omitempty"` // link to the human-readable page for the feed. same as FeedLink for gemini feeds. Link *url.URL `json:"link,omitempty"` // link to the human-readable page for the feed. same as FeedLink for gemini feeds.
FeedLink *url.URL `json:"feedlink,omitempty"` // link to the feed itself. if empty, use Link instead. FeedLink *url.URL `json:"feedlink,omitempty"` // link to the feed itself.
Updated time.Time `json:"updated,omitempty"` Updated time.Time `json:"updated,omitempty"`
Items []*Item `json:"items,omitempty"` Items []*Item `json:"items,omitempty"`
} }