Chris Schmidt (crschmidt) wrote,
Chris Schmidt
crschmidt

Testing atom...

So, earlier, rho was asking me if I knew of a way to post via the atom protocol. the client base seems relatively non existant. So, I'm testing, and in the progress, I'm learning the atom protocol. I still think it's goofy that a syndication format defines an API, but that's just me.



1 1 crschmidt@peanut ~]$ lwp-request -m POST -a http://www.livejournal.com/interface/atomapi/crschmidt/post
Please enter content (application/x-www-form-urlencoded) to be POSTed:
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<title>Testing atom...</title>
<created>2005-01-23T05:14:03Z</created>
<content type="application/xhtml+xml" xml:lang="en">
<div xmlns="http://www.w3.org/1999/xhtml">So, earlier, rho was asking me if I knew of a way to post via the atom protocol. the client base seems relatively non existant. So, I'm learning the protocol, and in the progress, I'm learning the atom protocol. I still think it's goofy that a syndication format defines an API, but that's just me.</div>
</content>
</entry>
Enter username for lj at www.livejournal.com:80: crschmidt
Password:
<h1>Success</h1><p>The entry was successfully posted and is available for editing at http://www.livejournal.com/interface/atomapi/crschmidt/edit/1048 .</p1>
Subscribe

  • candy

    At our old house, we always ran out of candy, so I live in perpetual fear of it. At this house, we were totally ghost town one year, and we ran out…

  • Projects

    Overall, I have a handful of projects I'm working on. - Livestream Alerts: Website for generating alerts during Livestreams. Most recent work:…

  • sigh, humans

    For the last 36 hours, I have been unreasonably upset by the simplest, stupidest things that people do. Why can't people just be more smart and less…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments