Cayenne (cayenne) wrote in suggestions,

Update auto-formatting

Update auto-formatting

Short, concise description of the idea
Update the auto-formatting to make livejournal entries more readable in alternate browsers such as lynx.

Full description of the idea
Copied from my entry about how to manually make entries lynx-friendly: Livejournal default settings don't create entries that are terribly readable in lynx. It uses <br> instead of <p> to create paragraphs and line breaks. The advantage is that most browsers will display the same number of line breaks as were used when the entry was typed, whether it's one or seventeen, while any number of <p>s will only give you a double linebreak in some browsers and will never give you anything but a multiple of two in any browser. The problem with this approach is that lynx only displays one line break for any length string of <br>s, which makes it quite hard to tell paragraphs apart especially when the last line of the preceding one happens to be near the full length. To solve this problem use one <p> between paragraphs and use <br>s by themselves to get single line breaks and in addition to the <p> to get more than two line breaks. I don't know how livejournal is implemented, but in perl making this be the automatic behavior would be equivalent to changing a s/\n/
/ to a s/([^\n])\n\n/$1

/; s/\n/

An ordered list of benefits

  • A number of people do use lynx some of the time. Livejournal is hard to read in it. This would change that.
  • Expanding the compatability of livejournal is always a good thing.
  • An ordered list of problems/issues involved

  • I don't know how hard this change would be to make, though I imagine fairly simple.
  • I don't know how adding the more complicated substitution would affect performance. But it seems to me that the length of time it takes to post entries is less important than the readability of those entries once they're posted.
  • An organized list, or a few short paragraphs detailing suggestions for implementation

  • I imagine this would involve updating the code that runs the web-posting and various different livejournal clients. So really this is a suggestion to be made to many different parties, the creators of the various clients. The more of them that work this way the better.
  • Tags: ~ historical
    • Post a new comment


      Anonymous comments are disabled in this journal

      default userpic

      Your reply will be screened

      Your IP address will be recorded