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
  • 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