Skip to content

Commit

Permalink
Fixed feed links for /blog page by upgrading to Feeds 1.5. Also added
Browse files Browse the repository at this point in the history
links to the site's home page.
  • Loading branch information
pledbrook committed Jun 18, 2010
1 parent 0a31bae commit 8d9e942
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="feeds-1.4-grails-app-i18n">
<classpathentry kind="src" path="feeds-1.5-grails-app-i18n">
<attributes>
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="feeds-1.4-grails-app-taglib">
<classpathentry kind="src" path="feeds-1.5-grails-app-taglib">
<attributes>
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="feeds-1.4-src-groovy">
<classpathentry kind="src" path="feeds-1.5-src-groovy">
<attributes>
<attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
</attributes>
Expand Down
12 changes: 6 additions & 6 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/commentable-0.7.4/src/groovy</location>
</link>
<link>
<name>feeds-1.4-grails-app-i18n</name>
<name>feeds-1.5-grails-app-i18n</name>
<type>2</type>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.4/grails-app/i18n</location>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.5/grails-app/i18n</location>
</link>
<link>
<name>feeds-1.4-grails-app-taglib</name>
<name>feeds-1.5-grails-app-taglib</name>
<type>2</type>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.4/grails-app/taglib</location>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.5/grails-app/taglib</location>
</link>
<link>
<name>feeds-1.4-src-groovy</name>
<name>feeds-1.5-src-groovy</name>
<type>2</type>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.4/src/groovy</location>
<location>/Users/pledbrook/dev/tools/git/grails-samples/grails.org/plugins/feeds-1.5/src/groovy</location>
</link>
<link>
<name>grails-ui-1.2-SNAPSHOT-grails-app-conf</name>
Expand Down
4 changes: 2 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Grails Metadata file
#Mon Apr 26 14:13:11 CEST 2010
#Fri Jun 18 13:55:00 BST 2010
app.grails.version=1.2.2
app.name=site
app.servlet.version=2.4
Expand All @@ -8,7 +8,7 @@ plugins.autobase=0.8.5
plugins.avatar=0.3
plugins.bubbling=2.1.2
plugins.commentable=0.7.4
plugins.feeds=1.4
plugins.feeds=1.5
plugins.grails-ui=1.2-SNAPSHOT
plugins.hibernate=1.2.2
plugins.jsecurity=0.3
Expand Down
2 changes: 2 additions & 0 deletions grails-app/views/content/homePage.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta content="homepage" name="layout" />
<feed:meta kind="rss" version="2.0" controller="blog" action="feed" params="[format:'rss']"/>
<feed:meta kind="atom" version="1.0" controller="blog" action="feed" params="[format:'atom']"/>
</head>
<body>
test
Expand Down

0 comments on commit 8d9e942

Please sign in to comment.