On programmatic or user interface title names selection

I want to start a conversation here, which I have raised in the past.

To resolve tiddler naming issues I wish to capture the formal and informal naming methods for tiddlers the community uses. The result will be a useful reference but also feed into a solution I want to build to help users name or rename a tiddler which proposes possible titles based on a range of standards and information that can be gleaned. I would also suggest it incorporate intelligent use of the caption field as well for listing.

I think it fair to place naming into broad categories;

  1. When the tiddler is some form of child or subtiddler of another.
    eg "tiddlername - subtiddler"tiddlername/subtiddlername $:/tiddlername/subtiddlername (more please)
  2. When the tiddler will be the parent of child or subtiddlers
  3. A possibly standalone tiddler but one that exists in a set or hierarchy
  4. A possible standalone tiddler but one that exists with particular tags or a context eg domain/project
  5. Tiddlers that are one of one or more
  6. System tiddlers vs non-system tiddler

Questionā€™s for the community

  1. Do you have any other broad categories of naming tiddlers?
  2. So what are you informal or formal naming standards?
  3. What information may you use or have available to assist you in naming tiddlers?

Please answer here and I will compile it into a wiki page, perhaps I will later move it to ā€œHow To?ā€, please reference the numbered items above where suitable.

Please avoid straying from the subject, ā€œhijacking the threadā€ but feel free to link to related discussions.

1 Like

Sorry for the slow reply, I had to think about it a lot.

I title my notes based on my homebrew note classes. Iā€™m using TiddlyWiki as a platform for most of my personal workflow based on the ideas of zettelkasten, spaced repetition, and several other ideas I arrived at through independent research and combined in a sensible way. Itā€™s a bit akin to the video @Soren_Bjornstad made called ā€œA Tour of My Zettelkastenā€ he wrote about in the Google group. The core principles of what Iā€™m building (among other things) involve an absence of hierarchy initially. The hierarchy is designed to arise from the notes as they build up around each other. So I end with a few classes of notes: raw information, my thoughts, and indices that arise therefrom (thereā€™s a lot more to it than that, but Iā€™m still testing the system so I donā€™t want to go on too much about something I havenā€™t thoroughly tested and donā€™t fully understand.)

The class I made for dealing with bibliography and sources is currently undecided, since Iā€™m still working on implementing @Mohammad 's Refnotes plugin, but will likely be titled as a reference key or citekey by last name, year, and significant memorable word from the title, for example: poe1846amontillado. The class for passages, quotes, or excerpts is currently the passageā€™s published title in title caps, but Iā€™m still ironing out wrinkles on that. An example would be: The Cask of Amontillado. All other classes (including indices) I make use a simple system for naming thatā€™s based on a sentence fragment with initial caps. I prefer to title my remaining tiddlers with a sentence fragment that reasonably describes the idea in such a way that I could use the sentence fragment in another sentence and it would make some sense, usually a verb and some nouns. I also drop anything that might become repetitive, like ā€œTheā€, ā€œHow toā€, ā€œList ofā€, and ā€œNotes.ā€ Gerunds abound. I remove as many extraneous words as possible and seek to be as precise as possible when describing the note. Examples would be: Masonry for a note about masonry and brickwork, Amontillado vs. sherry for a tiddler comparing Amontillado to Sherry, and Hiding the body (notice I didnā€™t use the term ā€œHow to hide the bodyā€ since too many How toā€™s would be very repetitive.*

*For non US readers, Iā€™m referencing a short story called The Cask of Amontillado, a ubiquitous piece read by most American high school students, by renowned American horror author and poet Edgar Allen Poe.

I use this frequently!
Technically it creates a name space. For example in class I use something like this:

exmaple157/question
exmaple157/data
exmaple157/solution

or

extract-macro-param/styles
extract-macro-param/macros
extract-macro-param/tests

It would be great to have your idea and opinion here! Normally I import bibliography data for example from Google Scholar, or Google Books (like Google Books) they normally use authroryear and I use them!

Some brainstorming;

When you create a new tiddler it is either;

  • From a particular context eg the current tiddler as in new here
  • Perhaps context with other fields eg domain/projectname
  • These are some ways to make it unique
    • And a numeric or other increment
    • Make it a subtiddler with a numeric increment where subtiddler is any word or blank eg currentTiddler/task N
      • currentTiddler N (tiddlywiki default)
      • currentTiddler/subtiddler N
      • currentTiddler - subtiddler N
      • $/subtiddler/currentTiddler N
      • $/subtiddler/local-serial-number N
      • $/subtiddler/global-serial-number N

So as I think about this a new name could consist of

  • A prefix
    • Maybe current or selected tiddler
    • A word or phrase
    • A previously used prefix
    • A system prefix $:/ or namespace
  • A word
    • A word or phrase
    • A previously used ā€œwordā€
  • A suffix
    • could just be an increment
    • A word and or an increment
    • A suffix can describe its relationship
      • eg child
      • A symbol eg ā€œ/ā€ or symbols " - "
  • An increment

This naming process could be based on an accrued use of the tool with MRU or all previous components. Perhaps seeded with some existing or useful standards. Perhaps the set of three could be named and reused?

We could detect if a tiddler already exists and stop rename or creation.

As requested by @Mohammad , here are my thoughts so far on using cite keys.

I would like, if itā€™s not to difficult, to be able to track the sources of what I put in TW. However, itā€™s getting to be a real pain. Hereā€™s the system Iā€™m using now:

  1. Acquire source Iā€™d like to use in TW. Letā€™s say itā€™s a PDF of Edgar Allen Poeā€™s 1846 classic The Cask of Amontillado.

  2. Add the sourceā€™s information to Zotero (a reference management database that organizes sources, very popular with academics.)

  3. Use the Better Bibtex plugin for Zotero to force stable citekeys, which prevents the cite key from changing if I edit the entry later, which prevents having to edit TW and the source file name later. I use lastnameYYYYtitleword.

  4. Edit the source fileā€™s filename to the new citekey, and file in the correct folder. (Usually Collections > Books - PDF or Collections > Books - EPUB, but I have more folders.) So the new file is named and located as follows: Collections>Books - PDF>poe1846amontillado.pdf Now I can easily find the file if I can find it in Zotero, and I can also find the file easily if I know the authorā€™s last name using the file browser.

  5. Next, I export a .bib file from Zotero for import into TW via Refnotes. This creates a source tiddler with the same citekey as a title, which is handy. So now I have naming consistency across all areas: in TW, in Zotero, and in the file name.

  6. When I make a tiddler in TW that references a source, I put its citekey in a field at the bottom of the tiddler called ā€œcitekey.ā€ So if Iā€™m writing a note about something, or copying a passage over to a tiddler, then there will be something in the ā€œcitekeyā€ field at the bottom of the tiddler.

PROS:

  • Very thorough way to track sources.
  • Zotero is helpful for organizing and tracking sources, and makes it easy to group sources together for projects. It should also make creating bibliographies a breeze.
  • Consistent naming convention makes things very organized and easy to find.
  • If I use my classification system and the sources system, then I end up with a very thorough trail of where I got an idea from and how it evolved over time.

CONS:

  • Time consuming and boring to work on. Once the data is in, though, itā€™s easy.
  • Iā€™m not sure Iā€™ll ever have to actually generate a bibliography, so it may be a lot of work for nothing.
  • I have several hundred to over a thousand potential sources, and the idea of putting them all in Zotero is highly demotivating.

If I were an academic, I would be all over this, since my job would revolve around being able to produce sources. Iā€™m just a hobbyist right now, though, so I could just ditch the whole bibliography management scheme and save myself a lot of grief if I just stuck with a consistent naming scheme and used a citekey field in TW.

I still havenā€™t decided if Iā€™m going to keep with it or not.

This raises the idea of ā€œfunctionalā€ or ā€œSemanticā€ subtiddlers. In your example you are abstracting questions/data/solution from the current tiddler and creating matching subtiddlers. I suppose the next question arises is how do these ā€œfunctional subtiddlersā€ then interact with the parent tiddler?

Subtiddlers are but one particular area of ā€œprogrammatic or user interface title names selectionā€. However what I think we can see subtiddlers in particular, those that build a ā€œcompound tiddlerā€ should in some way always have a ā€œfunctionalā€ relationship to the parent. And the naming of subtiddlers comes from or is named by that functional relationship.

This to help us move forward I think it is of great value to somewhat divide ā€œprogrammatic or user interface title names selectionā€ into subTiddlers and not subTiddlers. However the next question is when is a new tiddler, with an automatic or semi-automatic title not a subTiddler?

  • Eg; I create task tiddler, then most likely they are subTiddler of a project or domain (Work / Personal )

Can anyone think of examples of new tiddler titles that DO NOT have a relationship loose, strict or directly related to another tiddler?

1 Like

Thanks for sharing @ahollar I appreciate your effort. One thing I get from your post that may have a lot to bare on the Original Topic (OT) is also related to my reply to Mohammad, is the idea of folder and other categorisation methods. Basically it follows that an automatic tiddler title can be formed from the information we would use to file or categorise that tiddler.

But do we have a ā€œWhat comes first the chicken or the egg?ā€ problem?,

Specifically ā€œWhat comes first the title of a tiddler or they way we categorise that tiddler?ā€

Probably. But right now Iā€™m struggling to grasp your chosen taxonomy and the underlying etymology.

Certainly I think of groupings of tiddlers as being of the same ā€œfamilyā€:

ā€ƒ ā€“ ā€œsectionā€ tiddlers could be viewed as subtiddlers of a notional ā€œchapterā€ tiddler, for example.

ā€ƒ ā€“ tiddlers talking about CSS tricks I view as part of the CSS family of tiddlers ā€“ not sure theyā€™re subtiddlers.

I think the answer to your question, @TW_Tones , at least in my current implementation, is that I first determine the type of tiddler Iā€™m dealing with, then I name it. So:

  • If I am using a tiddler as a place to keep information about a source: then I use lastnameYYYYtitleword.
  • If the tiddler holds a passage that I took from a book chapter, short story, or poem, then I use the title of book and chapter, title of the story, or title of the poem, respectively, to title the tiddler. Then I provide a citekey in a field of the passageā€™s tiddler to the source tiddler lastnameYYYtitleword.
  • If Iā€™m making notes about a passage, then I am (right now, and Iā€™m not sure Iā€™ll keep doing things this way) then I use the same title as the passage then append the type of note at the end, such as Book Name Chapter 03 Vocabulary or Book Name Chapter 10 Notes. I also will put the citekey in the field like the passage. I try to name things so that, if I make a dynamic list by citekey, the list will sort itself sensibly.
  • I will also have notes with names of the project Iā€™m doing that act like a dashboard, and those are named on an ad hoc basis, but theyā€™re fairly few in number and that makes them easy to find in the ā€œrecentā€ list.

Does this help? Iā€™m still figuring things out, so a lot of this is subject to change.

Thank you @ahollar! While I found your procedure very interesting, but it is time consuming as you said!

As I use the online resources normally for papers! I just export the citation and most of the time there is a doi! so, in Tiddlywiki I can click the doi to open the resource!

I donā€™t remember, but I think @Mark_S sometime ago developed a code to scan a folder of pdfs and create links to them in Tiddlywiki! May be it can automate part of your procedure.

Hi Tony!

Soren has used some nice naming convention in his TZK edition!