Wordpress publication

From OpenKM Documentation
Revision as of 17:30, 10 May 2014 by Jllort (talk | contribs)

Jump to: navigation, search

Wordpress publication feature allow to automatically publish contents from OpenKM to wordpress. OpenKM Wordpress publication feature can upload html contents from openkm and images related into these html contents to Wordpress.

Configuration

There are three configuration parameters that must be set in Configuration view

  • wordpress.url the wordpress xmlrpc wordpress url for example http://yoursite/blogname/xmlrpc.php
  • wordpress.user the wordpress users with write grants for publishing
  • wordpress.pass the password of the user

Publish content

With any html file - uploaded or created into openkm - add the property group ( metadata ) called WP Publication

Okm user guide 543.png

After the property group ( metadata ) fields will be saved, these are automatically processed by OpenKM metadata events. The OpenKM automation task called Worpress metadata will process the contents and upload the media - images - realated into the HTML content to wordpress.

Okm user guide 544.png

Also the wordpress response is processed by OpenKM and values are saved in property group ( metadata ) WP Publication information about wordpress content, like post_id

Okm user guide 545.png

or into property group ( metadata ) WP Media information about media contents, like media_id, media_url

Okm user guide 546.png

Update media

Each time some media yet uploaded into wordpress is updated, automatically is processed by OpenKM metadata events. The OpenKM automation task called Wordpress content and media will process the contents, update media at Wordpress and also update all related contents with that media.

Okm user guide 544.png

Also the wordpress response is processed by OpenKM and values are updated in property group ( metadata ) WP Publication.