((META (EMPTY-STRING title "Query: Unlinked Directive") (WORD role "manual") (TAG-SET tags ("#manual" "#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 "20211119133357") (ZID-SET forward ("00001007030300" "00001007040340")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20230928190540") (TIMESTAMP published "20230928190540") (WORD visibility "public")) (BLOCK (PARA (TEXT "The value of a personal Zettelstore is determined in part by explicit connections between related zettel.") (SOFT) (TEXT "If the number of zettel grow, some of these connections are missing.") (SOFT) (TEXT "There are various reasons for this.") (SOFT) (TEXT "Maybe, you forgot that a zettel exists.") (SOFT) (TEXT "Or you add a zettel later, but forgot that previous zettel already mention its title.")) (PARA (FORMAT-EMPH () (TEXT "Unlinked references")) (TEXT " are phrases in a zettel that mention the title of another, currently unlinked zettel.")) (PARA (TEXT "To retrieve unlinked references to an existing zettel, use the query ") (LITERAL-INPUT () "{ID} UNLINKED") (TEXT ".")) (VERBATIM-CODE () "# curl 'http://127.0.0.1:23123/z?q=00001012000000+UNLINKED'\n00001012921200 API: Encoding of Zettel Access Rights") (PARA (TEXT "This returns all zettel (in this case: only one) that references the title of the given Zettel, but does not references it directly.")) (PARA (TEXT "In addition you may add ") (FORMAT-EMPH () (TEXT "phrases")) (TEXT " if you do not want to scan for the title of the given zettel.")) (VERBATIM-CODE () "# curl 'http://localhost:23123/z?q=00001012054400+UNLINKED+PHRASE+API'\n00001012050600 API: Provide an access token\n00001012921200 API: Encoding of Zettel Access Rights\n00001012080200 API: Check for authentication\n00001012080500 API: Refresh internal data\n00001012050200 API: Authenticate a client\n00001010040700 Access token") (PARA (TEXT "This finds all zettel that does contain the phrase ") (FORMAT-QUOTE () (TEXT "API")) (TEXT " but does not directly reference the given zettel.")) (PARA (TEXT "The directive searches within all zettel whether the title of the specified zettel occurs there.") (SOFT) (TEXT "The other zettel must not link to the specified zettel.") (SOFT) (TEXT "The title must not occur within a link (e.g. to another zettel), in a ") (LINK-ZETTEL () "00001007030300" (TEXT "heading")) (TEXT ", in a ") (LINK-ZETTEL () "00001007040340" (TEXT "citation")) (TEXT ", and must have a uniform formatting.") (SOFT) (TEXT "The match must be exact, but is case-insensitive.") (SOFT) (TEXT "For example ") (FORMAT-QUOTE () (TEXT "API")) (TEXT " does not match ") (FORMAT-QUOTE () (TEXT "API:")) (TEXT "."))))