[Hpr] HPR Web Submission Form: Ready for first review

epicanis+hpr at dogphilosophy.net epicanis+hpr at dogphilosophy.net
Wed Apr 24 14:52:36 PDT 2013


Update: I just did that. The Atom entry file now looks something like what I have appended at the bottom. Instead of #WHATEVER#, I'm setting the "updated" date to the same as the "published" date, and I'm assuming hostID#0000, Episode#0000, and file sizes of 0. Obviously those'll need to be updated at feed time. (I also got rid of the extra [harmless but distracting] newlines that were previously in there.)

The files on the ftp server are now updated. I also put up a current copy of the two files at http://hpr.dogphilosophy.net/hprup.tar.gz for anyone who wants to look.

<entry>
    <id>http://hackerpublicradio.org/eps.php?id=0000</id>
    <title>This Is A Test</title>
    <updated>2013-04-24T23:41:21+02:00</updated>
    <published>2013-04-24T23:41:21+02:00</published>
    <author>
         <name>Epicanis</name>
         <uri>http://hackerpublicradio.org/correspondents.php?hostid=0000</uri>
         <email>epicanis+hpr at dogphilosophy.net</email>
    </author>

    <link href="http://hackerpublicradio.org/eps.php?id=0000" />
    <summary>This is another test upload.</summary>
    <link rel="enclosure" 
          type="audio/ogg; codecs=opus" 
          title="This Is A Test"
          href="http://hackerpublicradio.org/eps/hpr0000.opus"
          length="0" />
    <link rel="enclosure" 
          type="audio/ogg"
          title="This Is A Test"
          href="http://hackerpublicradio.org/eps/hpr0000.ogg"
          length="0" />
    <link rel="enclosure" 
          type="audio/ogg; codecs=speex"
          title="This Is A Test"
          href="http://hackerpublicradio.org/eps/hpr0000.spx"
          length="0" />
    <link rel="enclosure" 
          type="audio/mpeg"
          title="This Is A Test"
          href="http://hackerpublicradio.org/eps/hpr0000.mp3"
          length="0" />
    <content type="html">
      This is just another test upload. So far this seems to be working, but knowing my luck there'll be something <em>just</em> slightly too obscure hiding in my code.

We'll see. Right now I'm mainly just testing the Atom entry generation code.

    </content>
</entry>





More information about the Hpr mailing list