resync/examples/README_client_library_in_source.py
2020-12-16 11:19:48 -05:00

8 lines
239 B
Python

#!/usr/bin/env python
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()