Syncronize your nwiki with a local tiddlywiki :-O

Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Number of replies: 15
Hi there,
a bit of silence has envolved the tiddlywiki integration, but we have been working on it.
Rigth now there are 3 tiddlywiki plugins that you will love if you use moodle and tiddlywiki... as MD said to me, if yo don't use tiddlywiki this will just confuse you... but if you're geek enougth to follow me in this adventure let's gooo

The ImportPlugin imports nwikipages into a tiddliwiki
The exportplugin lets you go the other way
And the syncronize plugin lets you... tachan!!! syncronize the tiddlers with the wiki pages..


OK documentation demos and downloads here http://morfeo.upc.es/crom/mod/wiki/view.php?id=22&page=Tiddlywiki+integration+with+New+Moodle+Wiki&gid=0&uid=0
And in http://moodle.tiddlyspot.com
have fun wink
Ludo out
Average of ratings: -
In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Juvenal Sahiri -
Hi Ludo,
I might be missing something here, presumably because my mind has been shaped by Windows OS complexity. I know that the amazing part of Tiddlywiki is that one download a single html file and can do wiki right there. Now, with respect to the tiddlywiki integration, I went to this page http://morfeo.upc.es/crom/mod/resource/view.php?id=38 where I see these files:
Name Size Modified
text.gif dftotiddly.php 10.8KB 22 November 2006, 09:03 AM
folder.gif history 905KB 22 November 2006, 08:56 AM
text.gif readme.txt 1.5KB 9 November 2006, 09:49 AM
text.gif webservicelib.php 72.8KB 18 December 2006, 10:54 AM
text.gif wssecuritylib.php 12.8KB 22 November 2006, 09:04 AM

When I click on anyone of them, it opens. What am I supposed to do? Save them as php files? And then what? Do I save them into tiddlywiki directory (have downloaded the server side of it). Do I need to install anything in nwiki (inside moodle/mod).

Do the above files cover both the import/export and synchronize function?

Thanks.
Juvenal


In reply to Juvenal Sahiri

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Hi Juvenal,
these files must be copied on your mod/wiki (nwiki) directory in your moodle serverhttp://morfeo.upc.es/crom/mod/wiki/view.php?id=22&page=How+do+I+get+the+ImportDFwikisPlugin+server+side+scripts+working%3F&gid=0&uid=0
These files cover all the syncronization features. Remember that you need to have the tiddlywiki html file on your hard disk so it can syncronize. It won't work from http://moodle.tiddlyspot.com
The reason because these files are not included in standard niki distribution is to avoid further complictions in the process of oficialization of nwiki :-s
Thanks for giving it a try wink
Ludo
In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Josep M. Fontana -
Hey Ludo. I really like the look of the Wiki you have with information about integration of tiddlywiki and nwiki. Have you customized it yourselves? Is this automatically done if you use some specific theme? It looks like this is the work of a theme. What theme is it? Somehow, with the other themes, the wikis looked somewhat "unpolished". Now this one looks superb, very elegant with all the blocks, especially the index block, and the pale blue frames around. Very nice! What is the secret if there is one? How can mortals achieve this beauty?
In reply to Josep M. Fontana

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Hi Josep M.
"Que t'han portat els reis?"
This look comes out of the julian ridden's clouds theme.... wich I like very much, and some hacking in a dfwiki file in the parser folder. I can send it to you from my office if you want it.
By the way, we are working on a new parser based on a Ferran Recio's engine that will accept CSS costumization on wiki pages. At last... and oh full mediawiki compilance big grinDDD... just some weeks more
Ludo
In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Josep M. Fontana -
Hi Marc,

Well, if you send me the hacked dfwiki file you have in your office and get ready this parser you are telling me about, this will have been what the three wise men will have brought me as a present smile (A mi ara em toca ser rei, per tant sóc jo el que porto coses i a mi me'n porten poques sad)

Josep M.

In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Jordi Piguillem -
Some weeks....!!! I know something great that you don't...

Last friday morning I worked with Didac in new parser integration. NWiki looks wonderfull!! In my opinion we can make a new release this Tuesday. (I'm gonna have a lot of work on Monday: XC)

DFWikiTeam, Pigui
In reply to Jordi Piguillem

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Josep M. Fontana -
Well, let us know as soon as it is ready. Don't kill yourself trying to get it out, though smile

Josep M.
In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
Ludo, I'm not sure that server's scripts will work correctly...
When I was open dftotiddly.php in browser before save it on disk I saw smiles (pictures!!!).
I think it damage scripts in process of saving.

Please zip this files!

And some one else. Where I can get empty TiddyWiki template with plugins? On moodle.tiddlyspot.com had written about official NWiki site but I can't found it there.
Attachment smile.GIF
In reply to Dmitry Pupinin

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Smiley pictures on the code!!!:-S
OK, never mind, I'm zipping the files rigth away.
Cheers
Ludo
In reply to Dmitry Pupinin

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
OK files are zipped here
Remember that they must be installed on a nwiki installation.
Cheers
Ludo

In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Dmitry Pupinin -
Picture of Core developers Picture of Plugin developers
O my...
Two hours I try to force it work... and after that I looked in sources.
Ludo, what are you zip? ;o)

Quoting to some fragments:

require_once("../../config.php");
if ($lastwiki != $wiki->name){
$res[] = $wiki->id;

and smiles:

&quot;/(\[\[Image<img alt="smile" width="15" height="15" src="http://morfeo.upc.es/crom/theme/Clouds/pix/s/smiley.gif" /&gt;([^\[\]]+)\]\]/&quot; =&gt; &quot;parse_dftotid_img&quot;,



Please, zip your local sources... ;o)
In reply to Juvenal Sahiri

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Juvenal Sahiri -
Ludo,
Thanks for your reply. I copied the files in mod/nwiki. I have tiddlywiki on a local directory. I do not see any option that allows me to import or export (from/to) tiddlywiki or moodle web.

Can you tell me which sequence to follow to try this. Individually, tiddlywiki (either in server mode or as an html file is an awesome application).


In reply to Juvenal Sahiri

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Hi juvenal,
all the stuff is done from tiddlywiki. Essentially those files implement a webservice that our tiddlywiki plugins call from the AJAX engine. You need to copy to your hard disk a version of our integration tiddlywiki and use it to import/export contents and even synchronize it.
A tiddlywiki file with all the stuff, links and documentation is here:
http://moodle.tiddlyspot.com
You can use it to test it on my demo server which comes configured.
Tell me how i goes.
cheers
Ludo
In reply to Ludo (Marc Alier)

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Juvenal Sahiri -
Hi Ludo,
Here is where the problem is coming from. In the tiddlywiki I downloaded (server version), I do not see an option button like there is on your website. By contrast, I have an options and Advanced Option button on MonkeyGTD (though there is no import/export from/to nwiki). Is there a server version of tiddlywiki with the option button which I can download. The links on http://moodle.tiddlyspot.com do not let me download or they are not explicit enough?

One more question about the version of tiddlywiki I downloaded: I do not see a place where I can administer it so that one can create an account and enter username/password. Right now, one enters whatever username and password he wants. Is it meant to be this way?
Thanks
Juvenal
In reply to Juvenal Sahiri

Re: Syncronize your nwiki with a local tiddlywiki :-O

by Ludo (Marc Alier) -
Hi Juvenal
to download our tiddlywiki file you can use http://moodle.tiddlyspot.com/download
Or the link "Download" on the rigth menu, and the more explicit download link on the left menu under the orangutan picture.
You also can use the "ImportTiddlersPlugin" that comes with the latest tw or gtd to import three plugins
ImportDFwikisPlugin
ExportTiddlersToDFwikiPlugin
SynchronizePlugin
Each Plugin provides an interface to enter the username and pwd. But the user is created in the moodle server.
cheers
Ludo