jesse-gallagher / frostillic.us-Blog

http://frostillic.us
Apache License 2.0
8 stars 0 forks source link

Support draft posts from MarsEdit #19

Closed jesse-gallagher closed 5 years ago

jesse-gallagher commented 5 years ago

POST content from MarsEdit looks like:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<entry xmlns="http://www.w3.org/2005/Atom">
    <title type="text"><![CDATA[Draft 2]]></title>
    <summary type="html" xml:space="preserve"><![CDATA[]]></summary>
    <content type="html" xml:space="preserve"><![CDATA[sdfsdf]]></content>
    <app:control xmlns:app="http://www.w3.org/2007/app">
        <app:draft>yes</app:draft>
    </app:control>
    <generator url="https://red-sweater.com/marsedit/">MarsEdit</generator>
</entry>