[SMW-devel] making result format compatible with more versions of SMW

2013-11-15 Thread Yury Katkov
Hi Jeroen!

I've seen that in the last version of Validator a lot of stuff have
been refactored. The sideeffect  of that is that I don't know how
result format can be compatible with both versions of Validator. Can
you provide any recipe for that?
-
Yury Katkov, WikiVote

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] making result format compatible with more versions of SMW

2013-11-15 Thread Jeroen De Dauw
Hey Yury,

If you use the array based syntax currently used by SMW and SRF, then it
should be mostly compatible with Validator 0.5 (and thus SMW 1.8). IIRC
most result printers in SMW 1.8 already got updated to use this definition
style. I can't give you a better answer then that.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] dagre graph and seq

2013-11-15 Thread david mason
While there is discussion of SRF graphs…

I hacked in support for dagre https://github.com/cpettitt/dagre graphs —
see https://wiki.deflect.ca/wiki/BotnetDBP#Diagram

this is a JavaScript implementation of graphviz style rendering. lots of
possibilities due to its browser based nature. this implementation uses a
small included JavaScript helper https://wiki.deflect.ca/dagre/smw.js
and a simple
templatehttps://wiki.deflect.ca/mediawiki/index.php?title=Template:Daction=editthat
works with inline annotations or queries.

It would be nice if this made it into SRF. It doesn't need much PHP support
aside from including the JS via resource loader. dagre's renderer is
separated, in this case it uses d3 so it could be linked to any d3 SRF
implementation.

In another instance I added support for JavaScript based sequence diagrams
— https://wiki.deflect.ca/wiki/Devopsjs#tab=How maybe this could also be
included.

David
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel