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.

Posterous

June 09, 2009 10:10am

Subscribe [11]
  • #16 / Dec 17, 2009 2:27pm

    TheNewPollution

    4 posts

    Does anyone know if there are some more comprehensive instructions on how to do this?

  • #17 / Dec 21, 2009 3:05pm

    melissajc

    88 posts

    I think something has changed as well? 

    I’m not having any joy! :(

    I did the following:
    - installed the Metaweblog API
    - copied and pasted the URL it supplied me into Posterous - made sure url had ID of 2 (since that is the blog I want to post to)
    - When I click submit, I get: “We were not able to authenticate this account. Reason: Wrong content-type (received ‘text/html’ but expected ‘text/xml’): “

    ——————-

    Does anyone have it working right now?

  • #18 / Dec 21, 2009 5:29pm

    melissajc

    88 posts

    Not sure if this will help anyone, but I had to create an RSD file and put it at the root of my site.  Something like:

    <?xml version="1.0" ?> 
     <rsd version="1.0" >
        <service>
            <engineName>ExpressionEngine CMS</engineName> 
            <engineLink>http://www.mysite.com/ee/</engineLink>
            <homePageLink>http://www.mysite.com/</homePageLink>
            <apis>
                    <api name="MetaWeblog" preferred="true" apiLink="http://www.yoursite.com/?ACT=99&id=99" blogID="NUMBER" >
            </apis>
        </service>
     </rsd>

    changing the apiLink to the link that the MetaWeblogAPI gives you and the blogID with the number for the blog you want to post to. 

    Then in the head of the main index file, call the RSD file like:

    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.mysite.com/rsdfilelocation" />

    posterous has now accepted the Blog as an autopost option.  Hopefully that will help someone.  This post turned me on to this idea.

  • #19 / Dec 22, 2009 3:36am

    Morg

    3 posts

    That’s great. Thank you very much for sharing!!
    Will give it a bash soonest!

  • #20 / Jan 02, 2010 6:52pm

    I gave melissajc’s advice a try and am now able to post from Posterous to a weblog.

    By the way, in case it is helpful for others, here were points along the way

    1) I actually created a new ‘non-default’ Metaweblog configuration in EE, called “Posterous” which incremented the ACT string ... “ACT=20&id=2”
    2) I named the RSD file http://mydomain.tld/rsd.xml
    3) To configure the fields, click on the Name/Edit field to choose which Posterous field will map to which EE field name. (I actually missed this, so just sharing my newbie-ness 😉
    3) In Posterous, I chose the ‘Other Blog’ option, then used URL for my site (not the Metaweblog URL) ... and my normal login credentials to the CMS
    4) I used MarsEdit (Mac only) to check connections…if that can connect, then Posterous should too (MarsEdit offers more config options for testing)
    4) Posterous initially returned an error “Expected type=XML, Got type=HTML” but then settled down and connected.

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

ExpressionEngine News!

#eecms, #events, #releases