<docbook><section><title>OdsIntegrationWordPress</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">What is WordPress?</bridgehead>
WordPress is a popular open-source blog engine written in PHP.
 The guide below shows how to run it in Virtuoso.<bridgehead class="http://www.w3.org/1999/xhtml:h3">Install VAD</bridgehead>
<orderedlist spacing="compact"><listitem>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: <programlisting>...
[Plugins]
# for ex. here the location of the plugins is the plugin folder
LoadPath = ./plugin
...
Load6    = Hosting,hosting_php.so
...
</programlisting></listitem>
<listitem>Setup &quot;Local Virtuoso&quot; DSN (note the empty space in the name!) in order to access any of the application URLs.
<itemizedlist mark="bullet" spacing="compact"><listitem>For windows users, please perform the following steps: <orderedlist spacing="compact"><listitem>Go to Start &gt;&gt; Settings &gt;&gt; Control Panel &gt;&gt; Administrative Tools &gt;&gt; Data Sources (ODBC) </listitem>
<listitem>Go to tab &quot;User DSN&quot; and click &quot;Add&quot; </listitem>
<listitem>Select the &quot;<ulink url="OpenLink">OpenLink</ulink> Virtuoso (version)&quot; driver and click &quot;Finish&quot; </listitem>
<listitem>Enter &quot;Name&quot;: Local Virtuoso</listitem>
<listitem>Enter &quot;Description&quot;: My Local Virtuoso</listitem>
<listitem>For &quot;Server&quot;, enter your Virtuoso&#39;s hostname and ISQL port, e.g., localhost:1116</listitem>
<listitem>Click &quot;Next&quot; </listitem>
<listitem>Enter a username for &quot;Login ID&quot;, e.g., dba</listitem>
<listitem>Enter the user&#39;s &quot;Password&quot;.
 For dba, the default password is dba</listitem>
<listitem>Click &quot;Next&quot; </listitem>
<listitem>Click &quot;Finish&quot;.
</listitem>
</orderedlist></listitem>
</itemizedlist></listitem>
<listitem>From ISQL execute: <programlisting>SQL&gt; DB.DBA.VAD_INSTALL(&#39;tmp/wordpress_fs.vad&#39;,0);
</programlisting> </listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">RDF View Scripts</bridgehead>
<orderedlist spacing="compact"><listitem>After you have installed the WordPress wordpress_fs.vad package, using ISQL execute the <ulink url="OdsIntegrationWordPress/WordPress_rdf_views_script.sql">WordPress_rdf_views_script.sql</ulink> file, which contains the RDF Views scripts for WordPress: <programlisting>isql localhost:1116 dba dba WordPress_rdf_views_script.sql
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem>You can also find the WordPress RDF Views scripts  <ulink url="VirtRDFViewWordpress">here</ulink>.</listitem>
</itemizedlist></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Configuration</bridgehead>
<orderedlist spacing="compact"><listitem>In case you want to change the dba password, you need to locate the file below in your FS and change the <emphasis>$wgDBpassword<emphasis /> value: <programlisting>vad\vsp\wordpress\wp-config.php
</programlisting></emphasis></listitem>
<listitem>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: <ulink url="http://host:port/wordpress">http://host:port/wordpress</ulink></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">URI Schemes</bridgehead>
 <programlisting>http://&lt;your-instance-cname&gt;/wordpress/user/&lt;ods-user-id&gt;
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Download</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>You can download the WordPress VAD package from <ulink url="http://download.openlinksw.com/packages/5.0/virtuoso/wordpress_fs.vad">here</ulink>.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2">References</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://wordpress.org/">WordPress</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">See Also</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="WordPressSIOCRef">WordPress SIOC Reference</ulink></listitem>
</itemizedlist><para><ulink url="CategoryBlog">CategoryBlog</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink> <ulink url="CategoryVirtuoso">CategoryVirtuoso</ulink> </para>
</section></docbook>