Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Functionality to automatically insert <readmore> tags into long posts?

by Loops (Curate)
on Jul 05, 2013 at 19:26 UTC ( [id://1042773]=note: print w/replies, xml ) Need Help??


in reply to Functionality to automatically insert <readmore> tags into long posts?

As you mentioned in the CB discussion, existing tags will have to be respected. <readmore> can't be inserted in the middle of a <code> block for example. Also, nothing automatic should happen if the submitter includes appropriate <readmore> tags on their own initiative. This way if the automation gets it wrong, the submitter can go back and place the tags more appropriately.

Replies are listed 'Best First'.
Re^2: Functionality to automatically insert <readmore> tags into long posts?
by OfficeLinebacker (Chaplain) on Jul 05, 2013 at 19:28 UTC
    Should be fairly simple to parse the post for existing readmore tags before inserting some automatically.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-19 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found