Hello,

after a long while I'm trying to update a extension I started:
https://github.com/toniher/SemanticDataImport

and I'm trying to add support for reading JSON content (actually from
MediaWiki JSON content model pages).

I try to trigger subobject storage using \SMW\ParserFunctionFactory,
https://github.com/toniher/SemanticDataImport/blob/master/includes/SDImportData.php#L237

but it does not work since I imagine that Parser object is not the
proper way to handle it since all this is being called from
PageContentSaveComplete hook...

I imagine I should generate subobjects in a programmatic way and
associate them to the current page.

Any tip or existing extension that would follow a similar approach to
add Semantic Data content as reference would be appreciated.

Thanks!

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to