You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Peter Evans <pe...@ixp.jp> on 2011/04/06 05:02:56 UTC

rc5 versus windows live writer

Note: could be pilot error, the pilot doesn't know what he is doing.

1 - installed windows live writer 2011 (this is W7)
2 - added a blog account, let it decide what it was.
    under pictures in Blog options, "blog service"

Capability
Y    post draft to server
Y    file upload
N    extended entries
Y    custom publish date
Y    update publish date
Y    categories
Y    categories inline
Y    multiple categories
N    hierarchical categories
N    new categories
N    new categories inline
-    category scheme
N    keywords
N    keyword retrieval
N    comment policy
N    trackback policy
N    author
N    slug
N    password
N    excerpt
N    send trackbacks
N    pages
N    page parent
N    page order
Y    HTML titles
Y    Empty titles
?    scripts
?    embeds

Normal    Default View
utf-8    Encoding

N    requires XHTML
N    template is right-to-left
-    category name limit
Y    auto-update
-    title length limit

3 - create a simple post "test"  OK

4 - try to create a post with an image
        post creates ok, with a place holder for the image, but I see no 
image.
        And this is where it might be pilot error, looking in the access log 
I see no attempt to upload an image
    (it's 155kb) All I see are a few

"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:29 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 408
"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 866
"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 1607
"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 411
"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:35:07 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 411
"127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:49:41 +0900" "POST 
/roller/roller-services/xmlrpc HTTP/1.1" 200 411

    how does image upload work?

5 - additionally, if you try to republish something.

Server Error 0 Occurred

Failed to invoke method editPost in class 
org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler: 0

    maybe that is also "pilot is an idiot and shouldn't even be allowed to 
fly a toy train set."

    P





Re: rc5 versus windows live writer

Posted by Dave <sn...@gmail.com>.
On Wed, Apr 6, 2011 at 3:26 AM, Peter Evans <pe...@ixp.jp> wrote:
> I just realized, I tested Live Writer with AtomPub and not MetaWeblog, so
> please try AtomPub instead and I'll try LW with MetaWeblog and see if I can
> reproduce those errors.
>
>   Not actually sure how to do that. There's no "use atompub" switch that I
> can find.
>
>   I can't disable blogger / metaweblog API because WLW blows up with
>
>   "Can't connect to your blog service:
>   problem with the blog server - server error 0 occurred
>   weblog does not exist or XML-RPC disabled in web.
>   Please try fixing the problem and then try again"
>
>   There doesn't appear to be a difference in the capabilities according to
> WLW whether
>   or not I have "Enable Atom Publishing Protocol" on or not.
>
>   If I turn off "weblog client api" for that blog, then it will ask me for a
>   http://<atom-service-doc>
>   If I feed in http://mysite/roller/roller-services/app
>   it tells me I have two blogs,  one and / mediafiles (I selected the first
> one)
>   attempting to publish an image causes WLW to throw a wobbly saying it
> can't do that.
>
>   did I do something wrong?
>
> WindowsLiveWriter,1.5864,Fail,00086,06-Apr-2011
> 16:16:12.770,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientFileUploadNotSupportedException:
> File Upload Not Supported - File uploading is not supported by this blog.
> Please configure file uploading for this blog before attempting to publish
> posts with attached pictures or files.
>  at
> WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.PostNewImage(String
> path, Boolean allowWriteStreamBuffering, String& srcUrl, String&
> editMediaUri, String& editEntryUri)
>  at
> WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.DoBeforePublishUploadWork(IFileUploadContext
> uploadContext)

I found (and will fix) two problems with the MetaWeblog API in Roller:

   MetaWeblog API post without categories won't work
   https://issues.apache.org/jira/browse/ROL-1923

   MetaWeblog API file upload broken
   https://issues.apache.org/jira/browse/ROL-1924

Once I fixed those problems, I was able to post with Windows Live Writer.

Thanks,
- Dave

Re: rc5 versus windows live writer

Posted by Peter Evans <pe...@ixp.jp>.
I just realized, I tested Live Writer with AtomPub and not MetaWeblog, so please 
try AtomPub instead and I'll try LW with MetaWeblog and see if I can reproduce 
those errors.

    Not actually sure how to do that. There's no "use atompub" switch that I can 
find.

    I can't disable blogger / metaweblog API because WLW blows up with

    "Can't connect to your blog service:
    problem with the blog server - server error 0 occurred
    weblog does not exist or XML-RPC disabled in web.
    Please try fixing the problem and then try again"

    There doesn't appear to be a difference in the capabilities according to WLW 
whether
    or not I have "Enable Atom Publishing Protocol" on or not.

    If I turn off "weblog client api" for that blog, then it will ask me for a
    http://<atom-service-doc>
    If I feed in http://mysite/roller/roller-services/app
    it tells me I have two blogs,  one and / mediafiles (I selected the first 
one)
    attempting to publish an image causes WLW to throw a wobbly saying it can't 
do that.

    did I do something wrong?

WindowsLiveWriter,1.5864,Fail,00086,06-Apr-2011 
16:16:12.770,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientFileUploadNotSupportedException: 
File Upload Not Supported - File uploading is not supported by this blog. Please 
configure file uploading for this blog before attempting to publish posts with 
attached pictures or files.
   at 
WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.PostNewImage(String 
path, Boolean allowWriteStreamBuffering, String& srcUrl, String& editMediaUri, 
String& editEntryUri)
   at 
WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.DoBeforePublishUploadWork(IFileUploadContext 
uploadContext)




Re: rc5 versus windows live writer

Posted by David Johnson <sn...@gmail.com>.
I just realized, I tested Live Writer with AtomPub and not MetaWeblog, so please try AtomPub instead and I'll try LW with MetaWeblog and see if I can reproduce those errors. 

Thanks,
- Dave



Sent from my iPad

On Apr 5, 2011, at 11:02 PM, "Peter Evans" <pe...@ixp.jp> wrote:

> Note: could be pilot error, the pilot doesn't know what he is doing.
> 
> 1 - installed windows live writer 2011 (this is W7)
> 2 - added a blog account, let it decide what it was.
>   under pictures in Blog options, "blog service"
> 
> Capability
> Y    post draft to server
> Y    file upload
> N    extended entries
> Y    custom publish date
> Y    update publish date
> Y    categories
> Y    categories inline
> Y    multiple categories
> N    hierarchical categories
> N    new categories
> N    new categories inline
> -    category scheme
> N    keywords
> N    keyword retrieval
> N    comment policy
> N    trackback policy
> N    author
> N    slug
> N    password
> N    excerpt
> N    send trackbacks
> N    pages
> N    page parent
> N    page order
> Y    HTML titles
> Y    Empty titles
> ?    scripts
> ?    embeds
> 
> Normal    Default View
> utf-8    Encoding
> 
> N    requires XHTML
> N    template is right-to-left
> -    category name limit
> Y    auto-update
> -    title length limit
> 
> 3 - create a simple post "test"  OK
> 
> 4 - try to create a post with an image
>       post creates ok, with a place holder for the image, but I see no image.
>       And this is where it might be pilot error, looking in the access log I see no attempt to upload an image
>   (it's 155kb) All I see are a few
> 
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:29 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 408
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 866
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 1607
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:34:47 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 411
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:35:07 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 411
> "127.0.0.1" "NULL-AUTH-USER" "06/Apr/2011:11:49:41 +0900" "POST /roller/roller-services/xmlrpc HTTP/1.1" 200 411
> 
>   how does image upload work?
> 
> 5 - additionally, if you try to republish something.
> 
> Server Error 0 Occurred
> 
> Failed to invoke method editPost in class org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler: 0
> 
>   maybe that is also "pilot is an idiot and shouldn't even be allowed to fly a toy train set."
> 
>   P
> 
> 
> 
>