resync/examples/README_client_library_in_source.py
2013-07-04 23:25:29 -04:00

10 lines
298 B
Python

#!/usr/bin/env python
if (True): #keep indentation of README
from resync import Resource,ResourceList
rl = ResourceList()
rl.add( Resource('http://example.com/res1', lastmod='2013-01-01') )
rl.add( Resource('http://example.com/res2', lastmod='2013-01-02') )
print rl.as_xml()