[tw] Re: NEW: LinkifyPlugin - another improved version of RedirectMacro / AutoWeaving
@Everyone, A) First of all, please let me know, if you would agree to the following: For the sake of being able to use the regex modifier in full, I want to change the plugin so that terms are separated via || instead of just | ... which would then allow to use the somewhat crucial pipe | character inside a regex. B) Should auto linkification for all tiddlers be default, instead of having to turn it on explicitly? @Albert, I'm glad you enjoy the plugin. As for your suggestions, I believe I will tackle them in this order as time allows: +2) Editing linkification in the edit template. +3b) Redirect linkification upon rename -3a) I concur, this is something for a more complex RenameTiddlers kind of macro. ?1) Global modfifiers... Here I find it hard to make up my mind. Should this apply to all tiddlers? If not, (how) should one decide which tiddlers to include or exclude from these global modifiers, via some tag or via a config line? Should a plural-s perhaps always be part of any modifier that doesn't include wildcards? Anyhow, if implemented, I believe this should be part of the regex that tries to match tiddler text, instead of having multiple formatters for each (under the hood). @twgrp I notice way to make a full line not linkify is a blank space at start. May I suggest minimizing the nomenclature and stick with the ~ sign also here? I beg to differ. We are only talking about LinkifyConfig and ways to write down comments next to a config line. A tilde ~ does only add distracting semantics from my point of view. I could perhaps allow for // but then the whole thing gets this technical feel to it which I don't see a need for. So, to turn the question around, why would you think that allowing for comment lines via blanks would be a bad idea... other than there perhaps being little to no other environment making use of comments this way. Cheers, Tobias. Am Samstag, 14. April 2012 14:35:05 UTC+2 schrieb Albert Riedinger: Hi Tobias, thank you very much for your wonderful plugin! It will save me a lot of time and makes TiddlyWiki complete. I hope that this concept would become a core element of the next TW release. I think that the WikiWords approach is less flexible and easy to use ... and also a bit outdated. I'm new to TW and used Tomboy a lot in the past, where automatic linkification is the regular way to reference notes, so I missed this feature from the beginning. I have to test your plugin a little bit further in the next time, especially with my imported Tomboy notes which are huge with lots of references. I'll give you more feedback in near future. I have three suggestions for new features, which would me (and maybe others) make VERY happy :) 1A. a possibility to define global modifiers in LinkifyConfig → EXAMPLE: line @@@|@@@s [[@@@ – Discussion]] ... could mean: all tiddlers like Wiki, TiddlyWiki, Command, Plugin and so on, would be referenced by the words Wikis, TiddlyWikis, Commands, Plugins and also by Wiki – Discussion, Command – Discussion ... 2. a macro which would create an input field in EditTemplate for editing aliases of the tiddler (see for example TiddlerAliasPlugin[1]) ... this macro could edit the corresponding line in LinkifyConfig → it would simplify the whole process 3A. like in Tomboy[2] → automatic refactoring linkifications after renaming a tiddler (a bit complicated and maybe an idea for another plugin) ... to avoid unwanted edits: after renaming a tiddler a pop up window could appear with a list of tiddlers where the automatic linkifaction changes would be applied by LinkifyPlugin → users could exclude those tiddlers where they won't these changes to be applied (same solution as in Tomboy) OR ... 3B. same as 3A → without editing the linkifications inside tiddlers, but rather automatically adding an alias of the renamed tiddler to the corresponding line in LinkifyConfig (user would be asked before adding) → EXAMPLE: tiddler with the name [[Wiki]] → renamed to [[TiddlyWiki]] → line in LinkifyConfig: Wiki → changes to: Wiki|TiddlyWiki OR Wiki|*Wiki→ after further renaming [[TiddlyWiki]] to [[Wiki – TiddlyWiki]] → line in LinkifyConfig changes to: Wiki|TiddlyWiki [[Wiki – TiddlyWiki]] OR Wiki|*Wiki [[Wiki – TiddlyWiki]] OR ... 3C. a combination of 3A + 3B → the user decides which refactoring method would be executed (on a by-tiddler-basis like in 3A?) My english is not the best, but I hope you'll understand my suggestions. Please ask if not :) Kind regards, Albert [1] http://tiddlywiki.abego-software.de/Beta.html#TiddlerAliasPlugin [2] http://projects.gnome.org/tomboy/ Am Mittwoch, 11. April 2012 09:38:13 UTC+2 schrieb Tobias Beer: Hi everyone, Inspired anwe by the recent discussion [1] about Autoweaving and RedirectMacro [2]... A few months, ago I also played with ideas of enhancing this plugin. Yesterday I turned this experiment into something that
[tw] Re: A couple of Newbie Questions
Hi Andrew Isn't Trasnclusion wonderful. [[StyleSheet]] .nobullets * { display: inline;} .nobullets li { list-style-type: none; margin-left:-2em; } [[MainMenu]] alias a {{\{\{nobullets\{\\list filter [tag[%0]]\\\}\}\}}} [[MyTiddler]] a tag Great idea - good example!! Thanks for sharing it here :-) Cheers Måns Mårtensson Ps: I've been using the AliasPlugin for smileys: http://smileys.tiddlyspace.com/#Smile http://manto.tiddlyspace.gir.dk/#Smil animations and other stuff: http://dias.tiddlyspace.gir.dk/Aliases.txt AliasPlugin http://www.tiddlytools.com/#AliasPlugin is a great way to personalize (and simplify) macro calls of all kinds... ... -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Opening Word file directly from local folder in TiddlyWiki?
Thanks, Skye! I appreciate your response and at least I know how to make it find the file. :) I was hoping to do something in Word and have it open it because the file needs to stay editable, so maybe I'm going to try another avenue. On Saturday, April 14, 2012 2:15:49 PM UTC-4, skye riquelme wrote: Hi Julie I am not an expert, but maybe I can shed some light on this. Firstly, your syntax is ok. But the file address is not. You can use relative file addresses like /SubPasta/file.html - which gets the file.html in the sub-folder SubPasta...ou maybe ../ BrotherPasta/file.html - which gets the file.html from a folder parellel to one containing your TW. OR you can use full adresses...something like file:///C:/Users/Name/Documents/TWFolder/ file.html (obviously I am using a windows file structure). SO the syntax becomes [[simulation 1|/folderName/file.html]] Secondly. in the above cases your browser (I use FF) will open file.html probably in a new window (depending on your browser settings) because it (the browser) knows about .html files and knows what to do with them. But does your browser know what to do with a .docx file??? You may be able to set your browser settings to recognise this file extension it depends on your browsers ability. For example, as a teacher I work a lot with presentations...but they are a pain in relation to TWas I have yet to figure out how to get FF to understand OpenOffice extensions. So my simple work-around is to export my completed presentations into PDF format. which all (?) browsers know how to read. So I can use [[myPresentation|Folder/ present.pdf]] which opens the PDF file in a separate window. Or, what I normally use is something like htmliframe src=Folder/ present.pdf width=100% height=500/iframe/html which opens the pdf file directly inside the tiddler.so I dont even have to leave the TW environment!!! Hope that is both useful and (at least basically) correct Yours Skye On 13 abr, 11:03, Julie radac...@gmail.com wrote: I've been playing with a code I found somewhere to open a Word file directly, which looks like this: [[Simulation 1|file//Simulation1.docx]] where Simulation 1 before the | is the Tiddler text and the information after file is the document I want to open. When I do this (with or without the extension), I get the error: File not found. Firefox can't find the file. Is there a way to have TiddlyWiki open a Word file directly from the local folder where someone can click on the file and have it open automatically (not save as)? Thanks in advance for your help! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/behAsCLbbLcJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Problem uploading
hey springcat could be wrong but I think that in order to upload a local file you need to use an earlier version of firefox in my case a portable firefox version 3.6.24 ( http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%203.6.24/ ) seems to work ok with tiddlyspot. see info on installing ff portable here http://portableapps.com/apps/internet/firefox_portable and info on using portable and normal firefox at the same time here ( http://allthingsmarked.com/2011/05/13/run-multiple-versions-of-firefox-at-the-same-time/ ) sklpns ps. 1. On my downloaded version of stories4thaaza I see an upload button both on the backstage and the right panel 2. In my portable firefox I set all update options to off (not being sure if the next version would work equally well with tiddlyspot upload). Of course this poses some security issues so one should use the portable version cautiously -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Opening Word file directly from local folder in TiddlyWiki?
Hi Julie Is there a way to have TiddlyWiki open a Word file directly from the local folder where someone can click on the file and have it open automatically (not save as)? Eric made http://www.tiddlytools.com/#ShowLocalDirectory which is very capable of browsing files and directories (in Windows and Linux - I guess it will work on a Mac as well).. When you click a file link - it will try to open it in an iframe. It works well for images and plain textfiles - and as Skye says, some browsers support pdf's as well... If you want to open an application (Word for example) directly from your TW there's a plugin for that as well ( http://www.remotely-helpful.com/TiddlyWiki/LaunchApplication.html#LaunchApplicationPlugin ), however the macro parameter needs some tweaking to open a file with an application - and I'm no expert You'll have to test it out yourself to find out which parameters are neccesary... A combination of ShowLocalDirectory LaunchApplicationPlugin (w. automatic recognition of mime-types would be awesome...) Happy hacking :-) Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Problem uploading
Hi sklpns, thanks a lot for responding. the current version of the tiddly file has the upload button intact 'cause I downloaded an older version and copy pasted all the content from the local file, then updated it on- line. Had earlier downloaded FF 3.6.28 the portable version and ran it from an SB stick and could upload local file. Thanks also for the very relevant links. On Apr 16, 5:30 pm, sklpns skl...@gmail.com wrote: hey springcat could be wrong but I think that in order to upload a local file you need to use an earlier version of firefox in my case a portable firefox version 3.6.24 (http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%... ) seems to work ok with tiddlyspot. see info on installing ff portable here http://portableapps.com/apps/internet/firefox_portable and info on using portable and normal firefox at the same time here (http://allthingsmarked.com/2011/05/13/run-multiple-versions-of-firefo... ) sklpns ps. 1. On my downloaded version of stories4thaaza I see an upload button both on the backstage and the right panel 2. In my portable firefox I set all update options to off (not being sure if the next version would work equally well with tiddlyspot upload). Of course this poses some security issues so one should use the portable version cautiously -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: NEW: LinkifyPlugin - another improved version of RedirectMacro / AutoWeaving
Hi Albert, Am Montag, 16. April 2012 11:58:55 UTC+2 schrieb Albert Riedinger: - Tomboy 2.0 / Tomboy 2.0 – Plugins / LinkifyPlugin – Test - AutoWeavePlugin – Test - IntelliTaggerPlugin Documentation - zzConfig A) Please check the documentation again. Linkification for all of this is currently possible via LinkifyConfig. Try to add all of this to your LinkifyConfig: AutoWeavePlugin|AutoWeavePlugin *|AutoWeavePlugin – * LinkifyPlugin|LinkifyPlugin *|LinkifyPlugin – * IntelliTaggerPlugin|IntelliTaggerPlugin Documentation| IntelliTaggerPlugin – * Tomboy 2.0|Tomboy 2.0 – * zzConfig This might seem a lot of stuff, but then that's the idea behind it. Linkification patterns currently require to exactly define for which tiddlers they should apply. As for zzConfig, I can't quite tell what should be wrong with it... - Do you have it? - Have you turned on linkification for all tiddlers? - Is it in LinkifyConfig? When tiddelers are excluded from linkification this only means that their body is not linkified. However, you can sure have such a tiddler as a linkification target. B) While this might reasonably work for all tiddlers: @@@|@@@s|@@@*|@@@ – Discussion ...I don't really see that all tiddlers need this matching pattern but perhaps only those tagged xyz, so I would suggest something like the following: {{GROUP{ %0*|%0 – * +tagX tagY tidA tidB }}} In other words, I would envision it like defining Linkification for groups of tiddlers by wrapping the corresponding config in {{GROUP{ ... }}} The first line after that defines the patterns to be matched. I would suggest to use %0 as a placeholder and not @@@, since there is a string function called format which directly works with that, e.g.: someString.format([replace1,replace2,replace3,...]); ...whereas replace1 would be inserted for any %0, replace2 for %1, etc... All other lines define the tiddlers like tidA tidB to be matched or alternatively all tiddlers tagged +tagX or +tagY. So in pseudo-code... 1) get all tiddlers to match as [tagged(tagX) + tagged(tagY) + tidA + tidB] 2) create formatters for all those while replacing every %0 with the actual tiddler names I think that's better than to have such a rule apply to all tiddlers. In other words, if a line in LinkifyConfig starts with a css wrapper for a block, then - until the closing wrapper - everything that follows is supposed to define a linkification group with 1 line for rules and x lines for tags or tids. Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/VKoaMWKFBBMJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] possibly stupid question about changing font
I'm in the middle of customizing the style sheet for my tiddlywiki. I want just the text of the content of the tiddler to be serif, but I can't figure out how to change it without it changing the tiddler title, menu, tag box, etc, as well. Any hints would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: possibly stupid question about changing font
want just the text of the content of the tiddler to be serif, but I can't figure out how to change it without it changing the tiddler title, menu, tag box, etc, as well. .tiddler .viewer { font-family:serif; } enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios WAS THIS ANSWER HELPFUL? IF SO, PLEASE MAKE A DONATION http://www.TiddlyTools.com/#Donations note: donations are directly used to pay for food, rent, gas, net connection, etc., so please give generously and often! Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.