WordPress.org

Ready to get started?Download WordPress

Forums

Postie
[resolved] Is there a way to remove ":" as a category qualifier? (8 posts)

  1. benchwarmer
    Member
    Posted 1 year ago #

    I'm running into a bit of a problem, more like an annoyance, because Postie treats anything in the subject line before a : as a category, so I can't use colons in my subject lines when I send an email.

    I'm using a mailman listserv to send messages to subscribers, one of the subscribers is a dedicated email address for Postie (which captures the email and posts it for non-subscribers to read online). Mailman uses subject headers with [ ] brackets, which Postie also recognizes. So usually a post will come through fine, Postie will strip out the list name from the email subject line (enclosed in [ ]) which becomes the category. The remaining text in the subject line becomes the blog post title.

    However, if the subject line of the email has a colon in it too, postie uses the text before the : as the category (which generally produces a "uncategorized" result in WordPress) and what's left after the colon becomes the blog title. I think this is a Postie feature that allows you to add more than one category to a post, but for me it's just causing issues.

    Does anyone know if you can disable the colon as a qualifier for categories? I couldn't even find the condition statement in the PHP, but perhaps I'm looking in the wrong file.

    Thanks.

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

  2. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    I've fixed this in the next version. Just have to track down a couple more issues before releasing it.

  3. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in 1.4.11

  4. benchwarmer
    Member
    Posted 1 year ago #

    Sweet Wayne! Thank you for doing this.

    Now I can stop bitching at people when they send emails with colons. ;-)

  5. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome

  6. benchwarmer
    Member
    Posted 1 year ago #

    Hi Wayne,

    We were all out on break for the last week + so I didn't have an opportunity to run something through Postie with a colon to test this out. At least for my purposes, it seems to break Postie's ability to categorize the post.

    This is an actual post on our news site:
    [Sponsored Projects] Changes to the NIH Public Access Policy and the Implications to Awards: Webinar – January 15, 2013

    What you see is the list name from Maliman in [], which prior to the fix Postie identified as the Category, even if there was a colon present (though it did truncate the blog entry title as we previously discussed). Now if there is colon, it does preserve the blog entry title after the colon, but no longer sees the text within the [] as the category and instead posts the entire subject line (including the brackets which used to not appear) and marks it as uncategorized. I'm not sure what it now thinks the category is.

    I imagine your fix helped others with the colon issue, but it's created a new problem for me. Any suggestions? Should I just go back to avoiding colons?

    Thanks!

  7. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    I'll take a look

  8. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    I found the issue. A bit tricky, but it works in 1.4.15

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic