Give your app an identity: a title, a description and a landing page

In LinkedDataHub everything is a document, and every document is a named graph whose name is the document's URL. Your dataspace starts with a single document: the root document at the base URI. It doubles as the app's homepage, so making the app yours starts with describing this one document.

In this stage you give the root document a title, a description and a first content block — and see the result render as your homepage.

Open the base URL (e.g. https://localhost:4443/) and authenticate with the owner's WebID certificate. Choose Edit in the action bar's Actions dropdown to open the document edit form, change the title to Northwind Traders, fill in the description, and save. Then, in the Content layout mode, add an XHTML content block with a short welcome text using the XHTML button at the bottom of the page. The Edit content guide walks through the block editor in detail.

Root document in edit mode with the title and first XHTML block

What you now see

Reload the base URL: the homepage now carries your title and welcome text. You have not touched a template, a controller or a database schema — you replaced the description of one document, and the UI is a rendering of that description.

The branded homepage after the update

How this works

  • Documents — the document hierarchy and how documents map to named graphs
  • Content blocks — how rdf:_1, rdf:_2, … sequence a document's content
  • HTTP API — the PUT semantics behind ldh put

Next: Structure