Skip to content

Import export OPML (file_opml.c)

Larry Kollar edited this page Jan 20, 2017 · 3 revisions

Import/export OPML (file_opml.c)

  • export_opml <filename>
    Exports the current entry, and following entries on the same level, as OPML.
  • export_opml_branch <filename>
    Exports the current entry and all sub-entries as OPML.
  • import_opml <filename>
    Imports an OPML file below the current node.

Variables (new in 1.11.0)

  • opml_title (string)
    The outline title. If this is blank (or the file is newly created), Tines uses the text of the first node as a title. You can set a different title from the command line (opml_title "My Massive Outline").

    OPML element: <title>

  • opml_created (string)
    The outline creation date.

    OPML element: <dateCreated>

  • opml_mod (string)
    The outline modification date.

    OPML element: <dateModified>

  • opml_owner (string)
    The name of the creator. If this is blank (or the file is newly created), Tines uses the current user's login name. You can set a different owner string from the command line (opml_owner "Janey Bloggs").

    OPML element: <ownerName>

  • opml_email (string)
    The email address of the creator. Tines preserves the value, even if the address is empty. You can set the address from the command line (opml_email [email protected]).

    OPML element: <ownerEmail>

  • opml_exp (string)
    List of expanded nodes. Note that if a node is expanded, but its parent is not, Tines opens the OPML file with the parent collapsed. Expanding the parent shows the expanded sub-entry.

    OPML element: <expansionState>

  • opml_scroll (string)
    Position when last closed. Tines uses this information if the <?tines pos="x"?> processing instruction is not available.

    OPML element: <vertScrollState>

  • opml_top (string)
    Position of top of window. Tines preserves but does not use this.

    OPML element: <windowTop>

  • opml_left (string)
    Position of left side of window. Tines preserves but does not use this.

    OPML element: <windowLeft>

  • opml_bot (string)
    Position of bottom of window. Tines preserves but does not use this.

    OPML element: <windowBottom>

  • opml_right (string)
    Position of right side of window. Tines preserves but does not use this.

    OPML element: <windowRight>