Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    @yanderella:sibnsk.net
    [m]
    The code snippet doesn't render properly in my Matrix Client but over at https://gitter.im/TiddlyWiki/public it shows properly.
    David Beijinho
    @davidbeijinho
    i was able to make it work, i notice that i was running version 5.1.22, after updating the snippet is working
    bruno366
    @bruno366:matrix.org
    [m]
    Is it possible to contain several tiddlers in one? I suspect this is what plugins do
    qbit
    @qbit:tapenet.org
    [m]
    you can transclude a number of them into one
    bruno366
    @bruno366:matrix.org
    [m]
    Hmm I suppose but then how do I automatically make several tiddlers. Let me give an example, let’s say I have a document and I want each paragraph to be its own tiddler, any way to do this?
    @yanderella:sibnsk.net
    [m]

    https://tiddlywiki.com/#TiddlerFiles

    Well, you can import/export multiple tiddlers using ".json" format. But you still have to import them manually. The other format like that contain a single tiddler like .tid may also work but you'll still have to manually import them all in a bulk (via drag and drop at the top part of the Tiddlywiki in browser because the import button which brings a window doesn't allow multiple selection) and it should work.

    Alternatively, if you want everything automated. After making a json file that looks like the json TiddlyWiki can export, you may try to construct a TiddlyWiki using node.js commands.

    bruno366
    @bruno366:matrix.org
    [m]
    Yeah thanks that look like what I’m looking for :)
    Mario Pietsch
    @pmario
    Hi folks,
    Just wanted to let you know, a new discussion group started at https://talk.tiddlywiki.org It uses Discourse as the backend and will be a community driven effort. Feedback and help is very welcome. You can use GitHub, Twitter and Google accounts for a fast sign up, or you can use the form on the page ;)
    have fun!
    mario
    Joe Bordes
    @joebordes
    :+1:
    @yanderella:sibnsk.net
    [m]
    Sorry for this side question, mario, but does it have RSS feed by chance once you register or something? (I was unable to find such publicly there, but then again I don't know where to look). Thanks in advance!
    Mario Pietsch
    @pmario
    Hi, You don't need to be registered. Every link has a feed. So if you are at eg: https://talk.tiddlywiki.org/c/discussion/1 your RSS reader should be able to detect the rss feeds. With this link there are 3 of them. If you want to have the feed of a topic, just open the topic. Eg: The FF browser addOn FeedBro Reader works well in my test
    2 replies
    HybridEyeGrillage
    @HybridEyeGrillage
    Hello again!
    I've been trying to figure this issue around fields for awhile, but left it until I had more time to spend on it. And now I have the time to spend (also reading through the TW docs and looking through Grok), I have to ask about it cause I haven't figured it out still.
    The situation is as such:
    I've got a series of tiddlers, each with a incremental value, (i.e. TestMe1 with field name=testname1, TestMe2 with field name=testname2, and so forth). In these tiddlers, I've placed the reference to the name (i.e. {{!!name}}). All have the same tag (tag=listForTabs). I've also added an additional transcluded tiddler via a list filter as well (<$list filter="[{!!name}addsuffix[-additional]]" > <$transclude mode="block"/></$list>).
    In another tiddler called MyTabList, I list these in with a tab function <<tabs "[tag[listForTabs]!sort[title]]" """$:/state/tab" "tc-vertical">>. Here's where the problem occurs- the fields that I've referenced and the transclusion via list are not visible, so the tabs have names, but show up with blanks in them. Is there a way that I can get the fields that I've referenced and transclusions to 'stick' wherever it will be shown within the tabs?
    @yanderella:sibnsk.net
    [m]

    Without reproducing your setup fully. I want to tell you about the fact that within a tabs macro, the variable <<currentTiddler>> points to the Tiddler that contains the tab macro itself, not the ones aggregated by the tags. This is why with {!!name} it tries to find it on the tiddler with the tab macros on. Not the Tiddler that is the tab.

    Saying this just in case due to ambiguity, but If you are storing the same tiddler title in a field name that's may not be needed?, because transcluding {{!!title}} or <<currentTiddler>> (or within a filter step {!!title} and <currentTiddler> even all[current]) will produce the tiddler name. Which you may be able to use. In that case, it may be sufficient to replace those with another variable provided by the tabs macro called <<currentTab>> (or <currentTab> for filter notation)

    More information about <<currentTiddler>> problem and <<currentTab>> and its existance can be read here (at the bottom of this tiddler): https://tiddlywiki.com/#tabs%20Macro

    Either way, those were side notes from me.

    Your solution that you are looking for, should be this. Wrap your list widget with the workaround from the link.

    <$tiddler tiddler=<<currentTab>>>
    <$list filter="[{!!name}addsuffix[-additional]]" > <$transclude mode="block"/></$list>
    </$tiddler>
    2 replies
    bruno366
    @bruno366:matrix.org
    [m]
    hey, I'm curious, right now i'm using the github saver and it saves my wiki as an html file in the repo, but what if I want each tiddler as a seperate file?
    I think https://tiddlywiki.com/ has something like this
    @yanderella:sibnsk.net
    [m]
    You can convert a HTML TiddlyWiki to a folder one via command line when you need it? However, saving a folder directly to github as .tid ... I am not sure about that? and I believe that TiddlyWiki.com is using git separately to commit and push it to a github repository when needed (not as part of seemless editing? but I can be wrong)
    Mario Pietsch
    @pmario

    You can convert a HTML TiddlyWiki to a folder one via command line when you need it?

    That's right

    However, saving a folder directly to github as .tid ... I am not sure about that?

    That's not possible with the GitHub saver.

    Mario Pietsch
    @pmario

    and I believe that TiddlyWiki.com is using git separately to commit and push it to a github repository when needed (not as part of seemless editing? but I can be wrong)

    That's right. tiddlywiki.com wiki is built with: https://github.com/Jermolene/TiddlyWiki5/blob/master/bin/build-site.sh and then pushed to https://github.com/Jermolene/jermolene.github.io which contains the gh-pages

    @yanderella:sibnsk.net
    [m]
    Thank you, pmario, for giving precise answers to my vague assumption! I hope it answered bruno's question.
    bruno366
    @bruno366:matrix.org
    [m]
    Ah ok. Thank you both of you :)
    RaelZero
    @raelzero:oddworlds.org
    [m]
    Great to see there's a TiddlyWiki Matrix channel! :D
    qbit
    @qbit:tapenet.org
    [m]
    :D
    RaelZero
    @raelzero:oddworlds.org
    [m]
    Hey! I'd need a bit of help with figuring out a decent way to save/sync my TiddlyWiki... I normally use Firefox on Arch. I started with Beaker because I figured it'd be useful to familiarise myself with that, wrote a bunch of content, but then I found out it's abandonware, so I'm looking for an alternative
    I'd prefer not to have to run a local Node server, but I'm ready to go down that way if it's needed
    Twexe looked amazing, but I wasn't able to convert my existing file to work with it
    So does anyone have an idea about what my options, realistically, are? As I said, from my perspective, the smaller/more self-contained the software, the better. Getting Twexe to work would be ideal, but I'm open to alternatives
    2 replies
    Thanks!
    Devin Weaver
    @sukima
    I use Timmi for FF works great for single HtMl tiddlywikis
    RaelZero
    @raelzero:oddworlds.org
    [m]
    Well, that seems good! It's working quite well, thanks!
    I'm not exactly sure what Timimi is doing hahaha I need to dig deeper into it
    qbit
    @qbit:tapenet.org
    [m]
    single binary
    you can just copy your files in and use them willy nilly
    Nikos Papagiannopoulos
    @panigrc
    It would be awesome if Tiddloid (Android App) could support the Node format (not single file), so I could sync my Tiddlywiki with Syncthing
    RaelZero
    @raelzero:oddworlds.org
    [m]
    qbit: sorry I didn't answer! Widdler looks quite good, too :D
    qbit
    @qbit:tapenet.org
    [m]
    np :D
    Sebastjan Hribar
    @sebastjan-hribar
    Hi all, is it possible to list a folder contents? In a form of hyperlinks to files in that folder.
    wisdomlight
    @wisdomlight
    Hi, I am re trying TW. I am looking for info/resources about 1. Markdown 2. Keyboard shorctcuts - specifically is there a plugin to be able to select any button on the page(e.g the editing button or the start new tiddly) 3. Is there a keyborad shortcut to start a new tiddly?? 4. I installed the vim plugin but I am not sure how to make it work. Thank you .
    @yanderella:sibnsk.net
    [m]

    I am sorry, but I cannot answer all your questions properly. However, I will try...

    =1= Official Markdown Plugin can be found here: https://tiddlywiki.com/plugins/tiddlywiki/markdown/ though, there are unofficial ones too I think... but I don't know them (I don't use markdown in TiddlyWiki)

    =3= Yes, there is... Alt + n will create a new Tiddler and focus you on the title. You can press Tab to go to Tags section and few times tab to go to Text editing field. I do use that sometimes, so I will also recommend you Ctrl + enter which saves the Tiddler that there is keyboard focus on.

    -Partial 4- If you are talking about the VIM plugin found here: https://github.com/sukima/vim-tiddlywiki the description clearly says it is probably best used in conjunction with TiddlyWiki Bob saver https://github.com/OokTech/TW5-Bob

    -Partial 2- I think it is possible to customize any button you like and add a specific shortcut to it, however I don't think you can select any button outside of the current tiddler focus (speaking about targetting the pencil button to edit one of the tiddlers that are displayed) [the new tiddler button, I already covered these Alt + n and modifying]. So I don't know of a way to be able to select a button ala selecting a link visually like in qutebrowser (or other Vim browser emulators) with keyboard.
    You can see a list of built in Shortcuts in $:/ControlPanel -> Keyboard Shortcuts

    I am sorry that I cannot provide more complete answers than these.

    Have a good day/night!

    vielebny
    @vielebny
    It is hosted in COntainer Station with Node.js 17.1.0, Tiddlywiki 5.2.0
    Steps I made: 1. npm install -g tiddlywiki
    1. tiddlywiki kompendium --init server
    1. tiddlywiki kompendium --listen
    1. forever start --spinSleepTime 10000 ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 $:/core/save/lazy-all "" "" "" "" 0.0.0.0 ""
    Any suggestions?
    @yanderella:sibnsk.net
    [m]

    Two things to comment. First, I followed your instructions how to set it up and the good news is.... I got the very same error locally.

    So why it happened? Well, I made a mistake! Basically... We ran the tiddlywiki.js at the current working directory ./ which.... uh.... for me contained folder kompendium it wasn't that folder. So I tried to enter the folder kompendium and ran the command then it worked just fine! So I suggest you to check that. Either enter the kompendium folder or add it to the command relative from the current working directory (or absolute path if you like)

    The second thing that I was thinking was, why are you using --server instead of --listen... So I was going to tell you that --server is deprecated while `--listen`` is newer command. Here is a link to read more on that.

    https://tiddlywiki.com/#ServerCommand:ServerCommand%20ListenCommand

    Also I decided to take your command and make it into a listen command for your convinience, so here is my attempt:

    tiddlywiki kompendium --listen port=5678 root-tiddler=$:/core/save/lazy-all host=0.0.0.0

    Notice where I put kompendium, that's what I needed to get it working instead of the current directory (./)

    That should be all!

    Tl;dr version (which may not work, since I am guessing): Replace Step 3 with

    forever start --spinSleepTime 10000 ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js kompendium --listen port=5678 root-tiddler=$:/core/save/lazy-all host=0.0.0.0

    Have a good day/night!