Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(kudra) Re: Show READMORE in Posts

by kudra (Vicar)
on Sep 30, 2002 at 10:33 UTC ( [id://201669]=note: print w/replies, xml ) Need Help??


in reply to Show READMORE in Posts

I read this question differently than the previous answers. Instead of 'how to get a readmore tag added to a post', I see 'how to tell if a post has a readmore tag or not'.

If that's the question, then the simple solution of course is to simply view the source and look for a readmore tag. I guess I see formatting as the kind of thing you hopefully don't notice when it is done properly, not the sort of thing you want to display.

Besides, if you give some indication of readmore tags, what about other formatting that could be wrong? For example, try to tell the difference between someone who put code in pre and tt tags from someone who put it in code tags if you don't have line wrap set. I just don't worry about it--I figure soon enough someone with line wrap will notice and consider it.

So I'm with the others in saying just go ahead and fp the node. If you note that it is lacking a readmore tag, consider it. If you don't, someone else probably will.

Replies are listed 'Best First'.
Re^2: Show READMORE in Posts
by Aristotle (Chancellor) on Sep 30, 2002 at 12:15 UTC

    Other formatting is easily obvious if you have usersupplied CSS, since one can't add class attributes to tags when posting. My stylesheet renders class="code" with a blue border and font, so it's immediately obvious whether someone just inserted PRE tags or properly used CODE ones.

    READMORE on the other hand is harder, a small indication of its presence would be helpful. Even though I do agree with your assessment that the current situation is just fine, I'd find it easier than having to view source - or worse yet, check the gates to see if it shows with a link.

    I could live without it, but would enjoy having this feature. Of course, someone has to code it. Seeing as I was recently welcomed among the ranks of the pmdevils, maybe that could be my first contribution. :-)

    Makeshifts last the longest.

      Sounds like a good idea. (Specificly, I'd like <readmore>s to show up as <hr>s when they're being looked at directly.) Or, we could do what livejournal does, which solves this problem (though it isn't as much of a problem there), and gives the user more control. LJ has an <lj-cut> tag, which can look like <lj-cut text="Example cut...">stuff inside the cut</lj-cut>. That renders as ( example cut ) in a cutting context, and ( example cut )
      stuff inside the cut
      when not. (If there is no close tag, then the cut is taken to last until the end of the post.) That would be significantly more work to implement, though.

      Oh, and welcome to the team, Aristotle. (/me takes a moment to bask in the minor glory of a self-coined term catching on.)


      Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Re: (kudra) Re: Show READMORE in Posts
by shotgunefx (Parson) on Sep 30, 2002 at 10:43 UTC
    No but they are similar requests. I wasn't aware that readmore tags showed up in the source for a page. Thinking about it, as I said to dws, a gentle reminder during preview for readmore and code tags isn't a bad idea. I understand the Editors can and are willing to add the appropriate tags, but it would be better if they never had to at all. Which will never happen of course :)

    -Lee

    "To be civilized is to deny one's nature."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found