Index: trunk/extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php |
— | — | @@ -676,6 +676,12 @@ |
677 | 677 | |
678 | 678 | $data = SMWExporter::makeExportData( smwfGetStore()->getSemanticData( $value, $fullexport ? false:array( '__spu', '__typ', '__imp' ) ), $st->modifier ); |
679 | 679 | $this->printExpData( $data ); // serialise |
| 680 | + // let other extensions add additional RDF data for this page |
| 681 | + $additional_data_array = array(); |
| 682 | + wfRunHooks( 'smwAddToRDFExport', array( $value->getTitle(), &$additional_data_array ) ); |
| 683 | + foreach( $additional_data_array as $additional_data) { |
| 684 | + $this->printExpData( $additional_data ); // serialise |
| 685 | + } |
680 | 686 | $this->markAsDone( $st ); |
681 | 687 | |
682 | 688 | // possibly add backlinks |
— | — | @@ -829,4 +835,4 @@ |
830 | 836 | return ( ( $res != NS_CATEGORY ) && ( $res != SMW_NS_PROPERTY ) && ( $res != SMW_NS_TYPE ) ); |
831 | 837 | } |
832 | 838 | |
833 | | -} |
\ No newline at end of file |
| 839 | +} |