Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

readmore tag in the middle?

by John M. Dlugosz (Monsignor)
on Oct 14, 2002 at 20:18 UTC ( #205199=monkdiscuss: print w/replies, xml ) Need Help??

I was surprised to see logical Exclusive Or, xor today, that had "Read more..." link in the middle of the short form.

I recall that everything after the readmore tag is cut off in the summary view. How long has it been available in this enhanced form, and how do we use it as such?

Replies are listed 'Best First'.
(tye)Re: readmore tag in the middle?
by tye (Sage) on Oct 14, 2002 at 20:53 UTC
    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>
      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
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://205199]
Approved by diotalevi
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-08-12 15:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found