diff options
-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)); |