Commit 697755c3 authored by dje's avatar dje
Browse files

petit coup de xmllint sur defaultHtmlHeadTags.xml

parent 95782168
Loading
Loading
Loading
Loading
+1 −21
Changes for configuration/defaultHtmlHeadTags.xml: 1 added line, 21 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<defaultHtmlHeadTags xmlns:xi="http://www.w3.org/2001/XInclude">

  <!-- paramètres
	    element => nom de l'élément html (<link>, <meta>, <title> 
	    attribute => valeur de l'attribut principal (name, property, etc.)
@@ -16,32 +15,25 @@
		<tag key="title" path="//*:h3" default="Demo Lorem" template="" length=""/>
		<tag element="meta" attribute="name" key="twitter:domain" path="" default="" template="%url%" length=""/>
	-->

  <!-- par edition -->
  <!--editions>
	    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../editions/demo_lorem/demo_lorem_defaultHtmlHeadTags.xml"/>
	    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../editions/voces/voces_defaultHtmlHeadTags.xml"/>
	    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../editions/lmrs/lmrs_defaultHtmlHeadTags.xml"/>
	</editions-->

  <!-- commun -->


  <source type="base">
    <!-- meta html -->
    <tag element="link" attribute="rel" key="icon" path="" default="" template="" length=""/>
    <tag element="title" key="title" path="//*:h3[1]" default="" template="%value% (%project%)" length=""/>

    <tag element="meta" attribute="name" key="description" path="//*:p[1]" default="" length="150"/>
    <tag element="meta" attribute="name" key="author" path="" default="" length=""/>

    <!-- opengraph -->
    <tag element="meta" attribute="property" key="og:title" path="//*:h3[1]" default="" template="%value% (%project%)" length=""/>
    <tag element="meta" attribute="property" key="og:description" path="//*:p[1]" default="" length=""/>
    <tag element="meta" attribute="property" key="og:type" path="" default="page" length=""/>
    <tag element="meta" attribute="property" key="og:url" path="" default="" template="%url%" length="150"/>
    <tag element="meta" attribute="property" key="og:image" path="" default="" length=""/>

    <!-- twitter -->
    <tag element="meta" attribute="name" key="twitter:card" path="" default="summary" length=""/>
    <tag element="meta" attribute="name" key="twitter:title" path="//*:h3[1]" default="" template="%value% (%project%)" length=""/>
@@ -50,7 +42,6 @@
    <tag element="meta" attribute="name" key="twitter:site" path="" default="" length=""/>
    <tag element="meta" attribute="name" key="twitter:image:src" path="" default="" length=""/>
    <tag element="meta" attribute="name" key="twitter:domain" path="" default="" template="%url%" length="150"/>

    <!-- dublin core -->
    <tag element="meta" attribute="property" key="dc:title" path="//*:h3[1]" default="" template="%value% (%project%)"/>
    <tag element="meta" attribute="property" key="dc:description" path="//*:p[1]" default="" length="150"/>
@@ -60,23 +51,18 @@
    <tag element="meta" attribute="property" key="dc:date" path="" default="" length=""/>
    <tag element="meta" attribute="property" key="dc:modified" path="" default="" length=""/>
  </source>

  <source type="tei">

    <!-- meta html -->
    <tag element="link" attribute="rel" key="icon" path="" default="" template="" length=""/>
    <tag element="title" key="title" path="//*[self::*:head/parent::*:div[@xml:id='%id%'] | self::*:title[1]]" default="Titre" template="%value% (%project%)" length=""/>

    <tag element="meta" attribute="name" key="description" path="//*:div[@xml:id='%id%']/*:p[1]" default="" length="150"/>
    <tag element="meta" attribute="name" key="author" path="//*:teiHeader//descendant::*:persName" default="" length=""/>

    <!-- opengraph -->
    <tag element="meta" attribute="property" key="og:title" path="//*[self::*:head/parent::*:div[@xml:id='%id%'] | self::*:title[1]]" default="Titre" template="%value% (%project%)" length=""/>
    <tag element="meta" attribute="property" key="og:description" path="//*:div[@xml:id='%id%']/*:p[1]" default="" length="150"/>
    <tag element="meta" attribute="property" key="og:type" path="" default="article" length=""/>
    <tag element="meta" attribute="property" key="og:url" path="" default="" template="%url%" length=""/>
    <tag element="meta" attribute="property" key="og:image" path="" default="" length=""/>

    <!-- twitter -->
    <tag element="meta" attribute="name" key="twitter:card" path="" default="summary" length=""/>
    <tag element="meta" attribute="name" key="twitter:title" path="//*[self::*:head/parent::*:div[@xml:id='%id%'] | self::*:title[1]]" default="Titre" template="%value% (%project%)" length=""/>
@@ -85,7 +71,6 @@
    <tag element="meta" attribute="name" key="twitter:site" path="" default="" length=""/>
    <tag element="meta" attribute="name" key="twitter:image:src" path="" default="" length=""/>
    <tag element="meta" attribute="name" key="twitter:domain" path="" default="" template="%url%" length=""/>

    <!-- dublin core -->
    <tag element="meta" attribute="property" key="dc:title" path="//*[self::*:head/parent::*:div[@xml:id='%id%'] | self::*:title[1]]" default="" template="%value% (%project%)" length=""/>
    <tag element="meta" attribute="property" key="dc:description" path="//*:div[@xml:id='%id%']/*:p[1]" default="" length="150"/>
@@ -94,11 +79,6 @@
    <tag element="meta" attribute="property" key="dc:relation" path="" default="" template="%url%" length=""/>
    <tag element="meta" attribute="property" key="dc:date" path="" default="" length=""/>
    <tag element="meta" attribute="property" key="dc:modified" path="" default="" length=""/>
	  	

  </source>

	  <source type="ead"></source>


  <source type="ead"/>
</defaultHtmlHeadTags>