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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

A while back I put together a patch that will handle collapsing Re:'s in a consistant and automatic fashion. A few people who know about it have been nudging me to get it moved over from test to here. And so today I did. Here is an example of what will happen: (Actually this is a piece of code that I think we could open up to a golf competition. :-)

# In : •Re: Bypassing strict refs # Out: Re^2: Bypassing strict refs # # In : Re: •Re: Bypassing strict refs # Out: Re^3: Bypassing strict refs # # In : Re: •Re: •Re: Bypassing strict refs # Out: Re^4: Bypassing strict refs # # In : Re: (12345) Re: Re: •Re: •Re: Bypassing strict refs # Out: Re^6: Bypassing strict refs # # In : Re: (12345) Re: Re: • Re: •Re: Bypassing strict r +efs # Out: Re^6: Bypassing strict refs # # In : Re: (12345) Re: Foo Bar # Out: Re^3: Foo Bar # # In : Re: Re^3: New code wrap options (in-line code CSS class)| # Out: Re^5: New code wrap options (in-line code CSS class)| # # In : Re: (tye)Re: New code wrap options # Out: Re^3: New code wrap options # # In : Re: Re: Re: Re: The ethics of humour # Out: Re^5: The ethics of humour # # In : Re: Foo Bar # Out: Re^2: Foo Bar # # In : Re: (demerphq) Re: Foo Bar # Out: Re^3: Foo Bar # # In : Re: (tye) Re: (demerphq) Re: Foo Bar # Out: Re^4: Foo Bar # # In : Re^2: (tye) Re: (demerphq) Re: Foo Bar # Out: Re^5: Foo Bar # # In : Re^2: (tye) Re: Re^2: Re: (demerphq) Re: Foo Bar # Out: Re^8: Foo Bar #

No doubt some people will be upset, but I hope most people will like it, certainly a lot of folks do something like this themselves. The code also actually involved refactoring a chunk of code out of a few places so on the structural side its been useful for the site. In fact if folks decide the rules I'm using aren't the best we can easily change them to suit.

Anyway, just thought you all should know whats up and who to yell at. :-)


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi



In reply to Collapsing Re:'s in Titles. by demerphq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-23 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found