Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Readmore revisited...

by ehdonhon (Curate)
on Oct 30, 2003 at 20:30 UTC ( #303401=note: print w/replies, xml ) Need Help??

in reply to Readmore revisited...

A while ago, there was a discussion here about enforcing readmore tags in long posts. It was basically shot down under that node as difficult to implement (though a few other reasons were mentioned).

The neat thing about discussions around here is that they can be shot down completely one week, and then brought up by somebody else in the next week and ++'ed to one of the Best Nodes.

I have seen people that maintain the code here comment that it wouldn't be too hard to write something to auto-add readmore's. The harder task is agreeing how it should work.

I ++ you for presenting your idea, even though I don't think I like it. It relies on the end user to know how to do the right thing with both of those text boxes, just like the present system relies on the end user to know how to use readmore's. Better to find a progmatic solution.

Replies are listed 'Best First'.
Re: Re: Readmore revisited...
by Jenda (Abbot) on Oct 31, 2003 at 21:56 UTC

    I don't think a programatic solution would work well. What I think could work quite well and doesn't seem to be too hard to implement or to be too hard on the server would be to show something like
    Your post is kinda long. Please consider adding a <readmore> tag!
    on top of the preview page if the text is longer than X characters. That way you get a warning (or information that something like <readmore> exists), but it's up to you whether and where do you add the tag.

    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway - changed code-tag around the readmore to html-escaped <, >

    Edit by castaway: Closed small tag in signature

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://303401]
[MidLifeXis]: ISTR having a couple of issue based on undeclared dependencies around the time I was looking at that module on my last project, but cannot say if that was the module that I had the dependency issues with.
[MidLifeXis]: (5.22 at that time)
[MidLifeXis]: Yeah, I know, really helpful :-)
[Corion]: If all else fails, Spreadsheet::XLSX should be "installable" by manually copying the files, provided that the prerequisites are met
[thezip]: It fails in the "formatted 2-digit numeric" tests
[thezip]: Okay Corion, that's what I wanted to hear. Thanks!
[Corion]: Oh, a test failure... Just force-install it then? --force and potentially --notest to skip the tests alltogether ?
[ambrus]: thezip: is Activestate Perl usable for your scenario instead?
[MidLifeXis]: Yeah, --notest is good, not sure I would do --force.
[thezip]: It fails 2/10 tests in that group. What are the ramifications if I force it? What should I look for for?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-23 17:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (290 votes). Check out past polls.