ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Marsedit failed post

January 20, 2011 12:38am

Subscribe [4]
  • #1 / Jan 20, 2011 12:38am

    Side Six

    37 posts

    Hi there.  I’m wrapping up my first ever installation of EE and it’s been pretty smooth.  I am in the process of trying to incorporate Marsedit.  It connects and downloads the existing articles.  When I write a post in Marsedit, the image gets put in my uploads folder just fine.  However, the writing is nowhere to be found.

    * I am working on EE 2.1.3 build 20101220.
    * My Metaweblog API is http://sidesix.org/aside/?ACT=20&id=1.
    * I have one channel.
    * The custom fields are post_excerpt, post_body, and keywords.
    * Each is set to the default textarea and the drop down fields below are populated.
    * I am using A2hosting.com to host the site and they are running the newest version of php. 
    * Marsedit is configured for System name: “Other”,  Metaweblog API.
    * The Metaweblog API endpoint URL is http://sidesix.org/aside/?ACT=20&id=1, blog ID is configured to 1.
    * I entered one custom field into Marsedit of “keywords.”
    * I am using Markdown when writing the post, but I have selected “before sending post encode with HTML” and text encoding is UTF-8.  Options panel is set to “defaults to last choice” and the post status is set to “draft.
    * On EE the Metaweblog API entry status is set to “Do Not Set Status Client Decides”
    * Marsedit version 3.1.5 (4046)

    </code></pre>
    The Marsedit Network log shows the following:

    Network message sent: 2011-01-19 17:41:02 -0800
    URL: http://sidesix.org/aside/?ACT=20&id=1
    Method name: metaWeblog.newPost
    Network reply received: 2011-01-19 17:41:03 -0800
    URL: http://sidesix.org/aside/?ACT=20&id=1
    Method name: metaWeblog.newPost
    Status code: 200
    Succeeded: YES
    Request text:

    <?xml version="1.0" encoding="utf-8"?>
    <methodCall>
        <methodName>metaWeblog.newPost</methodName>
        
            
                <value><string>1</string></value>
                </param>
            
                <value><string>groucho</string></value>
                </param>
            
                <value><string>[password]</string></value>
                </param>
            
                <value>
                <struct>
                <member>
                <name>custom_fields</name>
                <value>
                <array>
                <data>
                <value>
                <struct>
                <member>
                <name>key</name>
                <value><string>keywords</string></value>
                </member>
                <member>
                <name>value</name>
                <value><string>Angry Birds, addiction, cocaine, iPad</string></value>
                </member>
                </struct>
                </value>
                </data>
                </array>
                </value>
                </member>
                <member>
                <name>flNotOnHomePage</name>
                <value><boolean>0</boolean></value>
                </member>
                <member>
                <name>title</name>
                <value><string>Angry Birds</string></value>
                </member>
                <member>
                <name>categories</name>
                <value>
                <array>
                <data>
                <value><string>Software</string></value>
                </data>
                </array>
                </value>
                </member>
                <member>
                <name>description</name>
                <value><string>You know, I always thought that cocaine was addictive.  And then I made the mistake of downloading Angry Birds onto my iPad.  As far as games go, Angry Birds is as simple and as intuitive as snorting lines off a mirror.  
    
    Rest of post is here, then:
    
    /string></value>
                </member>
                </struct>
                </value>
                </param>
            
                <value><boolean>1</boolean></value>
                </param>
            </params>
        </methodCall>

    Response text:

    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
    
    
    <value>
    <string>Array</string>
    </value>
    </param>
    </params>
    </methodResponse>


    Network message sent: 2011-01-19 17:41:03 -0800
    URL: http://sidesix.org/aside/?ACT=20&id=1
    Method name: metaWeblog.getPost
    Network reply received: 2011-01-19 17:41:03 -0800
    URL: http://sidesix.org/aside/?ACT=20&id=1
    Method name: metaWeblog.getPost
    Status code: 200
    Succeeded: NO
    —Fault Error—
    Fault code: 805
    Fault string: No Entries Found
    Request text:
    <?xml version=“1.0” encoding=“utf-8”?>
    <methodCall>
      <methodName>metaWeblog.getPost</methodName>
     
         
            <value><string>Array</string></value>
            </param>
         
            <value><string>groucho</string></value>
            </param>
         
            <value><string>[password]</string></value>
            </param>
          </params>
      </methodCall>

    Response text:
    <?xml version=“1.0” encoding=“UTF-8”?>
    <methodResponse>
    <fault>
      <value>
          <struct>
            <member>
              <name>faultCode</name>
              <value><int>805</int></value>
            </member>
            <member>
              <name>faultString</name>
              <value><string>No Entries Found</string></value>
            </member>
          </struct>
      </value>
    </fault>
    </methodResponse>


    I’ve probably forgotten to set something?  I hope it’s an easy and obvious fix.  Whatever I love to learn.  Hope you can help. 

    Thank you!  Dan Avery

  • #2 / Jan 20, 2011 9:48am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, Dan!

    Since you’re new to the EE forums, have you seen EEWiki:// How to Post a Support Request?

    Thanks for providing your version number.

    There are some known issues with MarsEdit and EE2.1.3. But those have to do with categories being lost.

    See the attached screen shot. This is what I have on one of my test sites, and it does post OK (but without the categories.)

    The other screen shot is from MarsEdit.

    How do your settings differ?

  • #3 / Jan 20, 2011 10:30am

    Side Six

    37 posts

    Hi Sue,

    Thanks for pointing out the how to submit doc.  I apologize for not seeing it before.  Thanks for the screen shots. 

    Marsedit: Aside from the blog and and homepage url, our settings are the same except for the endpoint url but that gets assigned at install.  I have uninstalled and installed it by the way.

    The other shot was of your moblog settings.  I don’t have that installed.  I’m using Metaweblog API.  I’ve attached a screenshot of my settings.  Should I be using moblog?

  • #4 / Jan 20, 2011 5:32pm

    Sue Crocker

    26054 posts

    Hi, Bob. It doesn’t matter which channel you use, as long as you have a custom field that is a textarea field.

    No you should be using MetaWeblogAPI.. I grabbed the wrong screen shot when posting. My apologies.

    What I did notice is that you aren’t specifically setting the status. I always set it to something.. even if it is closed.

  • #5 / Jan 20, 2011 5:33pm

    Sue Crocker

    26054 posts

    Hi, Bob. It doesn’t matter which channel you use, as long as you have a custom field that is a textarea field.

    No you should be using MetaWeblogAPI.. I grabbed the wrong screen shot when posting. My apologies.

    What I did notice is that you aren’t specifically setting the status. I always set it to something.. even if it is closed.

  • #6 / Jan 21, 2011 12:27am

    Side Six

    37 posts

    Hi Sue,

    I’ve tried posting now with every available status but nothing goes through. 

    By the way, my signature is a quote from Bob Dylan.  My name is Dan.

  • #7 / Jan 21, 2011 3:04pm

    Sue Crocker

    26054 posts

    Dan, have you tried to just put in a post without an image?

  • #8 / Jan 22, 2011 3:29am

    Side Six

    37 posts

    HI Sue,

    Yes I have.  Several times.  Anywhere from using one sentence like: this is a test post from marsedit, all the way up to three paragraphs of lorum ipsum.  I have it set up in textexpander so I have tried all combinations of just a couple of sentences to one, two and three paragraphs.  Have tried every thing I can think of really.

  • #9 / Jan 23, 2011 4:18am

    Side Six

    37 posts

    So any other ideas of what it could be?  Driving me nuts here.  Unless it’s just a confict between the two programs, EE and Marsedit.

  • #10 / Jan 24, 2011 2:58am

    John Henry Donovan

    12339 posts

    Dan,

    I’ll wait for Sue to come back here as she has the best MarsEdit local testing set-up, but I have another related question.

    Do you have any third-party add-ons installed?
    Was this a fresh install or an upgrade from a previous build or version of EE?

  • #11 / Jan 24, 2011 10:26am

    Sue Crocker

    26054 posts

    I just noticed I’m running 3.1.2 of MarsEdit. Upgrading now to see what happens. Thanks in advance for your patience.

  • #12 / Jan 24, 2011 10:43am

    Sue Crocker

    26054 posts

    Dan: Check your email in a few minutes.

  • #13 / Jan 24, 2011 3:27pm

    Side Six

    37 posts

    Thanks, Sue!  Got it.  Appreciate all the help.

  • #14 / Jan 25, 2011 9:34am

    Sue Crocker

    26054 posts

    Dan, you should be getting another email. We need the login details for the ExpressionEngine control panel.

  • #15 / Jan 25, 2011 12:35pm

    Side Six

    37 posts

    got it Sue, just replied.  Sorry for the confusion.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases