Re: [tw] [TW5] Static sites - sitemap and ATOM plugins updated...

2015-01-27 Thread Jim Lehmer
On Monday, January 26, 2015 at 5:49:12 AM UTC-6, AlexHough wrote: Thanks Tobias, The sitemap makes it easier for google to index... A huge topic! Correct. And while there is some discussion about whether they are used much by the search engines any more, both Google and Bing have ways to

[tw] Re: TiddlyWiki Hangout #76 will be on Tuesday 6th January at 4pm GMT

2015-01-27 Thread Jim Lehmer
On Tuesday, January 27, 2015 at 9:51:41 AM UTC-6, Jeremy Ruston wrote: TiddlyWiki Hangout #77 is about to start. Thanks for posting this today or I would've missed the call. I am still not getting invites. -- You received this message because you are subscribed to the Google Groups

[tw] [TW5] Static sites - sitemap and ATOM plugins updated...

2015-01-24 Thread Jim Lehmer
*ATOM feed *- https://github.com/dullroar/TW5-atomfeed *Sitemap *- https://github.com/dullroar/TW5-sitemap Both contain the following bug fixes: 1. Use the approved TW date formatting (/$tw.utils.formatDateString()/), per Mario's suggestion on 1/18 (thanks, Mario). 2. Gracefully handle

Re: [tw] Re: [TW5] New plugin for generating sitemap.xml for static sites

2015-01-18 Thread Jim Lehmer
On 1/18/2015 7:40 AM, Jim Lehmer wrote: So, if the error is happening in my code, that tells me there is a tiddler or tiddlers without a /modified /field. I would have always expected that field to get created (it seems to on any tiddlers I create). I wonder if some system tiddlers are built

Re: [tw] Re: [TW5] New plugin for generating sitemap.xml for static sites

2015-01-18 Thread Jim Lehmer
On 1/18/2015 8:45 AM, Tobias Beer wrote: So, what to do with tiddlers that don't have a modified date and a sitemap? Is it ok for them not having any? I guess you want to use a custom filter anyway, if only to not index system tiddlers ...or just all tagged blog or whatever you use to

Re: [tw] Re: [TW5] New plugin for generating sitemap.xml for static sites

2015-01-18 Thread Jim Lehmer
Good to know. I will log another issue in my repo. :) On 1/18/2015 1:45 PM, PMario wrote: see: core/modules/utlis/utils.js exports.formatDateString = function(date,template) - $tw.utils.formatDateString(new Date, -MMM) will give you 2015-January -m -- You received this message

Re: [tw] Re: javascript macro / macrocall problem

2015-01-12 Thread Jim Lehmer
On 1/12/2015 7:24 AM, 'Stephen Kimmel' via TiddlyWiki wrote: preview pane, the editor is little more than a textarea box. If we could get it to look as good as the editor we use when posting messages to this group, I would be ecstatic. And it would make life a lot easier on the new users

Re: [tw] Re: javascript macro / macrocall problem

2015-01-12 Thread Jim Lehmer
On 1/12/2015 12:36 PM, 'Stephen Kimmel' via TiddlyWiki wrote: Close. Not that it matters at all but... My first job as a programmer started in 1965. In November of 1979, I was a contributing editor of Creative Computing magazine. You win. :) Although even so I realized I am not good doing

[tw] Re: Tiddlyspot - Gallery for TW5

2015-01-11 Thread Jim Lehmer
On Saturday, January 10, 2015 at 7:08:55 AM UTC-6, Atul Grover wrote: There is a tiddlyspot gallery where various Tiddlywikis are showcased ( http://tiddlyspot.com/?page=gallery ). Should we create a page where we showcase different variant of TW5 bottomtabs... scholars. etc. Each

[tw] Tip for serving TW5 on node to local network

2015-01-11 Thread Jim Lehmer
Just a quick tip - most of you might already know this. In my scenario I have a TW set up to run under node. It is on Dropbox, and depending on what I am trying to do I may run it on either one of my Windows or Linux boxes. But I want a single command to be able to run it on either without

Re: [tw] Re: Tiddlyspot - Gallery for TW5

2015-01-11 Thread Jim Lehmer
On 1/11/2015 1:30 PM, Tobias Beer wrote: How to protect the tiddler against maleficent? Perhaps watch less Disney. :) That's why in my other post I mentioned curated. Of course, that implies a level of attention to detail that may not be available from anyone to be a curator. Of course, for

Re: [tw] Re: Fun with bookmarks

2015-01-07 Thread Jim Lehmer
On 1/6/2015 10:48 PM, Jed Carty wrote: I did get a red box of doom when I selected c++ as the tag though, I would guess that the ++ part may interact strangely with the regexp filter. Yes, unfortunately I created that tag before I switched over to using regex's. And like the joke about REs

[tw] Fun with bookmarks

2015-01-06 Thread Jim Lehmer
Searching through archives, how-to's and other resources, it seems like bookmarks and associated functionality are one of the more popular uses for TW, especially when first starting out. I decided to try my hand at it, and it was actually quite a learning experience. Consider the TW here:

[tw] Re: TiddlyWiki Hangout #76 will be on Tuesday 6th January at 4pm GMT

2015-01-06 Thread Jim Lehmer
For some reason I keep missing these announcements in the group. Sigh. Since we're using Google Groups, is there a possibility of a TW Google Calendar to which I could then subscribe? Google Calendar (and these TW groups) are about the last two functions I use from The All-Seeing Eye. On

[tw] Re: [TW5] New plugin for generating sitemap.xml for static sites

2015-01-05 Thread Jim Lehmer
On Monday, January 5, 2015 9:31:01 AM UTC-6, Tobias Beer wrote: Cool stuff, Jim. With the increasing information on static pages, I have started to collect some notes on the different tidbits... http://static.tiddlyspot.com Thanks, Tobias! -- You received this message because you are

[tw] Re: Color highlighting in a snippet of code

2015-01-04 Thread Jim Lehmer
, 2015 8:45:04 AM UTC-6, Jim Lehmer wrote: On Thursday, January 1, 2015 6:10:27 PM UTC-6, RichShumaker wrote: I love your bottom TW5 reference. I couldn't click it although TiddlyWiki 5 seems like a link. Hmmm...In the words of every developer everywhere, It works for me. :) I use Cloudflare

[tw] [TW5] New plugin for generating sitemap.xml for static sites

2015-01-04 Thread Jim Lehmer
I cloned off my ATOM feed plugin and created one for generating a *sitemap.xml* http://www.sitemaps.org/protocol.html file. I have verified the results on my web site http://dullroar.com/ successfully against Google Webmaster tools. You can see the resulting file here

Re: [tw] Re: Fun with Unicode and TiddlyWiki

2015-01-04 Thread Jim Lehmer
Very cool! I love bookmarklets and have written a few myself. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to

Re: [tw] Re: Fun with Unicode and TiddlyWiki

2015-01-03 Thread Jim Lehmer
On 1/3/2015 12:28 PM, Eric Shulman wrote: I've done the same thing in TWC (which also uses the @@...@@ format for inline CSS). However, rather than using the somewhat obscure Unicode value, I just use an empty block of italics to achieve the same result... like this: @@color:red; This

[tw] I must be doing something wrong...

2015-01-02 Thread Jim Lehmer
I am trying to fix the bugs in the filesystem plugin and am seeing the same behavior I saw while trying to develop my own plugin. Here is how I have set up, per the online TW dev docs http://tiddlywiki.com/dev/index.html#TiddlyWiki5%20Development%20Environment: 1. Forked TW5 into my own

Re: [tw] I must be doing something wrong...

2015-01-02 Thread Jim Lehmer
On 1/2/2015 11:20 AM, Jeremy Ruston wrote: Hi Jim Copied a Basic client-server edition tiddlywiki.info http://tiddlywiki.info file into the root of the repo, to wit: That's the problem: you're trying to re-use the TiddlyWiki repo as a wiki folder. You should either create your wiki folder

Re: [tw] Re: ATOM feed now a plugin

2015-01-02 Thread Jim Lehmer
On 1/2/2015 6:29 PM, Mat wrote: I get at least half of my news via the Feedly reader (and I'm but a young lad at 41). I just subscribed to your channel and, by the way, and I agree it should probably support /content/ elements for a full feed experience ;-) And I +1 that other point about

Re: [tw] Re: Color highlighting in a snippet of code

2015-01-02 Thread Jim Lehmer
On Friday, January 2, 2015 4:22:48 AM UTC-6, Jeremy Ruston wrote: That's looking really good, well done. I just noticed that I don't think tiddlywiki.com links to any of your stuff; is http://dullroar.com the best place to link to? Thanks. Just noticed there was one slight bug on that page

[tw] Re: Color highlighting in a snippet of code

2015-01-02 Thread Jim Lehmer
On Thursday, January 1, 2015 6:10:27 PM UTC-6, RichShumaker wrote: I love your bottom TW5 reference. I couldn't click it although TiddlyWiki 5 seems like a link. Hmmm...In the words of every developer everywhere, It works for me. :) I use Cloudflare to protect/CDN my site and wonder if it is

[tw] Re: ATOM feed now a plugin

2015-01-02 Thread Jim Lehmer
On Thursday, January 1, 2015 5:53:31 PM UTC-6, HansWobbe wrote: So what has the techie crowd moved on to? I'd hate to attract their attention accidentally, just by letting someone see that I still rely on feeds. :-) From what I can tell they have moved on to captive apps on their phones

[tw] Re: ATOM feed now a plugin

2015-01-02 Thread Jim Lehmer
Just put up another bug fix, for correctly formatting URLs of tiddlers with spaces in their names. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tw] Color highlighting in a snippet of code

2015-01-01 Thread Jim Lehmer
This is old news for veterans, I am sure, but thought I would pass this along in case anyone else hits it. Let's say you have a tiddler that displays a code block (you're writing an article on some coding technique or whatnot): ``` var foo = 1; var bar = gonculate(foo); alert(bar); ``` Which

[tw] Remember kids, file names are case insensitive on Windows

2015-01-01 Thread Jim Lehmer
TW will alllow you to create both a *Foo *tiddler and a *foo *tiddler, but if you're running under node on Windows, whichever one is saved last will be the sole contents of the single *foo.tid *file. I am sure it has been discussed before but it bit me today and shouldn't have, because I am

[tw] Re: Color highlighting in a snippet of code

2015-01-01 Thread Jim Lehmer
As promised, I made this post a page on my site: http://dullroar.com/Color%2520highlighting%2520in%2520a%2520snippet%2520of%2520code.html -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from

[tw] Re: ATOM feed now a plugin

2015-01-01 Thread Jim Lehmer
Actually, my goals were a lot simpler than that. I am currently using TW as an editor for my web site http://dullroar.com/Home.html, and then generate a static set of pages from it. Since my site used to host my blog, I was wanting a feed that could alert of changes and updates by subscribing

[tw] Re: Node.js

2014-12-31 Thread Jim Lehmer
On Tuesday, December 30, 2014 9:26:21 PM UTC-6, Handoko Suwono wrote: Is there any introductory note on Node.js and how is it related to TW? Yes. Start here: http://tiddlywiki.com/#TiddlyWiki%20on%20Node.js -- You received this message because you are subscribed to the Google Groups

[tw] Re: Cornell's Note Taking Method

2014-12-31 Thread Jim Lehmer
On Wednesday, December 31, 2014 9:14:31 AM UTC-6, Jeremy Ruston wrote: It struck me as an interesting idea for TiddlyWiki. There's been interest in the past in using TiddlyWiki to create and present quizzes; perhaps we can explore creating the necessary features in a way that supports

[tw] Re: ATOM feed now a plugin

2014-12-31 Thread Jim Lehmer
Just posted a small bug fix. I was relying on *$:/status/UserName *to set ATOM's *author *element, but that only works when running in the browser/served from node, and not when generating a static site from the command line (which is really the whole point). So for now I am simply using the

[tw] Static site is working...

2014-12-31 Thread Jim Lehmer
Well, with my ATOM plugin working, I have completed the road map I laid out a few weeks ago: Following is my road map from the other thread, with progress comments: 1. A *simple* sidebar - title, subtitle, simple TOC with categories (tags). 2. Get the tag buttons working, per my Javascript

[tw] Re: Cornell's Note Taking Method

2014-12-31 Thread Jim Lehmer
On Wednesday, December 31, 2014 11:54:40 AM UTC-6, Jeremy Ruston wrote: A multi-column view for the story river is something I'm interested in adding. That would be good. On wide/HD displays especially the two column approach currently in place wastes a lot of real estate. I can think of

[tw] ATOM feed now a plugin

2014-12-29 Thread Jim Lehmer
What am I doing on my Christmas break? Well, I've read all the TW dev documentation http://tiddlywiki.com/dev/index.html as well as all of the code in *boot.js *(plus some of the core code as I was trying to figure various things out). And now I have successfully taken my ATOM feed code and

Re: [tw] [TW5] How best to approach an external dependency?

2014-12-29 Thread Jim Lehmer
On Wednesday, December 24, 2014 2:28:26 AM UTC-6, Jeremy Ruston wrote: One option might be to use the built-in Stanford JavaScript Crypto Library that we use for handling encrypted TiddlyWikis: http://bitwiseshiftleft.github.io/sjcl/ It works in the browser and under Node.js. You can call

[tw] Re: javascript macro / macrocall problem

2014-12-29 Thread Jim Lehmer
On Monday, December 29, 2014 3:18:48 PM UTC-6, Stephen Kimmel wrote: In the general category of I don't know what I did to make the problem go away but... I've got it working now. I suspect there is something flaky about how some of the browsers handle javascript. Thanks again, Eric

[tw] [TW5] How best to approach an external dependency?

2014-12-23 Thread Jim Lehmer
I am working on my Atom feed exporter, with the hope of eventually making it a plugin. Right now it works using the *rendertiddler *command under node, and in fact is depending on a node library (crypto) being in place. This is because the Atom spec http://www.ietf.org/rfc/rfc4287.txt requires

[tw] Re: [TW5] Displaying article dates on a static site

2014-12-22 Thread Jim Lehmer
On Sunday, December 21, 2014 9:56:18 PM UTC-6, Suzanne McHale wrote: Just did this to mine - much better! But when I upgrade my TW, will the changes be overwritten? That's a good question. So far when I have upgraded TW under node my overrides to shadow tiddlers have stayed, but I am not

[tw] Re: [TW5] Tag buttons on static sites

2014-12-21 Thread Jim Lehmer
On Sunday, December 21, 2014 4:04:55 AM UTC-6, Tobias Beer wrote: Not sure if I'm missing something, but your current version does not yet have any jQuery loaded, does it? If you're talking about my public site, no, I haven't uploaded the new, jQuery-enabed pages there yet, because I am not

[tw] [TW5] Generating an Atom feed for a static site

2014-12-21 Thread Jim Lehmer
[Ongoing static blogging generator saga.] I have a first pass at generating an Atom feed working (Feeds are dead! Long live feeds! :) ). I don't have it uploaded to my public site yet, but thought I'd share what I've done so far, since it is working in my local test environment. I based

[tw] Chaining node commands in a script file

2014-12-21 Thread Jim Lehmer
This may be old hat for people more experienced than me with node and/or TW's CLI, but I hit something tonight that I thought I would post just in case it saves someone else the time to troubleshoot that it took me. Scenario: I wanted to be able to serve my static files locally on my dev box

[tw] Re: [TW5] Generating an Atom feed for a static site

2014-12-21 Thread Jim Lehmer
And FWIW, serving my static files using node-static https://github.com/cloudhead/node-static, Thunderbird was able to consume the *atom.xml *file as a valid feed. It is still sub-optimal because the summaries are sort of arbitrary, but the XML *is *valid, at least. -- You received this

[tw] [TW5] Displaying article dates on a static site

2014-12-21 Thread Jim Lehmer
[Another post on the ongoing quest for a static site.] One of the other things I've had to override is the subtitle behavior on tiddlers. On a normal TW, when you create a new tiddler and save it, the subtitle will read something like Jim 1 second ago, that is, the last modified time is

[tw] [TW5] Tag buttons on static sites

2014-12-20 Thread Jim Lehmer
[This presumes you've been following my saga on using TW5 as a static blogging engine replacement.] So, one of my beefs has been that tag buttons on static pages are given the finger, that is, the mouse pointer indicates they're clickable but clicking on them doesn't do anything because the

[tw] Progress on static site generation with TW5

2014-12-09 Thread Jim Lehmer
Thanks to Jeremy's help (tug o' the forelock in thanks), I now have the TOC generating correctly in a static sidebar. You can see the very limited results so far here http://dullroar.com/Home.html. Following is my road map from the other thread, with progress comments: 1. A *simple* sidebar -

Re: [tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-12-07 Thread Jim Lehmer
: {{$:/static/toc||$:/core/templates/html-tiddler}} Where $:/static/toc contains your invocation of the toc macro. Let me know how it goes, Best wishes Jeremy. On Sun, Dec 7, 2014 at 6:41 PM, Jim Lehmer jim.l...@gmail.com javascript: wrote: I replaced the toc macro with a single link widget

Re: [tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-12-04 Thread Jim Lehmer
Some progress. First I moved the opening (but not the closing) $importvariables widget to just after the body tag, followed by the toc macro. Then I ended up duplicating the $importvariables widget (open and closing tags) to there and sticking the toc macro in between. In either case I get

Re: [tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-12-04 Thread Jim Lehmer
On Thursday, December 4, 2014 8:22:14 AM UTC-6, Jeremy Ruston wrote: Hi Jim Terrific. Can you share where you've got? Many thanks Jeremy Following, although I've been trying to figure all this out on my own because it feels like cheating to keep asking Dad for help. :) \define

Re: [tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-12-04 Thread Jim Lehmer
At work, so I will keep this brief for now. The roadmap for what I want is as follows: 1. A *simple* sidebar - title, subtitle, simple TOC, a tag cloud *that works* (more on that in a bit), some other fixed text (copyright, pointer to TW, etc., so that isn't repeated in every tiddler). I have

[tw] Using JetBrains WebStorm's spy-js to profile TiddlyWiki 5 under node.js

2014-12-04 Thread Jim Lehmer
While digging into my static site project, I wanted to capture something I got working the other day using WebStorm (I am on the free 30-day trial :) ). They have a profiling tool called spy-js, and it shows some interesting things, although ultimately it didn't give me the detail I wanted

Re: [tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-12-03 Thread Jim Lehmer
to resolve this problem. Best wishes Jeremy. On Sat, Nov 29, 2014 at 6:45 PM, Jim Lehmer jim.l...@gmail.com javascript: wrote: I feel like I am real close on this, but keep hitting barriers. I have a working TOC using the *toc *macro. I have changed the *$:/core/templates

[tw] [TW5] Getting a TOC in the sidebar of static pages...

2014-11-29 Thread Jim Lehmer
I feel like I am real close on this, but keep hitting barriers. I have a working TOC using the *toc *macro. I have changed the *$:/core/templates/static.tiddler.html *to successfully show the *SiteTitle *and *SiteSubtitle *just like on the normal (Javascript-enabled) wiki: body class=tc-body