diff options
author | Michael Bien <[email protected]> | 2010-09-27 01:26:24 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-27 01:26:24 +0200 |
commit | 76e1befb4e50b799a0bb9288cb24313a85af123f (patch) | |
tree | 58c835f703c35183d87e362d83c248675b1e175c | |
parent | 48c0c2ac3784b4624f9e93b01fc81a3f1ea0868a (diff) |
added date to model
-rw-r--r-- | src/main/java/com/jogamp/hungryharry/FeedAggregator.java | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |