MindTouch Core/Platform is regularly updated with fixes from MindTouch TCS. While MindTouch Core is GPL, MindTouch Platform is not. This is known as dual-licensing.
@SteveB I've a few questions here too :)
How often does MindTouch Inc contribute code back to this project? In fact are they obliged too? That is are they running Mindtouch CORE code as part of their commercial service on their own servers covered by the above mentioned Affero GPL licence? Or are they using a forked commercial license and not obliged to contribute back code improvements?
@SteveB So the translation tool is not in use anymore? The same link in http://developer.mindtouch.com/en/docs/MindTouch/Languages is not working either.
@SteveB I'm pulling a bunch of content from a number of pages, currently using multiple calls to Wiki.Page because I need to pull specific sections, and also adjust the page headings down a level on the new page. In order to avoid 10+ calls to Wiki.Page for each actual page (assumption being that database calls are expensive), is there a way to load the target page into a variable, and then direct Wiki.Page (or something similar) to it (assumption being that variable references are less expensive) (since I'm making 10+ calls per page for each of 13 sub-pages, every little bit helps)? I guess, really, I'm asking if the first parameter to Wiki.Page can be a variable containing XML, instead of a path?
I already asked this question on the forums, but could you tell me where the attribute [DreamState] or [DreamServiceState] has gone? I can't find it in the mindtouch.dream.dll since version 1.6.0.
@gerbenheinen, Dream state management wasn't living up to our expectations and rather trying to fix something that was pretty deeply flawed, we decided to remove it and not pretend to have something that isn't performing as it should.
@gerbenheinen, Dream state management wasn't living up to our expectations and rather trying to fix something that was pretty deeply flawed, we decided to remove it and not pretend to have something that isn't performing as it should.
@steveb Hi Steve. How is this FAQ page implemented? (http://developer.mindtouch.com/en/FAQ)
I'm using the KB layout (http://developer.mindtouch.com/en/kb) for our own documentation, but I would also like to use the FAQ-page. It's not possible to see the source code of the FAQ-page as it is with the KB-page.
Could it please be accessible? I would really appreciate is :O)
@steveB Hi Steve, I am trying to create new php extension. Today I managed to made the first hello word one working. I would like to make an extension that connects to Openstreetmap.org maps and routing service from cloudmade, all this is open source maps and routing. Could you please help me and provide how the google.map extensions you have in dekiwiki or similar look like and I would change it for openstreetmap and if I would be succesfull with it I will give it back so you can use it. Thank you. Jan
@jan7 the google extension uses C#, which is necessary b/c XML-RPC does not support XML as a data type (talk about irony!). So, a PHP extension won't be able to return a response that can be embedded. If you must stick with PHP, I would recommend that your extension only returns the necessary data, while the HTML is created by a template. This separation will make it easier for others to customize the layout as well.
Hello Steve, I made a research and i can do it in bash, because I have a prepared connection that uses latex to produce nice looking documents. What I don't understand still is the system, from a practical point of view (i am not an IT major). If I have a working php that works in browser, how to use it? This php is combined with html, and calls the bash script. When I look at the template it looks like php code but there is no <php at the beginning. I now completely don't understand why to use extension and not make a single php file as a template. And when I would have an extension how would I use it, in a template or in a dekipage. More-to be confused, and how this differs from editing a page and putting the php into a source code of deki page. If you have the patience for answer I would be glad. Thank you. Jan
Hello Steve, I slowly get how it all works, the template is written in Dekiscript and translated into the html of the output page in a way that headers, footers are included in head,tail and body goes into body of the resulting page. An extension can be called in a template from dekiscript. Sorry for the questions, it is when someone is new. What I am only missing now is why a php extension couldn't receive an xml textfile (e.g as a response from a routing service) and the dekiscript in a template would read it, parse it and display it properly. How you go about this? Thanks, Jan edited 01:44, 3 Sep 2010
@jan7 it would be better to have this dialog on the forums. i don't always check the comments on my page and also others can then chime in. Just post the link here to the forum discussion so I can find it more easily.
To answer your last question, the PHP extension uses XML-RPC as the communication method between the API and the extension. Unfortunately, XML-RPC only supports numbers, strings, arrays, and hashtables, but not xml as values (why, I don't know). C# extensions use a richer protocol, that allows for more data types, including XML. Take a look at https://svn.mindtouch.com/source/public/dekiwiki/trunk/src/services/DekiServices/Extension/MathService.cs . This is the service used for embedding LateX equations. It sounds like you're trying to do something similar. You can read more about it here: http://developer.mindtouch.com/App_Catalog/Math .
Ok I understand, thank you for the information so far, it was helpful I put the whole case here http://forums.developer.mindtouch.com/showthread.php?p=42639&posted=1#post42639 so that it is topic related and others can see it too.
I already asked this question on the forums, but could you tell me where the attribute [DreamState] or [DreamServiceState] has gone? I can't find it in the mindtouch.dream.dll since version 1.6.0.
Regards,
Gerben
I'm using the KB layout (http://developer.mindtouch.com/en/kb) for our own documentation, but I would also like to use the FAQ-page. It's not possible to see the source code of the FAQ-page as it is with the KB-page.
Could it please be accessible? I would really appreciate is :O)
Regards
Andreas
To answer your last question, the PHP extension uses XML-RPC as the communication method between the API and the extension. Unfortunately, XML-RPC only supports numbers, strings, arrays, and hashtables, but not xml as values (why, I don't know). C# extensions use a richer protocol, that allows for more data types, including XML. Take a look at https://svn.mindtouch.com/source/public/dekiwiki/trunk/src/services/DekiServices/Extension/MathService.cs . This is the service used for embedding LateX equations. It sounds like you're trying to do something similar. You can read more about it here: http://developer.mindtouch.com/App_Catalog/Math .
It sounds like
Jan