Mystery solved: It is not where you download it from, but how you download it. Interestingly, it seems that the safest way is to download from the simple link found at the page http://oldwiki.tiddlywiki.org/wiki/Downloading_TiddlyWiki. Just follow instructions at the page to right click the link and download .
But if you try to download from any of the pages at http://www.tiddlywiki.com/ you will face always a button that fires some JavaScript to start the download. In my case, after clicking the button, Firefox opens a dialog box and offers several options, but the ones relevant are: - Save file using the built-in download assistant - Use the Down Them All add-on. Checking the first option produces an 'incorrect' file that once edited, only saves a few K bytes of the original TW and thus shows just javascript garbage when loaded by the browser. Checking the second option produces the 'correct' file. Apparently, the download processes treats in different ways the end-of-line char(s) in a few parts of the file. See the example below (olny the first lines) The CORRECT file first lines: ========================================================== <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <script id="versionArea" type="text/javascript"> //<![CDATA[ var version = {title: "TiddlyWiki", major: 2, minor: 6, revision: 5, date: new Date("October 6, 2011"), extensions: {}}; //]]> ========================================================== The INCORRECT file first lines: ========================================================== <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><script id="versionArea" type="text/javascript">//<![CDATA[ var version = {title: "TiddlyWiki", major: 2, minor: 6, revision: 5, date: new Date("October 6, 2011"), extensions: {}}; //]]> ========================================================== Hoped to be helpful to all new TW users. Javier. El lunes, 28 de mayo de 2012 01:15:35 UTC+2, JRae escribió: > > HI > > Tiddlywiki newby alert! I'm sure I'm doing something really basic > wrong. > > I've downloaded a new copy of tiddlywiki (empty.html). I then make a > couple of basic changes, following a tutorial. When I save and re- > open, I get this kind of stuff. > =========================================================== > ";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border: > 0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop! > > > ==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20|| > > > e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this. > > > ========================================================== > What am I doing wrong? > > Cheers -- 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/-/Y_piSYu-CJ8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

