in reply to Re: How to update a node?
in thread How to update a node?

Actualy, you did include it, and this post now has a readmore in the middle of the postscript. You have to either view the node crosseyed (IE by seeing it on the frontpage or section page), or view source.

You should either put it in <code> tags, or write the opening < as &lt;.


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).

Replies are listed 'Best First'.
Re^3: How to update a node? (readmore in code)
by tye (Sage) on Jan 22, 2003 at 04:39 UTC

    As I just mentioned in Re: XML-style readmore not being parsed (no kidding), don't put READMORE inside of CODE tags as it doesn't always prevent it from being magic (at least not currently). You'll probably think that it works because you'll be looking directly at the node which means that the READMORE isn't processed. Sucks, doesn't it?

    You can write <code><read</code><code>more></code> (which I was able to display by writing <code><code><read</co</code><code>de><code>more></co</code><code>de></code>) if you really hate using &lt; or you can write <READ MORE> or <READ­MORE> (though the first will confuse newbies and the second has already confused you -- look closer) or <tt>&lt;readmore></tt> (if you want it to look like you used CODE tags) or any of several other things but not < READMORE > because, although it isn't processed as a READMORE tag, it is not escaped because it is considered an allowed HTML tag so that you can "view source" in order to see READMORE tags when looking directly at nodes (as theorbtwo mentioned).

    Note that the chatterbox does not process READMORE so you can write <code><readmore></code> there. But you can also just write <readmore> and it will be escaped for you (so that it appears) because it isn't an allowed HTML tag in the chatterbox.

    Update: This has now been fixed. You can put <readmore> inside of <code> tags. Thanks, demerphq. Now to update the site documentation as well...

                    - tye (got all that?)

    Thanks to theorbtwo for telling me that I had one of my <readmore>s unprotected inside of <code> tags. (:

      This has

      <readmore>

      been fixed. (This was the test :-)

      ---
      $world=~s/war/peace/g