resync / resync-simulator

ResourceSync Change Simulator
11 stars 6 forks source link

Update for ResourceSync 1.1 #30

Closed zimeon closed 3 years ago

zimeon commented 7 years ago

See highlighted spec http://www.openarchives.org/rs/1.1/resourcesync_highlighted and also https://github.com/resync/resync/issues/24

In particular, should add datetime attribute for changes to ChangeList, e.g. in demo site http://resync.library.cornell.edu/sim100/changelist.xml we have:

<url>
  <loc>http://resync.library.cornell.edu/sim100/resources/70</loc>
  <lastmod>2017-04-14T16:15:03.551519Z</lastmod>
  <rs:md change="updated" hash="md5:facc4811d489ac0ed098a66029781568" length="385"/>
</url>

but should be

<url>
  <loc>http://resync.library.cornell.edu/sim100/resources/70</loc>
  <rs:md change="updated" datetime="2017-04-14T16:15:03.551519Z" hash="md5:facc4811d489ac0ed098a66029781568" length="385"/>
</url>

(although perhaps could include as lastmod too)