I have seen mention of possibility to directly post (new threads) via launching an URL. That is VERY interesting to me as it would give a way I can author a FIRST post in a thread in TiddlyWiki. THEN directly post it to Discourse.
Discourse is not spectacularly documented IMO. So having seen mention of URL posting (hidden feature?) I have NOT been able to locate the relevant docs since that time.
So, SHORT QUESTIONS: (1) Can we post via URL? (2) IF so, where are the docs? (3) If answer to (1) is “+”, Shirley we do need a communal TW macro that does it so anyone could post here from their Wiki!
Thanks for pointing out this capability - it would be extremely useful if we can get this working.
Discourse is not spectacularly documented IMO.
I don’t know if there are any docs for end users, but I’m not sure that is really needed for something like an internet forum. The basic usage is just like any other forum, and for anything beyond that you will get the quickest answer by doing a google search.
Then any tiddler with the tag “Discord post” will show a link which opens discord and pre-fills the title and text.
It works for single paragraphs, but seems to have problems with formatting for multiline tiddlers. Perhaps someone else could chime in with a way to properly encode all the formatting into the URL?
The only problem is, that we need to be careful with <code> elements they need to be written like this: `<code>` elements, otherwise the forum doesn’t render them. It tries to render it as html
Create a tiddler tagged $:/tags/ViewTemplate and place this code inside
Create the tiddler $:/language/PostToDiscourse/Hint and write something like “Post to Discourse” in its text field
Then all tiddlers tagged $:/tags/Discourse will have a “Post to Discourse” link at the bottom
All additional tags to the tag $:/tags/Discourse will show up as tags in the Discourse dialogue
The field “category” of the tiddler is used to set the category, the field “subcategory” is used to set the subcategory
New posts in How To are now wikis, so others can improve it after you post.
I would suggest something like “Posting to a Discourse forum using TiddlyWIki” and copying @BurningTreeC’s final solution in and linking back here for the extended discussion.
Once a Post is generated have we a workflow to turn this into a link to the discussion?
Rather than generate a post and look at the feasibility.
I thought I would put the Question here for those who have a deeper knowledge of the URL Mechaisium.
Perhaps once you post, you harvest the Post link and add this to a discourse field and the view template displays the link if available rather than still display the new post link?
These two things are the inverse of each other. You can embed Discourse discussion threads but not on arbitrary sites. So, we can set up TW.com to have comments as I mentioned in the linked post.