Saturday, July 10, 2010

JS-Blogger-Client: R-server Post

Progress today

Get Post2Blogger to work. My blog is at http://revolutionanalyticsalpha.blogspot.com/ The Blogger API may work on other systems such as WordPress. The way this works is that user should first log in to their Google Account, create at least 1 blog. Clicking "Post2Blog" button, the content in the output window will show up as a new blog entry. Blogger allows comments and social network integration. 

Note that the first time the user opens this window, it will be redirected to the google login page. This is to allow the PostToBlogger function to work. See http://code.google.com/apis/blogger/docs/2.0/developers_guide_js.html


Another big problem is that images returned by R are temporary, and will be deleted after the session is closed. You can see the image on the blog while the session is alive. But as soon as it's closed, the figures are gone and cannot be retrieved.

Solutions

1. To copy the images to a permanent location (Picasa, etc.) as part of the blog posting process. A possible API to move/rename figures/files??

2. Allow some images to be stored permanently on the R server. 

No comments:

Post a Comment