Greetings, Izzy!

For SMW 1.2 I'd recommend looking at following files:

As far as I remember there was some change in 1.3 or 1.4 regarding result printers.

On Wed, Nov 12, 2008 at 10:37 AM, Izzy <> wrote:

I'm working closely with Guy Heathcote and we are loving what we can do with
our SMW. There has always been one thing that we couldn't do that involved a
simple query that output the results using a rather more complex set of
criteria - basically that the results are ordered according the a hierarchy
defined by a given property of a given category of page.

Having tried for a while to do this inline (spinning off lots of pages, etc)
I came to the conclusion that the only way to achieve what we wanted was to
write some form of extension. My PHP and O-O are both rudimentary. However,
I have a great sense of humour, so I set about this task last week.

Now I have my rough extension written, based on Semantic Calendar. I can get
the page names I want in the order i want. However, I can't figure out how
to output the results to the wiki page.

I've had a good delve through the classes, and have concluded that the most
important thing is to supply SMWPrintRequest() with the right input
arguments and SMWQueryProcessor::createQuery() and
smwfGetStore()->getQueryResult() will return all the information that I
require. Is this right?

However, I can't work out what the input arguments for SMWPrintRequest() are
(sorry!). Any hints would be really really welcome.

View this message in context:
Sent from the Semantic Mediawiki - Development mailing list archive at

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Semediawiki-devel mailing list

Respectfully yours, Eugene Mednikov

Mobile: +972-54-4520187
ICQ: 2014511
Skype: eugenem79