Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 romping around the Monastery: (13)
As of 2015-07-01 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (11 votes), past polls