Zettelkasten Forum


[Plugin] New Same-Level Note: automation of the folgezettel filenaming approach

This is one of two plugins for The Archive that automate the folgezettel naming convention.

The New Note plugin produces a note within the current sequence of notes.

The plugin looks for the Folgezettel ID in the filename, extracts it, and creates a new note with the filename based on the current note, selected in The Archive.

It also creates a heading of the level 1 with the Folgezettel ID.

The New Note Plugin Demonstration

Post edited by ctietze on

Comments

  • How would you work in the note title?

    I am a Zettler

  • Hello Sascha,

    Usually, the title is the last thing I formulate in the note. It means I have a rough draft of an idea for the note before I dive into formulating its content. So, the moment I use the plugin, I have an idea of the place the note should be attached.

    I hope I have interpreted your question right. Please don’t hesitate to adjust my reading of your question.

    I'm planning to describe the plugin algorithms at greater length later.

  • Ah, got you.

    I am a Zettler

  • I have updated the plug-in and added a thorough description of its functionality.

    The previous version of the plug-in implemented a different approach to the alphabetical values of the Folgezettel ID. That approach caused the sorting inconsistencies, exemplified in the extreme cases when the alphabetical part of the existing Folgezettel ID ended with a z character and the next alphabetical value would be aa, so the new note went after a value and appeared earlier in the sequence.

    The current plug-in version implements another logic in the same extreme case it adds an a value to the z value, so the following the z value becomes za in this example.

    The New Note plug-in release of the 1.1.0 version is available on the same GitHub page.

    The new description of the plug-in is presented below:

    The New Note plug-in is supposed to work in a Folgezettel-based Zettelkasten.

    The plug-in ignores any occurrences of Citekeys as Baljeu1974 or Timestamp IDs as 202412291635 in the filenames. It extracts the Folgezettel ID from the selected note’s filename. Then the plug-in compares the extracted ID to the rest ones presented in the filenames to generate the next available Folgezettel ID of the same level as the one in the selected note’s filename.

    The plug-in will extract Folgezettel ID from any position in the filename, assuming 1,1a Note name, Note name 1,2c, Note Name 1,3f with additional information in the filename as possible examples. The plug-in will ignore and won’t extract a Folgezettel ID if the selected note filename contains a Timestamp ID or a Citekey.

    The following list of notes’ filenames is the basis for the description of the plug-in algorithms.

    • 1
    • 1,1
    • 1,2
    • 1,2a
    • 1,2b
    • 1,3
    • 2
    • 2,1
    • 2,1a
    • 2,1z

    Assuming that the selected note has a filename of 1,2a, the plug-in will create a note with 1,2c filename and the H1 level heading with the new Folgezettel ID in its body.

    For the filenames ending with the digital part of the Folgezettel ID, the plug-in creates the next available Folgezettel ID of the same level, following the same logic as with the alphabetical parts. For example, the filename 1,2 will result in the note with the Folgezettel ID 1,4, and the filename 2 gives a Folgezettel ID of 3.

    In the extreme cases, when the alphabetical part of the Folgezettel ID ends with the z character as in the example of the note 2,1z, the next Folgezettel ID is generated by adding an a character to the initial alphabetical part. The exemplified Folgezettel ID 2,1z will become 2,1za because 2,1z exists in the exemplified note list.

  • Both plug-ins sound similar-ish and it's not easy to see what each one does, and does differently. "Sequence" in the other one is maybe not enough: this one seems to add a sibling on the same level (1,1→1,2) while the other creates a new child note, one level of hierarchy deeper (1,1→1,1a).

    Maybe "sibling" and "child" are useful terms to distinguish both?

    Author at Zettelkasten.de • https://christiantietze.de/

  • edited January 1

    Hello, Christian,

    When I was deciding how to call the plug-ins I sticked to the terminology of the Zkn³ application, assuming those terms are more suitable and widely-used ones within English-spoken community. As for me, the “sibling” and “child” terms are more characterizing ones. The “New Sibling Note” and “New Child Note” names for this and the second plug-in, respectively, are more appealing to my eyes as well.

    Before giving the plug-ins these new titles, I would like to know whether the terminology of “sibling” and “child” is related to the Folgezettel naming approach in the English-spoken community.

  • edited January 3

    I think a better approach to the naming of the plug-ins would be to keep their titles as descriptive as possible, so I will rename the “New Note” plug-in to the “New Same-Level Note” and the “New Note Sequence” plug-in to the “New Lower-Level Note.”

    Post edited by faultfinder on
  • Sounds reasonable to me, too!

    Author at Zettelkasten.de • https://christiantietze.de/

  • I don't know proper terminology in this context. I believe that same and lower is opinionated on how a sequence is displayed.

    I prefer sibling and child notation. How about follow on note and branch on note? Or maybe extend sequence and branch on sequence?

    my first Zettel uid: 202008120915

  • I would like to keep the names abstract and to avoid secondary connotations in them. Siblings and child terms or branches analogy bear literal imagery in themselves despite the fact the terms relate to the field of data structures. The relation to the tree-like structures is concrete as well, and in this way it is similar to the connotations I meant above. So I have chosen a more abstract term of level.

  • The names are changed.

    The New Same-Level Note plug-in release of the 1.1.1 version is available on the same GitHub page.

  • 👍 I renamed the discussion accordingly!

    Author at Zettelkasten.de • https://christiantietze.de/

Sign In or Register to comment.