Skip to content

Commit

Permalink
add sitemap tip
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Jun 10, 2024
1 parent 5b6ba8e commit 9cb6837
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion book/gettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ others. Here is an example ODIS node with a [sitemap index](https://pacificdata
### Frequency of change

Add the `<changefreq>` metadata for each sitemap record, on how often you expect
records in your sitemap to change - this will tell systems like OIH how often to
records in your sitemap to change - this will tell systems like ODIS how often to
reindex your holdings. Possible values are: `always`, `hourly`, `daily`, `weekly`, `monthly`,
`yearly`, `never`. Here is a snippet from a sitemap:
:
Expand Down
8 changes: 6 additions & 2 deletions book/publishing/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,12 @@ The Google Search developer documentation also has [useful tips](https://develop
for creating a sitemap.xml file.
```

It is encouraged to use the sitemap `lastmod` property
to provide guidance to indexers on page updates.
It is encouraged to use the sitemap `lastmod` parameter
to provide guidance to indexers on page updates. You can also add the
`<changefreq>` parameter, for how often you expect records in your sitemap
to change - this will tell systems like ODIS how often to
reindex your holdings - possible values are: `always`, `hourly`, `daily`,
`weekly`, `monthly`,`yearly`, `never`.
Additionally, indexers may test ways to evaluate additions and
removals from the sitemap URL set to manage new or removed resources.

Expand Down

0 comments on commit 9cb6837

Please sign in to comment.