Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

(tye)Re: readmore tag in the middle?

by tye (Sage)
on Oct 14, 2002 at 20:53 UTC ( #205212=note: print w/replies, xml ) Need Help??

in reply to readmore tag in the middle?

how do we use it as such?

Naturally, you surround the part(s) to be deleted with <readmore> and </readmore>, as you would see if you did "view HTML source" on that node.

How long has it been available in this enhanced form
Months. Sorry, I can't easily pin it down much more than that.

BTW, I think it would be good to make the readmore tags somehow subtly visible (without having to resort to "view source") when viewing the full node, but I haven't come across an appealing presentation for that (none have been nearly subtle enough).

Update: No, wait. I did come up with one I liked, but I had forgotten it. My idea was to provide a "Read less" link in the node header if a <readmore> is present and that would add a readless=1 CGI parameter that would trigger readmore processing even though you are looking directly at the node. Anyone game?

        - </tye>

Replies are listed 'Best First'.
Re: (tye)Re: readmore tag in the middle?
by John M. Dlugosz (Monsignor) on Oct 14, 2002 at 21:16 UTC
    I had assumed that the readmore tag would not show up in the delivered page, any more than a code tag or square bracket syntax. What we type in the "Your text:" submission is different from what is sent to the browser, so I assumed readmore worked the same way.

      Also try the "xml" view (and "view source" on it).

              - tye (TMTOWTVI)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205212]
[erix]: easily amused...
[holli]: this is strangely satisfying to watch

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-12-18 06:29 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (468 votes). Check out past polls.