HTML-import og -eksport

When you export a file to an HTML document, the description and the user-defined file properties are included as META tags between the HEAD tags of the exported document. META tags are not displayed in a Web browser, and are used to include information, such as keywords for search engines on your Web page. To set the properties of the current document, choose File - Properties, click the Description or Custom Properties tabs, and then type the information you want.

Følgende filegenskaper blir gjort om til META-tagger når du eksporterer en fil til et HTML-dokument:

ODF Property

HTML Tags

Title

</p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3153778" class="paragraphintable" dir="auto">Emne</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3147228" class="paragraphintable" dir="auto"><META NAME="CLASSIFICATION" CONTENT="Field Content"></p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3154908" class="paragraphintable" dir="auto">Nøkkelord</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3156422" class="paragraphintable" dir="auto"><META NAME="KEYWORDS" CONTENT="Field Content"></p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3151041" class="paragraphintable" dir="auto">Beskrivelse</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3125863" class="paragraphintable" dir="auto"><META NAME="DESCRIPTION" CONTENT="Field Content"></p> </td> </tr> <tr> <td rowspan="" colspan="" dir="auto"> <p id="par_id3159149" class="paragraphintable" dir="auto">Custom Properties</p> </td> <td rowspan="" colspan="" dir="auto"> <p id="par_id3157892" class="paragraphintable" dir="auto"><META NAME="Custom field name" CONTENT="Custom field content"></p> </td> </tr> </table> <br> <div class="note"> <div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div> <div class="notetext"><p id="par_id3155855" dir="auto">Når du importerer et HTML-dokument som inneholder disse META-taggene, blir innholdet i taggene lagt til i den tilsvarende LibreOfficeDev-filegenskapboksen.</p></div> </div> <br> <div class="tip"> <div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div> <div class="notetext"><p id="par_id0926200812164481" dir="auto">Nøkkelord må skilles med kommaer. Et nøkkelord kan inneholde blanke tegn eller semikoloner.</p></div> </div> <br> <h3 id="hd_id3163822" dir="auto">Tips ved import</h3> <p id="par_id3155307" class="paragraph" dir="auto">Når du importerer et HTML-dokument, vil følgende META-tagger automatisk gjøres om til LibreOfficeDev-felter: <META HTTP-EQUIV="REFRESH"…> og <META NAME="..." …>, der «NAME» er «AUTHOR», «CREATED», «CHANGED», «CHANGEDBY», «DESCRIPTION», «KEYWORDS» eller «CLASSIFICATION».</p> <p id="par_id3146146" class="paragraph" dir="auto">Skript, kommentarer og meta-tagger, som er plassert rett før en tabell-tagg, vil bli satt inn i den første cellen i tabellen.</p> <p id="par_id3155366" class="paragraph" dir="auto">Skript og meta-tagger i hodet av et HTML-dokument blir importert og forankret til det første avsnittet i dokumentet.</p> <p id="par_id3152885" class="paragraph" dir="auto">To set the options for importing HTML tags, choose <span id="swlnsysidm140092509211296" class="switchinline"><span hidden="true" id="MACidm140092509210880" class="MAC"><span class="emph">LibreOfficeDev - Preferences</span></span><span hidden="true" id="defaultidm140092509210208"><span class="emph">Tools - Options</span></span></span><span class="emph"> - Load/Save - HTML Compatibility</span>. A known META tag contains either "HTTP-EQUIV" or "NAME", and are imported as LibreOfficeDev comments. The only exception is <META NAME="GENERATOR"...>, which is ignored.</p> <h3 id="hd_id3163717" dir="auto">Tips ved eksport</h3> <p id="par_id3159180" class="paragraph" dir="auto">Comments and script fields at the beginning of the first paragraph in a document are exported to the header of an HTML document. If the document begins with a table, the first paragraph in the first cell of the table is exported to the header of the HTML document.</p> </div> <div id="SearchFrame"></div> <div id="DonationFrame"></div> <footer><div id="DEBUG" class="debug"> <h3 class="bug">Help content debug info:</h3> <p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/shared/01/about_meta_tags.xhp" target="_blank">/text/shared/01/about_meta_tags.xhp</a></p> <p dir="auto">Title is: HTML-import og -eksport</p> <p id="bm_module" dir="auto"></p> <p id="bm_system" dir="auto"></p> <p id="bm_HID" dir="auto"></p> </div></footer> </body> </html>