/[svn.andrew.net.au]/scripts/movies.py
ViewVC logotype

Diff of /scripts/movies.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by apollock, Thu Nov 2 05:46:44 2006 UTC revision 16 by apollock, Sat Nov 18 07:08:16 2006 UTC
# Line 88  def main(): Line 88  def main():
88  <id>http://www.andrew.net.au/</id>  <id>http://www.andrew.net.au/</id>
89    
90  <entry>  <entry>
91  <id>http://www.imdb.com/nowplaying/</id>  <id>%(timestamp)s</id>
92    
93  <updated>%(updated)sZ</updated>  <updated>%(updated)sZ</updated>
94  <title>This week's movies</title>  <title>This week's movies</title>
# Line 98  def main(): Line 98  def main():
98  </content>  </content>
99  </entry>  </entry>
100  </feed>  </feed>
101  """ % { 'updated': datetime.datetime.utcnow().isoformat()[0:19], 'movies': movies }  """ % { 'updated': datetime.datetime.utcnow().isoformat()[0:19], 'movies': movies, 'timestamp': int(time.time()) }
102    
103  if __name__ == "__main__":  if __name__ == "__main__":
104          main()          main()

Legend:
Removed from v.7  
changed lines
  Added in v.16

  ViewVC Help
Powered by ViewVC 1.1.22