Skip to main content

Notion as a content source for your website – maintain content where your team already works

Many teams already keep their content in Notion: events, vacancies, frequently asked questions, references. The website, however, runs on Joomla, so everything gets typed in a second time. Here I show the ways to bring Notion content onto the website and what to watch out for.

When Notion makes sense as a source

Notion is particularly suited to content that consists of many entries with the same structure and is maintained by several people. In Notion this is called a database: a table in which each row is an entry and each column a property such as date, status or image.

Typical examples:

  • events with date, venue and registration link
  • vacancies that HR maintains itself
  • frequently asked questions, sorted by topic
  • references or projects with image and short description

For individual, freely designed pages such as the home page, Joomla remains the better place.

Way 1: publish the Notion page and link to it

Notion can put a page on the web publicly. You link to that address from your website. That takes minutes.

The downside: your visitors leave the website, and the page looks like Notion, not like your brand. Search engines also attribute the content to Notion rather than to your domain.

Way 2: copy content by hand

You copy the entries into Joomla articles. That looks good, but someone has to repeat every change in Notion on the website. Which is exactly what you want to avoid.

Way 3: the website reads directly from Notion

Notion offers an official API. Through it, your website can fetch the entries of a database and show them in your own design. Content is maintained in Notion only.

For this you set up a so-called internal integration in Notion. You receive a secret token that the website uses to log in. Important: the integration only sees the pages and databases you explicitly share with it. Everything else in your workspace stays hidden.

What to watch out for

  • Share only what may be public. Share only the databases for the website with the integration.
  • A status for approval. A “Status” property with “Draft” and “Published”, which the website filters by, keeps half-finished entries off the site.
  • Caching. Notion limits how many requests per second are allowed. The website should therefore not ask again on every page view but cache the answer for a few minutes.
  • Images. The API only returns files uploaded to Notion with addresses that expire after one hour. The cache should therefore be considerably shorter.
  • Keep the token secret. The token belongs in the settings on the server, never in a page's source code.

With YOOtheme Pro: Notion Source

For websites with YOOtheme Pro, I developed Notion Source. You enter the token, and all shared databases are available as a source in the builder. You design grids, lists or detail pages with the usual elements and connect the fields to the properties from Notion.

Notion Source understands 21 property types, from text, date and select to files, formulas and relations. You filter and sort right in the builder, for example only entries with the status “Published”, sorted by date. Notion's answers are cached on the server, for five minutes by default. Notion Source is included in the membership.

This article is also available in German.

Related extension

Notion Source turns your Notion databases into a source in the YOOtheme builder, with filters, sorting and caching. Included in the membership.

A question about this topic, or an idea for the next guide? Write to me.

Norbert Graup

# Topics
Related extension

One membership: all Pro versions, updates and personal support.

Still have questions?

Contact me - I will solve your problem too.

Graup - IT - Norbert Graup IT Services

© Graup-IT - Norbert Graup IT Services