• Resolved Camel.Red

    (@camelred)


    This plugin looks very nice. I tested it a bit, and it does as advertised.

    My WP blog is set up to use markdown for posts instead of html. When postie grabs markdown that I have emailed, it doesn’t format it quite right, and the quotations get munged and tied all together in a single line for each “>” markdown indicator. (“>” not counting the quotes indicates a citation in markdown.

    What I would really like to see is the ability for postie to properly process markdown without changing it at all. If I email markdown formatted text to the postie address, I don’t want one byte to be changed. I want the markdown to be passed to wordpress exactly as is, line breaks, carriage returns, and all, without any formatting or tag correction applied. And I would like to be able to have postie iterate through files in a folder on my web host, and process those markdown files into posts, either discarding them when processed, or changing the filename extension to something postie would ignore. Then I could just upload a whole bunch of markdown text files to a folder via ftp, and forget about it while postie grabs them and posts them according to a schedule.

    Lots of people are moving from wordpress to other platforms because of the speed and efficiency of writing with markdown files in a native text editor. I see in postie a doorway to starndardizing flat file support for wordpress, without complicated, needless attempts move away from the database backend. Personally, I would rather never, ever use neither the wordpress import posts feature nor the wordpress post editor ever again.

    I would code it myself, but I just don’t know enough about wordpress functions and hooks to do it. It would take me a year of Sundays to figure all that out.

    https://www.ads-software.com/plugins/postie/

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

    (@wayneallen-1)

    Make sure the “Filter newlines” setting is “No” to ensure your markdown comes through without changes.

    Just out of curiosity which markdown plugin are you using?

    Postie isn’t designed to schedule posts, although there are plenty of plugins that do this function.

    I’d suggest that you write a script that reads the files in a local directory and sends an email of your markdown content to your Postie email address. Should be pretty straightforward PHP script and you don’t need to know anything about WordPress.

    Thread Starter Camel.Red

    (@camelred)

    I have the filter newlines set to “No.” I am using the Parsedown plugin for markdown. A script to grab the files and email them is a good idea. That way I would not have to study all the functions and hooks inside WordPress. I will have to take a look.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Please send a sample email with markdown content to [email protected] so I can verify a few things.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Sorry, this slipped below my radar.

    Are you using https://www.ads-software.com/plugins/parsedown-wp/

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Assuming it is I got everything to work fine. See https://screencast.com/t/s6GLLbJPLh

    However, if you use the visual editor it will destroy your markdown.

    Preferred Text Type: plain
    Filter newlines: No
    Replace newline characters with html line breaks: No
    Automatically convert urls to links: No

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature Suggestion – Markdown Support – Autopost from .txt/.md files in folder’ is closed to new replies.