Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(tye)Re: readmore tag in the middle?

by tye (Cardinal)
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>


Comment on (tye)Re: readmore tag in the middle?
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205212]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-09-20 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls