Commit c3c87d87 authored by Edward Gray's avatar Edward Gray
Browse files

formatting

parent 30c92020
Pipeline #6655 passed with stage
in 1 minute and 30 seconds
......@@ -433,7 +433,7 @@ rich as possible in metadata. Indeed, relevance in
ISIDORE favors the richest possible metadata. Fields such as
such as :
``xml
```xml
<dcterms:description>
<dcterms:creator>
<dcterms:date>
......@@ -537,7 +537,7 @@ First of all, it is necessary to indicate in the DOCTYPE of the web page, that i
contain information that will use the RDF model, so the
DOCTYPE will be :
``xml
```xml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
```
......@@ -545,7 +545,7 @@ In the `<html>` tag, must be present the addresses of the
ontology (via their *NameSpace XML*) which are used to "type
to "type" the information. RDFa - which places metadata in the Semantic Web, requires at least the use of RDF and RDF Schema ontologies and the Dublin Core Element Set (dc). It is possible to use in addition - in order to refine the metadata - the Dublin Core Terms (dcterms):
``xml
```xml
<html xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
......@@ -556,7 +556,7 @@ xmlns:dcterms="http://purl.org/dc/terms/">
It is possible, to encode more information, to use more
document ontologies:
``xml
```xml
<html
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
......@@ -575,7 +575,7 @@ tags in the `<head>` header of the HTML page. In a first step
first, using a `<link>` tag, we will define the digital object to which the
object to which the RDF encoded information will be attached:
``xml
```xml
<link rel="dc:identifier" href="http://monblog.com/monbillet.html" />
```
......@@ -587,7 +587,7 @@ the address of the page on the web.
The `<meta>` tags then define a set of metadata, which in our case is descriptive information about the blog post's web page:
``xml
```xml
<meta property="dc:title" content="The title of my post" />
<meta property="dc:creator" content="First name Last name of author 1" />
<meta property="dc:creator" content="First name Last name of author 2" />
......@@ -609,7 +609,7 @@ Terms vocabulary.
The DC Terms allows for example to include a precise form for a bibliographic reference of the content:
``xml
```xml
<meta property="dcterms:bibliographicCitation" content="Put a bibliographic reference here" />
```
......@@ -629,7 +629,7 @@ DC Terms vocabulary the DC Terms property: `dcterms:isPartOf`.
Once the RDFa encoding is done in the HTML pages, you still need to create
a Sitemap XML file listing the pages you want ISIDORE to harvest and submit the URL of this sitemap:
``xml
```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://monsiteweb.com/</loc>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment