summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-09-01 19:47:45 +0200
committerDavid A. Madore <david+git@madore.org>2011-09-01 19:47:45 +0200
commit5073c443cb3b016ee0d8d9de3771a6c6a9edd34c (patch)
tree1365873abc03db657a4b9387b1fe93a73816ee20
parent7d269b2558b781d9f1265a12b1e245315412e02a (diff)
downloaddamlengine-5073c443cb3b016ee0d8d9de3771a6c6a9edd34c.tar.gz
damlengine-5073c443cb3b016ee0d8d9de3771a6c6a9edd34c.tar.bz2
damlengine-5073c443cb3b016ee0d8d9de3771a6c6a9edd34c.zip
Add more entries (25 rather than 15) to RSS feed.
-rw-r--r--org/madore/damlengine/WeblogRSS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/WeblogRSS.java b/org/madore/damlengine/WeblogRSS.java
index 31744f5..99afa96 100644
--- a/org/madore/damlengine/WeblogRSS.java
+++ b/org/madore/damlengine/WeblogRSS.java
@@ -26,7 +26,7 @@ public final class WeblogRSS {
final Connection conn = WeblogDatabaseConnection.getConnection();
final PreparedStatement selSt
- = conn.prepareStatement("SELECT id , edate , to_char(cdate,'YYYY-MM-DD\"T\"HH24:MI:SS\"Z\"') , lang , title , content FROM entries ORDER BY id DESC LIMIT 15");
+ = conn.prepareStatement("SELECT id , edate , to_char(cdate,'YYYY-MM-DD\"T\"HH24:MI:SS\"Z\"') , lang , title , content FROM entries ORDER BY id DESC LIMIT 25");
final ResultSet selRes = selSt.executeQuery();