# Update Notifications

## The updates.rdf datasource

The updates.rdf datasource is an RDF file containing information about the latest updates available for the client. It can be stored remotely.

### The updates.rdf preference

The updates.rdf datasource is stored in a localized pref in communicator-region's region.properties file. The datasource pref is `update_notifications.provider.0.datasource`. See the update notifications specification at: http://www.mozilla.org/xpapps/updates/spec.html.

### The updates.rdf format

This RDF file stores the product name, the latest version available, the regsitry name (as registered in the mozilla version registry), and the URL to take users to if a new update has been detected and users wish to get it. The update notification module looks for this information rooted at the `urn:updates:latest` node.

An example of the updates.rdf file follows:

    <?xml version="1.0"?>
    <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:NC="http://home.netscape.com/NC-rdf#">

      <RDF:Description about="urn:updates:latest">
        <NC:registryName>Browser</NC:registryName>
        <NC:version>1.0.0.0</NC:version>
        <NC:URL>http://home.netscape.com/computing/download/index.html</NC:URL>
        <NC:productName>Mozilla</NC:productName>
      </RDF:Description>

    </RDF:RDF>

Contact: sgehani@netscape.com