posting an entry results in success, and the new entry is returned ... but subsequent gets do not show the new entries. access from the roller UI confirms that the entry does not exist.

example post / get session is below ...

[EMAIL PROTECTED]::~/roller/blogapps-examples/java/ch08/dist/blogclient] cat entry2.xml
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom";>
<title>Atom test post title</title>
<content>Atom test post content</content>
</entry>
[EMAIL PROTECTED]::~/roller/blogapps-examples/java/ch08/dist/blogclient] ./authpost.sh xc_admin i30gOcHi entry2.xml http://suntoy:8080/roller/app/xc/entries
<entry xmlns="http://www.w3.org/2005/Atom";>
 <title>Atom test post title</title>
<link rel="alternate" href="http://suntoy:8080/roller/page/xc?entry=atom_test_post_title"; /> <link rel="edit" href="http://suntoy:8080/roller/app/xc/entry/4092c2870ace1892010ace6c52ee011c"; />
 <category term="/" />
 <author>
   <name>xc_admin</name>
   <email />
 </author>
 <id>http://suntoy:8080/roller/page/xc?entry=atom_test_post_title</id>
 <updated>2006-04-25T00:21:46Z</updated>
 <published>2006-04-25T00:21:46Z</published>
 <content type="html">Atom test post content</content>
 <app:control xmlns:app="http://purl.org/atom/app#";>
   <app:draft>no</app:draft>
 </app:control>
<atom-draft xmlns="http://rollerweblogger.org/namespaces/app";>8</atom-draft>
</entry>
[EMAIL PROTECTED]::~/roller/blogapps-examples/java/ch08/dist/blogclient] ./authget.sh xc_admin i30gOcHi http://suntoy:8080/roller/app/xc/entries
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"; xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"; xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:app="http://purl.org/atom/app#"; xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"; xmlns:dc="http://purl.org/dc/elements/1.1/";>
 <title>Entries for blog[xc]</title>
</feed>

Reply via email to