diff options
Diffstat (limited to 'cmd/build/atom.go')
-rw-r--r-- | cmd/build/atom.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/build/atom.go b/cmd/build/atom.go index 9116278..e071af9 100644 --- a/cmd/build/atom.go +++ b/cmd/build/atom.go @@ -7,7 +7,7 @@ import ( . "alanpearce.eu/website/internal/config" ) -func makeTagURI(config Config, specific string) string { +func MakeTagURI(config Config, specific string) string { return "tag:" + config.OriginalDomain + "," + config.DomainStartDate + ":" + specific } @@ -18,7 +18,7 @@ type Link struct { Href string `xml:"href,attr"` } -func makeLink(url string) Link { +func MakeLink(url string) Link { return Link{ Rel: "alternate", Type: "text/html", @@ -38,6 +38,6 @@ type FeedEntry struct { Id string `xml:"id"` Updated time.Time `xml:"updated"` Summary string `xml:"summary,omitempty"` - Author string `xml:"author>name"` Content FeedContent `xml:"content"` + Author string `xml:"author>name"` } |