Usage

Feeds and Sitemap

Every site with the blog gets machine-readable endpoints. They contain only published posts whose publish time has passed and that are assigned to that site.

Endpoint URL Contents
RSS 2.0 /s/{site-slug}/blog/feed/rss The 20 most recent posts. Item title, permalink, publish date and the excerpt (or the post text with HTML stripped when there is no excerpt).
Atom 1.0 /s/{site-slug}/blog/feed/atom The 20 most recent posts with the same fields plus the last update time.
XML sitemap /s/{site-slug}/blog/sitemap.xml The blog index plus up to 1,000 posts with their last modified date.

Feeds are served with application/rss+xml and application/atom+xml content types and absolute URLs, so they can be submitted to feed readers and aggregators directly.

Turning feeds off

Untick Enable RSS / Atom feeds on Admin > Blog > Settings. Both feed URLs then return 404 and the autodiscovery link is removed. The sitemap cannot be turned off.

Autodiscovery

The blog index and every post page add a <link rel="alternate" type="application/rss+xml"> tag pointing at the site's RSS feed, so browsers and feed readers can find the feed from any blog page.

Search engines and social sharing

The sitemap is not registered with search engines automatically. Submit /s/{site-slug}/blog/sitemap.xml in your search console, or reference it from a robots.txt file at the root of your Omeka S installation:

Sitemap: https://example.org/s/my-site/blog/sitemap.xml

Post pages also include:

  • schema.org BlogPosting JSON-LD with the headline, description, article body, publish and modified dates and the featured image URL;
  • an og:type of article (the index sets og:type website and og:title).

Open Graph image, title and description tags for sharing on social networks are added by the separate OgImages module when it is installed; the Blog module itself no longer generates share images.

Log in for Support