Exporters

Discussing exporters for SIOC, e.g. WordPress MU, Drupal, phpBB and vBulletin.

Remarks about WP SIOC exporter

Maybe you're already aware of this, but I've just noticed that the WordPress exporter uses 2 relations that are not listed in the specs:

* sioc:title, instead of dc:title or sioc:subject ?
* sioc:made, instead of sioc:creator_of ?

Were these properties in previous specs versions ? or will be ? Or just a mistake :) ?

Dotclear exporter

A SIOC exporter for dotclear (a widely-used french blogging software) is available.

The plugin is based on the API and exports:

  • weblog
  • users
  • posts
  • comments

For each posts, related links and categories will be extracted, using respectively sioc:links_to and sioc:topic.

Latest version of the plugin available at:

Updated Drupal exporter

Hi,

After submitting a bug and a some requests to SIOC exporter for Drupal, I took the liberty to update the module, as John suggested me.

Changelog:

Fix
- Fixed bug in relative URLs
see http://drupal.org/node/40542

Features
- Added ability to set queries LIMIT
see http://drupal.org/node/40544
- Added sioc:content_encoded for sioc:Post
see http://drupal.org/node/40543

It should be available in CVS archive soon.

Cheers,

Alex.

(nb: I didn't tag anything in CVS)

WordPress Exporter

The plugin looks good - I see something we don't have in our specification / namespace yet:

From the Site concept:

<sioc:has_group rdf:nodeID="authors"/>

I need to think about this again, as before we were using a distinct property name to link two concepts, so that the property isn't biased towards either concept. For example, Forums are a "container_of" Posts (rather than a Forum "has_post" which is a Post), and Sites host Forums, etc.

So what is the relationship between Site and Group? :) Nothing obvious pops into my head just now, but there is something.

Maybe Group

Feature request for the Drupal sioc.module

It'd be good if all site pages / stories were exported as SIOC posts with the Forum being something like $site_name . " Pages" or " Stories". We could look into exporting the poll information as well...

Some things to fix in the WordPress plugin...

Maybe it's just my installation but I can't see any information on the Post or User Post or User pages...

Any ideas Uldis?

sioc.inc

Some more thoughts. From looking at the two exporters, it seems that the WP/Drupal logic is pretty well mixed in with the SIOC logic. Perhaps it would be more useful to make an sioc.inc file that had a well-defined API for doing import/export functions? For example, the function export_sioc_forum in the Drupal module could easily be abstracted to take a set of input parameters and return the RDF excerpt needed. It would be up to the Drupal module to build the paramters and variables, but the SIOC generation code would be external. In this way both WP and Drupal and XYZ could all depend on the same code. Perhaps you could even turn the API file into a PEAR project or something similar to elevate its status.

SIOC module here?

Since you're using both forums and blogs for this site it would seem natural to have the SIOC module enabled here. Are there plans for such in the works?

Fixed paths in the CVS repository

I took the very forward liberty of fixing a bug in the Drupal exporter concerning the paths in the menu definitions. It isn't necessary to prefix the paths (Linux style) with ./ and I removed these. The module now works nicely on CVS Drupal. Hope I haven't overstepped my bounds. Here's the link to the commit:

cheers,

Robert

SIOC Exporter for Drupal

The SIOC exporter for Drupal 4.6 is available from:

http://drupal.org/files/projects/sioc-HEAD.tar.gz

Simply install the sioc.module file in your modules directory.

The project page at drupal.org is:

http://drupal.org/project/sioc

Edit: This module has been written for Drupal 4.6.0 and upwards. It will not work correctly in Drupal 4.5 due to some changes in the way forums are linked to taxonomies.

Syndicate content