VOS.OdsIntegrationWordPress
What is WordPress?
WordPress is a popular open-source blog engine written in PHP. The guide below shows how to run it in Virtuoso.Install VAD
- Start virtuoso db using the hosting_php.so ( .dll for win users).
In oder to use this plugin, it needs to be included in your virtuoso ini file as follows:
... [Plugins] # for ex. here the location of the plugins is the plugin folder LoadPath = ./plugin ... Load6 = Hosting,hosting_php.so ...
- Setup "Local Virtuoso" DSN (note the empty space in the name!) in order to access any of the application URLs.
- For windows users, please perform the following steps:
- Go to Start >> Settings >> Control Panel >> Administrative Tools >> Data Sources (ODBC)
- Go to tab "User DSN" and click "Add"
- Select the "OpenLink Virtuoso (version)" driver and click "Finish"
- Enter "Name":
Local Virtuoso
- Enter "Description":
My Local Virtuoso
- For "Server", enter your Virtuoso's hostname and ISQL port, e.g.,
localhost:1116
- Click "Next"
- Enter a username for "Login ID", e.g.,
dba
- Enter the user's "Password".
For dba, the default password is
dba
- Click "Next"
- Click "Finish".
- For windows users, please perform the following steps:
- From ISQL execute:
SQL> DB.DBA.VAD_INSTALL('tmp/wordpress_fs.vad',0);
RDF View Scripts
- After you have installed the WordPress wordpress_fs.vad package, using ISQL execute the WordPress_rdf_views_script.sql file, which contains the RDF Views scripts for WordPress:
isql localhost:1116 dba dba WordPress_rdf_views_script.sql
- You can also find the WordPress RDF Views scripts here.
Configuration
- In case you want to change the dba password, you need to locate the file below in your FS and change the $wgDBpassword value:
vad\vsp\wordpress\wp-config.php
- After you have successfully installed the WordPress wordpress_fs.vad package and have run the RDF Views WordPress_rdf_views_script.sql, access the WordPress home page: http://host:port/wordpress
URI Schemes
http://<your-instance-cname>/wordpress/user/<ods-user-id>
Download
- You can download the WordPress VAD package from here.
References
See Also
CategoryBlog CategoryOpenSource CategoryVirtuoso