%VOSWARNING%
%META:TOPICINFO{author="RumiTsekova" date="1167820538" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="ODSWeblog"}%
---++ODS Weblog Programmers Guide Web Services
%TOC%
---+++Upstreams
---++++What is upstreaming?
Upstreaming keeps your blogs synchronized amongst your various blog sites, should you have more than one. This allows you to maintain all of your blogging centrally, and then upstream portions to appropriate servers based on whether they are private, public or for your organization or of various topics.
Upstreaming is how you enable OpenLink Virtuoso to automatically route blog posts to other blogs that you may own, the only requirement is that these blog systems support any one of the following blog post APIs: Atom, Blogger, Meta-Weblog, or Moveable Type. This also implies that you can use a single Blog Post Client (w.Bloggar, Newzcrawler, Zempt, and others) to post to several blogs.
---++++Configuration
Upstreaming can be configured in Settings -> Upstreams.
The form for adding or changing existing upstream contains following fields:
|*Name*|*Description*|*Default Values*|
|Endpoint |Is the XML-RPC/SOAP endpoint that support SOAP based blogger API for your blog site. For OpenLink Virtuoso servers the endpoint typically ends with /RPC2, but this is configurable.||
|User/Password |The credentials required for accessing your blog site.||
|API Type |The Blog API system type. One of: Atom, Blogger, MetaWebLog or Moveable Type||
|BlogID|The system ID for your blog account on the server. This is rarely known so the Fetch button can be used to obtain it once the above information has been provided.||
|Exclude |Is an exception list to remove categories from this upstream entry.||
---++++Upstreaming Log
Upstreaming log can be viewed in Settings -> Upstreaming Log.
1. Here you can view the posts as:
* All
* Pending
* Skipped
* Error
1. For each post you can perform action Reset or to Delete it.
---++++Simple example:
Note: At myopenlink.net:8890/ods :
1. There is an user test1 with pwd 1 registered.
1. User test1 is an owner of the "test1's Weblog" instance.
1. Install ODS and Weblog packages.
1. Login at http://host:port/ods
1. Go to Weblog from the ODS main vertical left navigation.
1. Go to "New Post" and enter some data for title and body:
*
1. Click the "Post" button.
1. As result the post will be created.
1. Go to Settings->Upstreams.
1. Enter in the shown form:
1. For field "Hostname:" myopenlink.net
1. For field "Port": 8890
1. For field "Endpoint": /RPC2
1. For field "Username": test1
1. For field "Password": 1
1. For field "Retype password": 1
1. For field "Frequency": 1
1. Select "API Type": Movable Type
*
1. Click the button "Fetch"
*
1. Click the "Select" button for the Blog with name "test1's Weblog".
1. Click the "Add" button.
1. As result the upstream will be created.
*
1. Now you can make a new post or for the existing one to post a comment by clicking its "Comment" link:
*
1. Go to Settings->Upstreaming Log
1. As result will be shown the 2 posts one with state "Sent", the other with state "Pending".
*
1. Go to http://myopenlink.net.8890/ods
1. Log in as user test1 with password 1
1. Go to Weblog
1. As result our first post with title "My Upstream test" will be shown within the rest of the posts for this Weblog.
*
---+++Supported Protocols and APIs
---++++Atom Publishing Protocol 1.0 (SOAP)
* [[ODSWeblogUpstreaming][ODS Weblog Upstreaming using Atom Protocol]]
---++++Moveable Type (XML-RPC)
* [[ODSWeblogMovableTypeAPI][ODS Weblog Moveable Type API]]
---++++Meta Weblog (XML-RPC)
* [[ODSWeblogMetaWeblogAPI][ODS Weblog Meta Weblog (XML-RPC) API]]
---++++Blogger
* [[ODSWeblogBloggerAPI][ODS Weblog Blogger API]]
CategoryBlog CategoryODS CategoryOdsWeblog CategoryApplicationServices CategoryProgrammersGuide CategoryWebService CategoryToBeDone