Coding Robots Forums

Coding Robots Forums » BlogJet » Troubleshooting

Carriage returns

(6 posts)
  • Started 3 years ago by Josep
  • Latest reply from Dmitry Chestnykh
  • This topic is not a support question
  1. Josep
    Member

    MY CONFIGURATION
    Blogjet 2.0.0.10
    Windows XP Home Edition SP3
    Blogging service: Blogger (last release)
    My blog: http://josepcastany.blogspot.com/

    PROBLEM

    When I write in Blogjet this (TEST is the title of the post):

    TEST
    Line 1

    Line 2

    Line 3

    The HTML code created with Blogjet is:

    TEST
    <p>Line 1</p>
    <p>Line 2</p>
    <p>Line 3</p>

    and what you see in Blogger when publishing the post is:

    TEST
    ............One line in the middle when I did not intro
    Line 1
    ............Two lines in the middle when I only did one intro in Blogjet
    ............
    Line 2
    ............Two lines in the middle when I only did one intro in Blogjet
    ............
    Line 3

    To see in Blogger what I wrote in Blogjet editor the code must be:

    TEST
    Line 1(br /)(br /)
    Line 2(br /)(br /)
    Line 3

    Of course I can get this behaviour doing SHIFT+INTRO each time I do a carriage return, but I think it would be more elegant and comfortable to have an option in Blogjet (Preferences, Editor) like Blogger has.

    In Blogger (Formatting, Convert line breaks) you find this:
    If Yes is selected, single hard-returns entered in the Post Editor will be replaced with single tags (br /) in your blog, and two hard-returns will be replaced with two tags (br /)(br /).

    This way Blogjet editor would behave exactly as Blogger editor. I'm thinking of recommending Blogjet to my colleagues because it's an easy way to convert Blogger in an audioblog and it's much easier to manage images among other nice features, but there are some details which must be solved previously.

    Thanks.

    Posted 3 years ago #
  2. Dmitry Chestnykh
    Key Master

    <p> tag is a proper HTML paragraph tag, I don't see any reason to replace it with <br /> or <br /><br />.

    Posted 3 years ago #
  3. Josep
    Member

    Of course (p) tag is a proper HTML paragraph tag, but with this tag what you write in Blogjet editor is not correctly published in Blogger. I think this is an enough reason to consider the solution I gave you. Besides I'm not telling you to substitute (p) tag by (br /) tag, I'm suggesting you to include an option in your program so that the customer can choose, but of course it's up to you.

    Posted 3 years ago #
  4. Dmitry Chestnykh
    Key Master

    It is properly published in Blogger when you turn off "Convert line breaks" option. You can then use CSS to specify margins for your <p> tags if you want more or less space between them.

    Posted 3 years ago #
  5. Josep
    Member

    Thanks Dmitry but that's not a solution.
    I know that if you turn off "Convert line breaks" in Blogger then what you write in Blogjet editor is correctly published in Blogger, but if this option is off then it happens a great problem in Blogger: all the carriage returns of all the posts writed with Blogger editor dissapear, they don't exist. Can you imagine that?

    So I can't turn off "Convert line breaks".
    I'm a Blogger user and our non-profit organization use it. When I saw your Blogjet I saw a set of features to empower our blogs (i.e audioblog), not to abandone Blogger, but we need that Blogger and Blogjet work well syncronized (carriage returns, labels, time stamp, characters with accents, margins around images, etc.) so that people can use the one they prefer with the same results.

    Posted 3 years ago #
  6. Dmitry Chestnykh
    Key Master

    Josep, thanks for your opinion, we'll consider it.

    Posted 3 years ago #

Reply

You must log in to post.

Our Software