> I dont believe g-client automatically adds br tags in the HTML
:)
> --- can you show me an example where this happens so I can debug
> it further?
OK, I'll try to show that behaviour with maximum accuracy. There will be
very-very long lines in the mail, I'm sorry for that.
Step 0: M-x gblogger-new-entry
[...]
Step 1: constructing the message.
--------------------------------
<entry xmlns='http://www.w3.org/2005/Atom'>
<generator url="http://purl.org/net/emacs-gblogger/">http://purl.org/net/emacs-gblogger/</generator>
<author> <name>Alexander Gromnitsky </name> </author>
<title mode="escaped" type="text/html">test entry </title>
<content type='xhtml'>
<div xmlns="http://www.w3.org/1999/xhtml">
1
<b>2</b>
3
</div>
</content>
</entry>
--------------------------------
We are expecting to have 3 digit in one line: "1 2 3", but...
Step 2: hitting C-C C-C in emacs.
[The message posted successfully]
Step 3: looking at the result from Blogger.
--------------------------------
HTTP/1.1 201 Created
Content-Length: 1449
Date: Mon, 29 Sep 2008 02:41:24 GMT
Cache-Control: private, no-store, must-revalidate
Content-Type: application/atom+xml; charset=UTF-8
GData-Version: 1.0
Location: http://www.blogger.com/feeds/8518021139708603317/posts/default/2474337108256964157
Content-Location: http://www.blogger.com/feeds/8518021139708603317/posts/default/2474337108256964157
Server: GFE/1.3
Age: 2
Connection: keep-alive
Warning: 110 chantecler.medieval:8123 Object is stale
<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><entry xmlns='http://www.w3.org/2005/Atom'><id>tag:blogger.com,1999:blog-8518021139708603317.post-2474337108256964157</id><published>2008-09-29T05:41:00.001+03:00</published><updated>2008-09-29T05:41:24.391+03:00</updated><title type='text'>test entry</title><content type='html'><br /> <div xmlns='http://www.w3.org/1999/xhtml'><br />1<br /><b>2</b><br /><br />3<br /> </div><br /> </content><link rel='replies' type='application/atom+xml' href='http://gromnitsky.blogspot.com/feeds/2474337108256964157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8518021139708603317&postID=2474337108256964157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8518021139708603317/posts/default/2474337108256964157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8518021139708603317/posts/default/2474337108256964157'/><link rel='alternate' type='text/html' href='http://gromnitsky.blogspot.com/2008/09/test-entry.html' title='test entry'/><author><name>Alexander Gromnitsky</name><uri>http://www.blogger.com/profile/17579163349789748194</uri><email>alexander....@gmail.com</email></author></entry>
--------------------------------
Step 4: looking at the result on the web:
http://gromnitsky.blogspot.com/2008/09/test-entry.html
PS
g-client is the latest (from svn).
> Speaking of using text instead of html, the code tags didn't behave
> correctly in my previous post. Also, it should be text/html, not text/
> xml. If you want the details on my experience with this issue, head
> over to http://lackita.blogspot.com/2008_01_01_archive.html.
It doesn't work for the gdata api. After hitting C-C C-C:
--------------------------------
HTTP/1.1 415 Unsupported Media Type
Content-Length: 36
Date: Sat, 11 Oct 2008 03:34:44 GMT
Expires: Sat, 11 Oct 2008 03:34:44 GMT
Cache-Control: private, no-store
Content-Type: text/plain; charset=UTF-8
Server: GFE/1.3
Age: 1
Connection: keep-alive
Warning: 110 chantecler.medieval:8123 Object is stale
Content-Type text/html is not valid.
--------------------------------