http://www.perlmonks.org?node_id=404171

Its come to my attention that a recent modification to the readmore handling code hasnt been sufficiently well advertised. You can now add a "title" text to your readmore tags:

<readmore title="Yada-Yada">...</readmore>
...

Unclosed readmore tags are considered to bracket all content to the end of the node, and a node may have multiple readmore sections. Readmore tags cannot be nested and are PM specific "pseudo-html". When the node is viewed in expanded view then the tags are converted to <div class='readmore'>...</div> tags so with a bit of custom CSS you can see what text they cover.

BTW, you may want to view this node from Perl Monks Discussion to see the readmore tags in action.

---
demerphq

Replies are listed 'Best First'.
Re: A bit more about readmore
by bart (Canon) on Nov 01, 2004 at 10:22 UTC
    A nitpick: text is counted in characters, not in bytes. Bytes are for binaries. So yes, the caption
    Yada-Yada (3 bytes)
    annoys me.

      Thing is its not going to be a character count, as the html markup content will be counted. So to say X chars would be less accurate than saying X bytes. At least the latter will be correct all the time, where a char count would be wrong almost all of the time.

      Update: I see from the CB chatter history that you and ysth dont like this information to be displayed. I suggest one of you put together a patch to provide a user setting to turn it off. That would be the easiest thing for all concerned. :-)

      ---
      demerphq

        I see from the CB chatter history that you and ysth dont like this information to be displayed.
        I said that; don't recall bart exactly saying so. But CSS is a better choice than adding a user setting.
      This really is nitpicking if you consider that, for the character encoding used here, 1 char == 1 byte in terms of space.