[back to Inside Google Sitemaps] Inside Google Sitemaps: Using OAI-PMH with Google SitemapsYour source for product news and developments Using OAI-PMH with Google SitemapsIf your site uses the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) 2.0 protocol, an application-independent interoperability framework based on metadata harvesting, you can use your OAI repository as your Sitemap. Simply submit the baseURL of your OAI repository (for instance, http://www.example.com/oaiserver ). When we query the baseURL , we automatically add query parameters (such as ?verb=Identify or ?verb=ListRecords ), so you can simply submit the baseURL itself. When we extract the URLs for your site, we expect the records in the repository to be formatted using Dublin Core, with the URLs embedded in <dc:identifier> tags. Below is a sample record that includes the <dc:identifier> tag in bold. The URL listed in that tag is what we extract.<oai_dc:dcAs with other Sitemaps, the URLs must be within the same site and at the same directory location or lower than the baseURL . For instance, if you submit http://www.example.com/oaiserver as the baseURL , the following URLs would be valid:http://www.example.com/However, if you submit http://www.example.com/dataprovider/oaiserver , then none of those URLs would be valid.
Previous Posts:
Copyright © 2005 Google Inc. All rights reserved. |
|