Confluence You are allowed to start from Confluence Import a text file into a directory on the server , Then convert the text file to Confluence The page of . Every text file will be in Confluence Create a page in , This page uses the file name of the text file as the title of the page .

  • Text files can be plain text ,HTML perhaps Confluence Storage format .
  • You need to be confluence-administrators Only user group members or system administrators can import text files .
  • You can import from disk into site space , It couldn't be imported into personal space at that time .
    If you want to understand the difference between site space and personal space , Please visit Spaces Page to get more information .

hope Confluence Maintain the format of the text document when importing , Please add... At the beginning of the text document <pre>, add to </pre> To the end of the text document . This configuration will make Confluence Know how to deal with text , Use pre-formatted label .

If your server is deployed in Unix On similar platforms , You can tag the beginning and end of the file . You can use the following steps , Add this tag to all files in this directory , It doesn't need to open and modify files one by one :

  1. Go to the directory that contains the files you need to import :
  2. Run the following command on the terminal :
    for i in $(ls); do echo "<pre>" >> m$i; cat $i >> m$i; echo "</pre>" >> m$i; mv m$i $i; done

To import text files:

  1. Error rendering macro 'excerpt-include'

    No link could be created for '_SpaceTools_ContentTools'.

  2. choice Import (Import).
  3. stay Import Directory (Import directory) Enter the path of the directory in the input box of .
  4. choice Delete file extension (Trim file extensions) Come on, let's go Confluence When the page is converted , Make the title of the import page not contain the extension of the file .
    Confluence The name of the page will be stored as the full name of the file ( Include file extensions ). If you want the title of the page not to include an extension , You need to choose this option , Otherwise, the file name may contain '.txt'. Of course, you can also modify it after importing .
  5. choice Rewrite existing pages (Overwrite existing pages). If you want to rewrite the existing page when importing , This page you have imported , And the title of the page is the same as the title of the file you are importing .
  6. choice Import (Import).

Screen capture : Import a text file

https://www.cwiki.us/display/CONF6ZH/Import+a+Text+File

Confluence 6 Import more related articles from a text file

  1. Confluence 6 Import a Confluence Site

    There are the following 2 Category methods can be imported into a site - By uploading a file or from you Confluence Read a directory on the server . Uploading files is only for a small site . For the best import results , We recommend that you download it from the directory on the server ...

  2. Confluence 6 From a XML Import a space in the backup

    There are the following 2 Methods can import a space —— By uploading a file , Or from you Confluence Import... From a directory on the server . Uploading files is only for a small site . For the best import results , We recommend you from the directory on the server ...

  3. Confluence 6 Restore a site

    This page is about how to get from a XML The export file is restored to an existing Confluence Describe the site . If you want to import data to a new site , Please refer to  restoring from backup during ...

  4. Confluence 6 Steps to import a template

    First step : Check you out Confluence Template components installed in the site Check that it has been imported to you Confluence Template components available in the site : As a system administrator or Confluence Administrator rights login Confluen ...

  5. android studio Import an existing android studio project As lib Use

    android studio Import an existing android studio project As lib Use The new project is coming . You need to build a framework . android studio It's still strange to me , A previous project was with colleagues ...

  6. delphi How to create a text file

    // Create a text file procedure TFrmAutomatismBalance.FlatButton3Click(Sender: TObject); var TF:TextFile;  Path ...

  7. asp.net Read a text file , And output to the web page display adopt The general handler implements

    asp.net Read a text file , And output to the web page display adopt The general handler implements With this can do template home page output , You can also customize and extend it yourself // Get the read text to string in string resultTe ...

  8. [No000040] Get the encoding of a text file

    using System; using System.IO; using System.Text; /// <summary> /// Encoding used to get a text file (Encoding). ...

  9. C# Open a text file and read and write

    OpenFileDialog OFD = new OpenFileDialog(); OFD.Title = " Open the first text file "; OFD.FileName = "* ...

Random recommendation

  1. PDM File editing

    Need to put Oracle In the table , Export to an existing PDM In file . 1.Oracle Export table script 1) 2) 3) 2.PowerDesigner Import script 1) 2) 3) 4)

  2. POC - ASP.NET &amp; MYSQL part

    1. ASP.NET use MYSQL It is necessary to introduce MYSQL Of a bag , This is in VS Of TOOLS-> extension manager You can find it in the library 2. Next is WEBCONFIG Configuration information in <c ...

  3. ListView(3) About listview Scroll Events , When to scroll to the top or bottom

    to listview Set up a OnScrollListener Can be ListView.OnScrollListener scrollListener = new ListView.OnScrollList ...

  4. SpringMVC Learning record

    1E)Spring MVC frame ①Jar Package structure : docs+libs+schema. Version difference : Core packages , Source package . SpringMVC Document learning : Learn three steps : 1) What is it? ? Open source framework 2) What do you do ? IO ...

  5. yarn Visualization of state machines

    YARN To implement multiple state machine objects , control ResourceManager middle RMAppImpl.RMApp-AttemptImpl.RMContainerImpl and RMNodeImpl,NodeManag ...

  6. jquery ui in accordion My problems and my solutions

    original text :jquery ui in accordion My problems and my solutions jquery There is a set of so-called ui Components , Very nice . If interested friends , You can refer to http://jqueryui.com/ But one of them accord ...

  7. Poj3414 broad-based search

    <span style="color:#330099;">/* D - D Time Limit:1000MS Memory Limit:65536KB 64bit I ...

  8. java The understanding of callback function in

    One , Case a " Generally speaking, the callback function is based on others ( Li Si ) Write a good interface specification , Waiting for others ( Zhang San ) Called function , stay C In language , Callbacks are usually passed through function pointers : stay Java in , It's usually just writing another class or class ...

  9. OpenCV Bring their own dnn Of Example Research (2)— colorization

    This blog series , Simply speaking , Today we are going to study 6 File , Look at the latest OpenCV in , How they work . In the process of configuration use , You need to pay attention to using a higher version of VS Avoid compiler compatibility issues : because DNN The operation of the program depends on ...

  10. CSAPP: Chapter 3 machine level representation of programs 3

    The machine level representation of a program 3 Key points : The process . debugging . The pointer The process 1. Runtime stack 2. Transfer control 3. Data transfer 4. Local storage on the stack 5. The local memory space in the register is used to understand the pointer GDB The debugger The process 1. Runtime stack   x86-64 The stack goes down ...