From LifeType Wiki
Contents |
Introduction
LifeType 1.0 implements the Blogger and metaWeblog XMLRPC API that allows for posting from your desktop or even from sites like Flickr. The following methods are supported:
- blogger.newPost
- blogger.getUserInfo
- blogger.getPost
- blogger.editPost
- blogger.deletePost
- blogger.getRecentPosts
- blogger.getUserInfo
- blogger.getUsersBlogs
- metaWeblog.newPost
- metaWeblog.editPost
- metaWeblog.getPost
- metaWeblog.getRecentPosts
- metaWeblog.getCategories
- metaWeblog.newMediaObject
Whenever possible, it is advisable to use the metaWeblog API since it is a bit more powerful and allows for cool things such as file uploads and multiple categories per post.
Sending pictures to our blog
When using the metaWeblog API, it is possible to upload pictures from our XMLRPC client to our blog. Pictures (or any other kind of attachment) will be added to our blog as resources and they will appear in the Resource center. The only limitation is that at the moment it is not possible to choose to which album they are added (and there is no possibility to define that in the XMLRPC client either) so LifeType will choose the first one of all.
Posting from w.Bloggar
tbd
tbd
tbd
tbd
tbd
tbd
tbd
tbd
Posting from Ecto
Click the button to add a new account from the 'Accounts' window:
A wizard will guide you through the process of adding a new blog to your list. The first step will ask you to provide the address of your blog:
The following step consists of providing ecto with the endpoint. The endpoint is the place where ecto (or any other xmlrpc client) will send the requests to add posts, delete posts, etc. In the case of LifeType, that endpoint will always be xmlrpc.php. It is also advisable to select metaWeblog as our preferred API since that will allow us to use more than one category per post, upload pictures, etc:
Next, we need to provide our username and password:
And also a name or description for this connection (ecto allows to configure more than one connection to the same or different blogs):
We can also optionally tell ecto to ping weblogs.com for us, since this does not happen automatically when accessing our blog via XMLRPC:
If everything went well, we should now see a new window listing all our posts and a sliding sheet on either side with our new blog configured:
In order to add a new post, all we have to do is click the "New" button in the menu bar. A new window will appear, that will allow us to type the contents of our new post. Ecto allows to save posts as drafts but drafted posts are not kept in LifeType as drafts but only in ecto.
In order to upload pictures, all we need to do is use the Import from iPhoto option from the Draft menu. A new window will appear where we will be able to choose any picture from our iPhoto collection:
Once we have selected one, ecto will automatically add a thumbnail to our current post. Please keep in mind that the thumbnail will also be added as a resource to the resource center.
Posting from Flickr
Even though Flickr is a site where we can store our picture gallerys, it also features an implementation of the Blogger and metaWeblog XMLRPC APIs that allows to easily post pictures from Flickr to any LifeType blog.
- In order to post from Flickr, you should to Your Account, scroll down until Blogging and click the Your blogs link.
- If you haven't got any blog, then you should see a link called Set up a new blog:
- Now we need to choose a blog type. Since LifeType is not availalbe in the list, we should select metaWeblog API Enabled Blog:
- In the next step we need to provide Flickr with the address of the entry point as well as our LifeType username and password. The entry point will always be the address of your blog plus xmlrpc.php:
- At this point, Flickr will use the information provided in the previous step to contact our blog and try to retrieve some information from it. If everything went fine, it will ask us to confirm the information and it will also show the name of the blog. If you would like Flickr to store your password so that you don't have to type it every time, click the Store password checkbox.
- Now that our blog has been configured, we will need to click the Blog this icon on the left of each one of our pictures in order to publish this picture in our blog.
- Now that we have selected a picture to post to our blog, it is time to provide a topic and some text for our post. It is not possible to select under which category the post is going to be categorized so LifeType will choose the first one available. Also, keep in mind that the picture will not be transferred to our blog as a resource but instead, Flickr will include a link to the picture at the top of the post. Once we are happy with the picture and the post, click the Post Entry button.
- If everything went well, we will see a confirmation from Flickr:

























