Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(159)

Issue 16830043: code review 16830043: blog: Make the atom feed title configurable. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by marete
Modified:
11 years, 8 months ago
Reviewers:
adg
CC:
golang-dev, adg
Visibility:
Public.

Description

blog: Make the atom feed title configurable. The blog code is quite generic and with the replacement of template and static files, it can be re-used. But the atom feed title is hard-coded into the code. This patch adds a field to set the atom feed title to the Config structure and uses it in the code where the title was previously hard-coded. A CL sent separately will set this Config field in the main package in the go.blog sub-repository. (See CL 16850043 for that other patch).

Patch Set 1 #

Patch Set 2 : diff -r 9e246fa49449 https://code.google.com/p/go.tools #

Patch Set 3 : diff -r 9e246fa49449 https://code.google.com/p/go.tools #

Total comments: 1

Patch Set 4 : diff -r 9e246fa49449 https://code.google.com/p/go.tools #

Patch Set 5 : diff -r 9e246fa49449 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M blog/blog.go View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 7
marete
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.tools
11 years, 8 months ago (2013-10-24 21:30:16 UTC) #1
marete
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2013-10-24 21:54:42 UTC) #2
adg
https://codereview.appspot.com/16830043/diff/40001/blog/blog.go File blog/blog.go (right): https://codereview.appspot.com/16830043/diff/40001/blog/blog.go#newcode41 blog/blog.go:41: AtomFeedTitle string // The title of the Atom XML ...
11 years, 8 months ago (2013-10-25 13:51:21 UTC) #3
marete
Hello golang-dev@googlegroups.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2013-10-26 18:50:59 UTC) #4
marete
Hello golang-dev@googlegroups.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2013-10-26 18:51:55 UTC) #5
adg
LGTM Thanks.
11 years, 8 months ago (2013-10-28 08:13:22 UTC) #6
adg
11 years, 8 months ago (2013-10-28 08:17:05 UTC) #7
*** Submitted as
https://code.google.com/p/go/source/detail?r=963dd9f808db&repo=tools ***

blog: Make the atom feed title configurable.

The blog code is quite generic and with the replacement of template and
static files, it can be re-used. But the atom feed title is hard-coded
into the code. This patch adds a field to set the atom feed title to
the Config structure and uses it in the code where the title was
previously hard-coded.

A CL sent separately will set this Config field in the main package in
the go.blog sub-repository. (See CL 16850043 for that other patch).

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/16830043

Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b