Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • an Author for the user (same as Feed)
  • a Title (same as Feed)
  • an Updated entry (same as Feed)
  • a Content item with the URL of the content location and the MIME type (for Add and Update)
  • a Link with a relationship REL_VIA for the item's URI
  • a Summary item with a textual description (mandatory, but not used for anything)
  • Category items for the before and after states (for state changes)
  • a Category item for the type of modification (not present for state-only changes)

Example messages

Code Block
langxml
titleIngest
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:changes="http://www.acuityunlimited.net/fedora/messaging#">
  <category term="3.5-SNAPSHOT" scheme="info:fedora/fedora-system:def/view#version"></category>
  <category term="http://www.acuityunlimited.net/fedora/messaging#content-change-message-0.1" scheme="http://www.fedora.info/definitions/1/0/types/formatURI"></category>
  <author>
    <name>fedoraAdmin</name>
  </author>
  <title type="text">ingest</title>
  <updated>2011-08-03T08:14:25.943Z</updated>
  <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass"></link>
  <id>urn:uuid:c4bf3a5c-69e7-4a1a-941b-dfd328bb4a48</id>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:296f93e1-7f22-430a-99f6-256cf13d1fa3</id>
    <title type="text">ingest</title>
    <updated>2011-08-03T08:14:25.943Z</updated>
    <content type="text/xml" src="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content?asOfDateTime=2008-07-02T05:09:42.921Z"></content>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:CONTENT:ITEM:STATEAFTER" term="ACTIVE">Fedora datastream state after modification</category>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="ADD">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:aabed436-70b7-4e21-aec7-bde3c70d8ba7</id>
    <title type="text">ingest</title>
    <updated>2011-08-03T08:14:25.943Z</updated>
    <content type="application/rdf+xml" src="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/RELS-EXT/content?asOfDateTime=2008-07-02T05:09:42.921Z"></content>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/RELS-EXT/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:CONTENT:ITEM:STATEAFTER" term="ACTIVE">Fedora datastream state after modification</category>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="ADD">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:3931f264-2a58-4f20-b177-39fb2a4e49ce</id>
    <title type="text">ingest</title>
    <updated>2011-08-03T08:14:25.943Z</updated>
    <content type="image/jpeg" src="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/FULL_SIZE/content?asOfDateTime=2008-07-02T05:09:42.921Z"></content>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/FULL_SIZE/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:CONTENT:ITEM:STATEAFTER" term="ACTIVE">Fedora datastream state after modification</category>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="ADD">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:70f98231-301f-4f5e-a1d3-14d57f2a7322</id>
    <title type="text">ingest</title>
    <updated>2011-08-03T08:14:25.943Z</updated>
    <content type="image/jpeg" src="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/MEDIUM_SIZE/content?asOfDateTime=2008-07-02T05:09:42.921Z"></content>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/MEDIUM_SIZE/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:CONTENT:ITEM:STATEAFTER" term="ACTIVE">Fedora datastream state after modification</category>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="ADD">Fedora datastream modification type</category>
  </entry>
</feed>
Code Block
langxml
titleDatastream content modification
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:changes="http://www.acuityunlimited.net/fedora/messaging#">
  <category term="3.5-SNAPSHOT" scheme="info:fedora/fedora-system:def/view#version"></category>
  <category term="http://www.acuityunlimited.net/fedora/messaging#content-change-message-0.1" scheme="http://www.fedora.info/definitions/1/0/types/formatURI"></category>
  <author>
    <name>fedoraAdmin</name>
  </author>
  <title type="text">modifyDatastreamByValue</title>
  <updated>2011-08-03T08:18:48.092Z</updated>
  <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass"></link>
  <id>urn:uuid:babb08b1-46dd-407c-859d-f2f355634e3a</id>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:0bcf71cb-620b-453a-9ffa-443f414595b7</id>
    <title type="text">modifyDatastreamByValue</title>
    <updated>2011-08-03T08:18:48.092Z</updated>
    <content type="text/xml" src="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content?asOfDateTime=2011-08-03T08:18:48.092Z"></content>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="UPDATE">Fedora datastream modification type</category>
  </entry>
</feed>
Code Block
langxml
titleDatastream state change
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:changes="http://www.acuityunlimited.net/fedora/messaging#">
  <category term="3.5-SNAPSHOT" scheme="info:fedora/fedora-system:def/view#version"></category>
  <category term="http://www.acuityunlimited.net/fedora/messaging#content-change-message-0.1" scheme="http://www.fedora.info/definitions/1/0/types/formatURI"></category>
  <author>
    <name>fedoraAdmin</name>
  </author>
  <title type="text">setDatastreamState</title>
  <updated>2011-08-03T08:20:30.460Z</updated>
  <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass"></link>
  <id>urn:uuid:be983aa5-43fd-4330-b8bb-127bac00c3cb</id>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:841b1023-52c7-4322-b10a-daa2037bb3e7</id>
    <title type="text">setDatastreamState</title>
    <updated>2011-08-03T08:20:30.460Z</updated>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:CONTENT:ITEM:STATEBEFORE" term="ACTIVE">Fedora datastream state before modification</category>
    <category scheme="changes:CONTENT:ITEM:STATEAFTER" term="INACTIVE">Fedora datastream state after modification</category>
  </entry>
</feed>
Code Block
langxml
titleObject Purge
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:changes="http://www.acuityunlimited.net/fedora/messaging#">
  <category term="3.5-SNAPSHOT" scheme="info:fedora/fedora-system:def/view#version"></category>
  <category term="http://www.acuityunlimited.net/fedora/messaging#content-change-message-0.1" scheme="http://www.fedora.info/definitions/1/0/types/formatURI"></category>
  <author>
    <name>fedoraAdmin</name>
  </author>
  <title type="text">purgeObject</title>
  <updated>2011-08-03T08:21:32.169Z</updated>
  <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass"></link>
  <id>urn:uuid:9733fc70-67e0-49ef-aa2b-e8d9c95a5db7</id>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:2d769c36-baba-47be-8716-524a58542063</id>
    <title type="text">purgeObject</title>
    <updated>2011-08-03T08:21:32.169Z</updated>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/DC/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="DELETE">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:4164cd78-1fa3-4292-bf7c-47f62bb672b7</id>
    <title type="text">purgeObject</title>
    <updated>2011-08-03T08:21:32.169Z</updated>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/RELS-EXT/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="DELETE">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:796c0612-171f-46ad-bcb7-e2a9a6166ae7</id>
    <title type="text">purgeObject</title>
    <updated>2011-08-03T08:21:32.169Z</updated>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/MEDIUM_SIZE/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="DELETE">Fedora datastream modification type</category>
  </entry>
  <entry>
    <author>
      <name>fedoraAdmin</name>
    </author>
    <id>urn:uuid:64571aac-58cc-47d2-a9b6-3bf0ac870101</id>
    <title type="text">purgeObject</title>
    <updated>2011-08-03T08:21:32.169Z</updated>
    <link rel="via" href="http://localhost:8080/fedora/objects/demo:SmileyBeerGlass/datastreams/FULL_SIZE/content"></link>
    <summary type="text">Datastream modification/state change, see content src for new content</summary>
    <category scheme="changes:ITEM:CHANGE:TYPE" term="DELETE">Fedora datastream modification type</category>
  </entry>
</feed>

Code overview