7 messages in com.googlegroups.bloggerdev[bloggerDev] Re: Newline markup forma...| From | Sent On | Attachments |
|---|---|---|
| Daniel Jalkut | 28 Jun 2008 12:56 | |
| Daniel Jalkut | 28 Jun 2008 14:00 | |
| Pete Hopkins ♬☠ | 28 Jun 2008 18:32 | |
| Daniel Jalkut | 28 Jun 2008 21:50 | |
| Pete Hopkins ♬☠ | 30 Jun 2008 11:49 | |
| Pete Hopkins ♬☠ | 31 Jul 2008 16:12 | |
| Daniel Jalkut | 31 Jul 2008 16:48 |
| Subject: | [bloggerDev] Re: Newline markup formatting changed![]() |
|---|---|
| From: | Daniel Jalkut (jal...@gmail.com) |
| Date: | 06/28/2008 02:00:48 PM |
| List: | com.googlegroups.bloggerdev |
Now, the format of the markup seems to be changing by the minute, between the "new" and the "old." Is this because I'm getting load- balanced to a different server running different code, or is somebody undecisive about how the server should behave, or ... is somebody just messin' with me ;)
I'd like to know if the switch to the new "break tags + newlines" format is something Blogger plans to stick with, so I can release an update of MarsEdit that adapts to the new formatting.
Daniel
On Jun 28, 3:56 pm, Daniel Jalkut <jal...@gmail.com> wrote:
This is partly a "heads up" to other client developers who may be massaging the content of Blogger posts to be more easily editable, and partly a "proof of concept" for why I continue to argue that Blogger's unpredictable insertion of <br /> tags into the post content is annoying and sets up a fragile relationship with clients that allow verbatim editing of the content.
If a client sends literal post content such as this to Blogger:
- Paragraph 1
Paragraph 2
Paragraph 3 -
It seems to be stored literally in the database with the newlines intact, but for display purposes and (unfortunately) for generating the Atom-based feed for editors, it has <br /> tags inserted. Up until very recently, the format of the inserted tags was as complete replacements for the newlines:
- Paragraph 1<br /><br />Paragraph 2<br /><br />Paragraph 3 -
But now, each <br /> is also followed by a real newline in the returned content:
- Paragraph 1<br /> <br /> Paragraph 2<br /> <br /> Paragraph 3<br /> -
In order to give users the impression that Blogger has not mucked with their content, I have been replacing the <br /> tags with verbatim newlines in my editor. Of course, with this recent change, I am now adding too many newlines, since the newlines are already there.
Ideally, I would love to have Blogger simply return via AtomPub the same content that I had sent it. This fragile relationship is a set up for a bad user experience, and makes it impossible for remote clients to reliably match the experience that users get when using the web-based editor.
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Blogger Data API" group.
To post to this group, send email to blog...@googlegroups.com
To unsubscribe from this group, send email to
blog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---




