<docbook><section><title>VirtFeedPubSubHub</title><title> Feed subscription via PubSubHub Protocol</title> Feed subscription via <ulink url="PubSubHub">PubSubHub</ulink> Protocol
<para>The following demonstrates how the <ulink url="PubSubHub">PubSubHub</ulink> (PSH) Protocol can be used to make push subscription to an Atom or RSS feed.</para>
<para>Before performing any of these steps, read about the <ulink url="VirtPubSubHub">Virtuoso PubSubHub implementation</ulink>, and make sure pubsubhub_dav.vad is installed.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Example Steps</bridgehead>
<orderedlist spacing="compact"><listitem>Initially we create a blog instance and do some posts.
<figure><graphic fileref="VirtFeedPubSubHub/step1.png" /></figure> </listitem>
<listitem>Next we subscribe using PSH generic client subscription UI: <figure><graphic fileref="VirtFeedPubSubHub/step2.png" /></figure> </listitem>
<listitem>If subscription succeeds, we should see a Success message; otherwise, a trace for the error.
<figure><graphic fileref="VirtFeedPubSubHub/step3.png" /></figure> </listitem>
<listitem>In Feed Manager UI, we register the feed in order to see its content.
<figure><graphic fileref="VirtFeedPubSubHub/step4.png" /></figure> </listitem>
<listitem>Then we add one new post to the blog: <figure><graphic fileref="VirtFeedPubSubHub/step5.png" /></figure> </listitem>
<listitem>Using generic publish client UI, we tell PSH there are changes; if all publishing is done we should see success message: <figure><graphic fileref="VirtFeedPubSubHub/step6.png" /></figure> </listitem>
<listitem>We check the feed subscription using feed manager, which in our case is used to display the feed.
 Now we can see new post is pushed into the subscription.
<figure><graphic fileref="VirtFeedPubSubHub/step7.png" /></figure></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> Conclusion</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>ODS-Feed Manager has an option to subscribe to push notifications using PSH protocol.
 Thus when subscribing it could subscribe to Hub.
 To know that it should inspect feed to see &lt;link rel=&quot;hub&quot; href=&quot;...&quot; . For demo purposes, this has been divided into two separate steps.
</listitem>
<listitem>If ODS-Weblog knows there is a hub configured, it can present a link by which the hub can be accessed for push subscription </listitem>
<listitem>ODS-Weblog changes to publish to hub automatically.
 Publishing is shown here as two separate steps for purposes of explanation of the protocol.</listitem>
</itemizedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtODSPubSubHub">Setting up PubSubHub in ODS</ulink> </listitem>
<listitem><ulink url="VirtPubSubHub">PubSubHubBub Demo Client Example</ulink> </listitem>
<listitem><ulink url="VirtPubSubHubACL">Setting Up PubSubHub to use WebID Protocol or IP based control lists</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSPARQLSSL">Creating and Using a SPARQL-SSL based Endpoint</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtAuthServerUI">Set WebID Protocol ACLs using the Virtuoso Authentication Server UI</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtAuthFOAFSSLACL">WebID Protocol ACLs Tutorial</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtOAuthSPARQL">SPARQL OAuth Tutorial</ulink> </listitem>
<listitem><ulink url="VirtODSFOAFSSL">WebID Protocol Support in OpenLink Data Spaces</ulink> </listitem>
<listitem><ulink url="ODSPkiSetup">Guide to Setting up a X.509 certificate issuer and HTTPS listener and Generating ODS user certificates</ulink> </listitem>
<listitem><ulink url="OdsKeyImport">CA Keys Import using Conductor</ulink> </listitem>
<listitem><ulink url="ODSGenerateX509Certificate">Generate an X.509 Certificate hosted WebID Guide</ulink> </listitem>
<listitem><ulink url="ODSBriefcaseFOAFSSLShareFile">ODS Briefcase WebID Protocol Share File Guide</ulink> </listitem>
<listitem><ulink url="http://esw.w3.org/topic/foaf+ssl">WebID Protocol Specification</ulink> </listitem>
<listitem><ulink url="https://foaf.me/simpleLogin.php">Test WebID Protocol Certificate page</ulink> </listitem>
<listitem><ulink url="http://test.foafssl.org/cert/">WebID Protocol Certificate Generation page</ulink> </listitem>
<listitem><ulink url="https://demo.openlinksw.com/sparql-ssl">Virtuoso Demo SPARQL-SSL Endpoint</ulink> </listitem>
</itemizedlist></section></docbook>