((META (EMPTY-STRING title "Query: Items Directive") (WORD role "manual") (TAG-SET tags ("#manual" "#search" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001007700000" "00001007720000")) (ZID-SET backward ("00001007700000" "00001007720000")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20230729102142") (ZID-SET forward ("00001000000000" "00001007030200" "00001012000000")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20230729120755") (TIMESTAMP published "20230729120755") (WORD visibility "public")) (BLOCK (PARA (TEXT "The items directive works on zettel that act as a ") (FORMAT-QUOTE () (TEXT "table of contents")) (TEXT " for other zettel.") (SOFT) (TEXT "The ") (LINK-ZETTEL () "00001000000000" (TEXT "initial zettel")) (TEXT " of this manual is one example, the ") (LINK-ZETTEL () "00001012000000" (TEXT "general API description")) (TEXT " is another.") (SOFT) (TEXT "Every zettel with a certain internal structure can act as the ") (FORMAT-QUOTE () (TEXT "table of contents")) (TEXT " for others.")) (PARA (TEXT "What is a ") (FORMAT-QUOTE () (TEXT "table of contents")) (TEXT "?") (SOFT) (TEXT "Basically, it is just a list of references to other zettel.")) (PARA (TEXT "To retrieve the items of a zettel, the software looks at first level ") (LINK-ZETTEL () "00001007030200" (TEXT "list items")) (TEXT ".") (SOFT) (TEXT "If an item contains a valid reference to a zettel, this reference will be interpreted as an item in the items list, in the ") (FORMAT-QUOTE () (TEXT "table of contents")) (TEXT ".")) (PARA (TEXT "This applies only to first level list items (ordered or unordered list), but not to deeper levels.") (SOFT) (TEXT "Only the first reference to a valid zettel is collected for the table of contents.") (SOFT) (TEXT "Following references to zettel within such an list item are ignored.")) (VERBATIM-CODE () "# curl 'http://127.0.0.1:23123/z?q=00001000000000+ITEMS'\n00001001000000 Introduction to the Zettelstore\n00001002000000 Design goals for the Zettelstore\n00001003000000 Installation of the Zettelstore software\n00001004000000 Configuration of Zettelstore\n00001005000000 Structure of Zettelstore\n00001006000000 Layout of a Zettel\n00001007000000 Zettelmarkup\n00001008000000 Other Markup Languages\n00001010000000 Security\n00001012000000 API\n00001014000000 Web user interface\n00001017000000 Tips and Tricks\n00001018000000 Troubleshooting")))