README.texi | 2 +- cmd/sgblog/http.go | 2 +- common.go | 2 +- diff --git a/README.texi b/README.texi index 106501c4c4da3951d1b99a8aace1dc7ab1294be0f5c25068e9bade779664a1c3..13638d7f3e3b4e003039ca94cd5acc555945402c5e890ef9dbbc403c128fd870 100644 --- a/README.texi +++ b/README.texi @@ -129,7 +129,7 @@ CA. So either disable their usage and trust that certificate: @code{GOPRIVATE=go.stargrave.org/sgblog}, or clone its source code manually and build in place: @url{git://git.stargrave.org/sgblog.git}, -@url{https://git.stargrave.org/git/sgblog.git}. +@url{https://git.stargrave.org/sgblog.git}. For enabling blog availability you have to use HTTP server with CGI interface. Example part of @url{http://www.lighttpd.net/, lighttpd}'s diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 8d10b983a0eb237a17867cfa3ebfee5a7b11cd098dd7019fe19303d50b96bb60..f9df7cf31e02a38b2bee6c208082c5f2a657aea050a687292aae8a2a324fba24 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -843,7 +843,7 @@ os.Stdout.Write(outBuf.Bytes()) return AtomFinish: - os.Stdout.WriteString("Content-Type: text/xml; charset=UTF-8\n") + os.Stdout.WriteString("Content-Type: application/atom+xml; charset=UTF-8\n") os.Stdout.WriteString("ETag: " + etagString(etagHash) + "\n") if gzipWriter != nil { os.Stdout.WriteString("Content-Encoding: gzip\n") diff --git a/common.go b/common.go index e7b99d2e7c1a024ba028c6debfd8fca227eb3b5591f3b443310c7483042df320..76599505b8bb7b3cc49025947106e8c2ae924061796c1b0aa40bc0b6e9e6b675 100644 --- a/common.go +++ b/common.go @@ -2,6 +2,6 @@ // SGBlog -- Git-backed CGI/inetd blogging/phlogging engine package sgblog const ( - Version = "0.13.0" + Version = "0.14.0" WhenFmt = "2006-01-02 15:04:05Z07:00" )