Difference between revisions of "Wordpress publication"
Line 10: | Line 10: | ||
== Publish content == | == Publish content == | ||
With any html file - uploaded or created into openkm - add the property group ( metadata ) called '''WP Publication''' | With any html file - uploaded or created into openkm - add the property group ( metadata ) called '''WP Publication''' | ||
+ | |||
[[File:Okm_user_guide_543.png]] | [[File: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. | 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. | ||
+ | |||
[[File:Okm_user_guide_544.png]] | [[File: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 | 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 | ||
[[File:Okm_user_guide_545.png]] | [[File:Okm_user_guide_545.png]] | ||
+ | |||
or into property group ( metadata ) '''WP Media''' information about media contents, like media_id, media_url | or into property group ( metadata ) '''WP Media''' information about media contents, like media_id, media_url | ||
+ | |||
[[File:Okm_user_guide_546.png]] | [[File:Okm_user_guide_546.png]] | ||
+ | |||
+ | == Update content == | ||
+ | Each time some content yet published into wordpress is updated, automatically is processed by OpenKM metadata events. The OpenKM automation task called '''Wordpress content and media''' will update the content. | ||
+ | |||
+ | == Update metadata == | ||
+ | Each time some '''WP publication''' property group - metadata - is saved automatically is processed by OpenKM metadata events. The OpenKM automation task called '''Worpress metadata''' will update the content. | ||
== Update media == | == 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 | + | 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 update media at Wordpress and also update all related contents with that media. |
+ | |||
[[File:Okm_user_guide_544.png]] | [[File:Okm_user_guide_544.png]] | ||
+ | |||
Also the wordpress response is processed by OpenKM and values are updated in property group ( metadata ) '''WP Publication'''. | Also the wordpress response is processed by OpenKM and values are updated in property group ( metadata ) '''WP Publication'''. | ||
[[Category: User Guide]] | [[Category: User Guide]] |
Revision as of 17:35, 10 May 2014
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
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.
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
or into property group ( metadata ) WP Media information about media contents, like media_id, media_url
Update content
Each time some content yet published into wordpress is updated, automatically is processed by OpenKM metadata events. The OpenKM automation task called Wordpress content and media will update the content.
Update metadata
Each time some WP publication property group - metadata - is saved automatically is processed by OpenKM metadata events. The OpenKM automation task called Worpress metadata will update the content.
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 update media at Wordpress and also update all related contents with that media.
Also the wordpress response is processed by OpenKM and values are updated in property group ( metadata ) WP Publication.