Problem with Save as Draft Fixed

About a month ago, I released a new Save as Draft feature for my blog software. It allows me to save my posts before I’m finished with them.

I originally implemented this feature by adding a <draft> tag to the posts in the XML file. As it turns out, that made my files invalid RSS 2.0. To properly extend RSS, you need to use a namespace.

I’ve updated the code in my blog so that all of the tags are a properly defined <apejetblog:draft>. Once I’m comfortable with these changes (and have a little spare time), I’ll release the changes publicly.

One Response to “Problem with Save as Draft Fixed”

  1. Karen Says:

    Hi,
    I just wanted to let you know that I found your apejet blog script awhile back and I have hacked it a bit and integrated it with my cms software MyGenesis! CMS. I’ve been working on it for about 1 year, still working on it, you can see it in action in my testing model at http://www.mylawweb.com/cgi-bin/myweb/index.pl
    login with demo for both user/pass, then click on Blog Manager.

    It works very well, accept the Drafts does not work and the rss does not validate (due to the CDATA maybe?) So I found your blog about the drafts and CDATA and was wondering if you could clue me in on how to fix these 2 items.

    Thanks for the great script! I look forward to hearing back from you.

Leave a Reply