From 76e1befb4e50b799a0bb9288cb24313a85af123f Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 27 Sep 2010 01:26:24 +0200 Subject: added date to model --- src/main/java/com/jogamp/hungryharry/FeedAggregator.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com') diff --git a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java index 4378a57..0f03dee 100644 --- a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java +++ b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java @@ -31,6 +31,7 @@ import java.io.FileInputStream; import java.io.FileWriter; import java.io.Writer; import java.util.Comparator; +import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; @@ -162,6 +163,7 @@ public class FeedAggregator { root.put("page", index+1); root.put("pages", pages); root.put("filename", name); + root.put("updated", new Date()); root.put("prev", pageName(planet, index-1, pages)); root.put("next", pageName(planet, index+1, pages)); -- cgit v1.2.3