Komplex tartalom

a szövegmezőn túl

Várady Zoltán

Farm Stúdió




A szövegdoboz


Strukturált tartalom

Mezőre bontás

  • Cím
  • Alcím
  • Bevezető
  • Bevezető kép
  • Szöveg
  • Szöveg fölötti kép
  • Galéria
  • Csatolt dokumentumok
  • Kapcsolódó cikkek

Heterogén tartalom



  • XML
  • DITA
  • HTML5
  • data attribútumok
  • custom elemek
  • Shadow DOM

Mező alapú

  • mezők, entitások
  • tetszőleges sorrendben

Dokumentum alapú

Kötelező cica

Drupal 8 képbeszúrás


<img alt="Rózsaszín paca" 
    data-caption="Rózsaszín paca" 
    width="200" />

Drupal 8 Media Embed



<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl" view="defaultView" ?>
<recipe xml:lang="en-US">
  <title>Traditional Christmas Ham</title>
  <description> What is Christmas without a Christmas Ham? Make this year a traditional Christmas and serve the family a deliciously roasted ham with grapes on top.</description>
    <ingredient>Precooked, tenderized ham (3 kg)</ingredient>
    <ingredient>1 cup of dark brown sugar</ingredient>
    <ingredient>2 tablespoons of flour</ingredient>
    <ingredient>1/2 c. sour cream</ingredient>
    <ingredient>3 tbsp. brown mustard</ingredient>
    <step>Preheat the oven to 325 degrees</step>
    <step>Place the ham with fat side up in the middle of the oven, in an open roasting pan and roast until it is brown and tender, probably about 1/2 hour longer than the package calls for. </step>
    <step>Remove the ham from the oven and increase the oven temperature to 425 degrees. Cut the skin off the ham, leaving 1/2 inch of fat.</step>
  <history>The Christmas Ham is an ancient traditional ingredient in the Finnish and Swedish Christmas celebration and remains as important there as the Christmas tree.</history>
    <paragraph>Recommended with ham are wines like a Riesling, even a Gewürztraminer. And as for red wines, a Beaujolais or a Pinot Noir.</paragraph>


 <topic id="docbook_or_dita">
  <title>DITA or DocBook?</title>

  <shortdesc>Both DITA and DocBook are both mature, feature rich, document types,
  so which one to choose?</shortdesc>

    <p>DocBook 5 is a mature document type, well-documented (DocBook: The
    Definitive Guide, DocBook XSL: The Complete Guide), coming with decent XSL
    stylesheets allowing to convert it to a variety of formats, based on the
    best schema technologies: RELAX NG and Schematron.</p>

    <p>DITA concepts (topics, maps, specialization, etc) have an immediate
    appeal to the technical writer and indeed, makes this document type more
    attractive than DocBook. However the DocBook vocabulary is comprehensive
    and very well thought. So choose DITA if its standard vocabulary is
    sufficiently expressive for your needs or if, anyway, you intend to
    specialize DITA.</p>

    <link format="html" href="http://www.docbook.org/" scope="external">
      <linktext>DocBook 5</linktext>

    <link format="html"

Mező alapú

Olvasnivaló és hallgatnivaló

  • Jeff Eaton: Battle for the Body Field
  • Insert Content Here podcast
  • Karen McGrane: Content Strategy for Mobile
  • és az összes többi A Book Apart könyv
  • Fejes Anikó: Shadow DOM
  • Janez Urevc: Drupal 8 Media

Komplex tartalom

By Zoltan Varady

Komplex tartalom

  • 1,542