in reply to Simpler addition of readmore tags

You must have a strong psychic broadcast...... 2 days ago, whilst listening to the great-radio-station-in-the-sky, I thought..." I've left alot of long code nodes without readmore tags, and wonder if there was a way to automate it's inclusion?"

Something like all code nodes over 100 lines automatically get wrapped in readmore's. Then you could have a <no-readmore> tag instead. :-)


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Simpler addition of readmore tags
by belg4mit (Prior) on Jul 28, 2007 at 17:54 UTC
    For much time my TODO list has included an entry to add a step to either the preview or creation process that auto-suggests the insertion point of a readmore for long nodes lacking one. The real difficulty is coming up with some decent heuristic for insertion point: length without splitting sentences, widowing, etc.

    --
    In Bob We Trust, All Others Bring Data.