Support » Plugin: Postie » Formatting problem

  • Resolved iltrev

    (@iltrev)


    I am trying to use Postie to build up some sort of photoblog: what I want to do is just send from my iPhone empty e-mails, just containing a subject and a single picture each, to an e-mail address, and get them published on my Website.

    Everything seems to be working just fine, except for one issue: postie seems to forget to close a <div> it opens at the beginning of the text, so the footer of my post gets broken.

    Just to clarify, here is how every post gets formatted (please, bear in mind that this comes from an empty e-mail, just containing the picture and a – filtered out by Postie configuration – standard “Send from my iPhone” signature):

    (end of lines added by me)

    <div>  </div>
    <div>
    <div id="attachment_447" class="wp-caption alignleft" style="width: 300px;">
    <a rel="attachment wp-att-447" href="http://www.iltrev.it/?attachment_id=447"><img class="size-medium wp-image-447" title="photo4" alt="" src="http://www.iltrev.it/wp-content/uploads/2012/12/photo4-300x300.jpg" /> </a>
    <p class="wp-caption-text">
    </p>
    </div>
    <br />

    …As you can see, there are 3 open <div> and just 2 closing </div>.
    I don’t know if this comes from the iPhone badly formatting the e-mail or Postie not interpreting it correctly, but anyway, is there anything I can do to correct this behaviour?

    Thanks in advance,
    Marco

    http://wordpress.org/extend/plugins/postie/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    When I do the same thing you described I don’t get the extra <div>. Granted I didn’t use an iPhone as I don’t have one handy.

    Take a look at your Postie settings, specifically the “image template” to make sure there isn’t anything extra.

    You might also want to look at turning on the gallery feature.

    Thanks for addressing me in the right direction: I seem to have solved with a workaround, manually adding the extra </div> in the image template.

    I’m still trying to understand why this happens, but meanwhile this is a satisfying solution to my problem.

    Cheers,
    Marco

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Glad you found a way to make it work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Formatting problem’ is closed to new replies.