On 08/11/11 18:51, Samuel Lampa wrote:
> Thanks Jeroen!
>
> Yes, have been checking at least the SMW_Exporter.php a bit, but will
> probably have to dig a little more ... just hoped someone else had
> already been here done that :)

Yes, the getExportData() functions have moved from the individual DVs to 
SMWExporter now, where they are static methods that get dataitem 
objects. The method you are looking for is probably

SMWExporter::makeExportDataForSubject()

(if you want a dataset that includes standard maintenance properties 
about the page) or

SMWExporter::getDataItemExpElement()

(if you only want a URI for the page; this function is also what the old 
getExportData() of all other dataitems has become).

Markus

> On 11/08/2011 12:55 AM, Jeroen De Dauw wrote:
>> Hey,
>>
>>   >  Anyone created an SMW 1.6 compatible triple store SMWStore class, and
>> so have solved this already?
>>
>> I'm not familiar with this part of the code, so cannot really help you,
>> but looking through the code here might help you:
>> http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/includes/export/
>>
>> Cheers
>>
>> --
>> Jeroen De Dauw
>> http://www.bn2vs.com
>> Don't panic. Don't be evil.
>> --
>
>


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to