Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Perl Monks Discussion

( #1040=superdoc: print w/replies, xml ) Need Help??

This section is only for discussing issues pertaining to the PerlMonks web site. You can ask about how things work, or offer ideas on how the site could be improved, for example.

Unless the topic pertains to the PerlMonks web site, it does not belong in this section. If you're unsure, check out Where should I post X? and The Perl Monks Guide to the Monastery, or ask in the chatterbox.

PerlMonks Discussions
Lightweight interface to cast votes?
5 direct replies — Read more / Contribute
by LanX
on Nov 04, 2017 at 10:18

    I wanted to address the problem that we need to scroll down in order to click the vote button, which is annoying when reading longer sub-threads.

    (At least when using a mobile I can't just hit return to submit)

    I can think of a nodelet hack injecting buttons which does am AJAX request and updates the result.

    Problem is that this would cause unnecessary overhead because the whole page is returned.

    I was browsing thru our XML generators but couldn't find any mention of a light weight interface.

    Am I missing something?

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!


    improved wording, added emphasize

TOCs and deeplinks for our house rules
3 direct replies — Read more / Contribute
by LanX
on Oct 31, 2017 at 14:17
Perl News: Approval Nodelet missing options
1 direct reply — Read more / Contribute
by kcott
on Oct 29, 2017 at 08:26

    I just noticed "Get Title ip's list browser" posted in Perl News. I've considered it to be moved to SoPW.

    Normally I could have performed this myself (e.g. PMD -> SoPW); however, this wasn't the case here: there's no option for doing this in the "Approval Nodelet".

    I have noticed in the past that posts to "Perl News" have no Approve/FrontPage options in the "Approval Nodelet" either.

    If this is intentional, could someone explain why; if an oversight; could this be rectified (or, at least, put on a TODO list).

    — Ken

Cannot simultaneously approve and consider a post, nor approve it after considering
1 direct reply — Read more / Contribute
by 1nickt
on Oct 12, 2017 at 14:32

    Hi all, I noticed that the form allows you to select both checkboxes, for approval and consideration. This is useful for example when a post is approvable but has a typo in the title.

    When you do this, the post is *not* approved but *is* considered.

    After you do this operation and consider the post, you cannot then later approve it.

    This is a drag because (a) if you don't know about it, the post becomes considered and unapproved, and (b) if you do know and remember, it takes two form submissions to do what should be one combined op.

    The way forward always starts with a minimal test.
Can I get emails when somebody responds to my PerlMonks post?
3 direct replies — Read more / Contribute
by BeneSphinx
on Oct 04, 2017 at 19:13

    I have been looking for some option to get an email when somebody replies to my post, but I cannot find one. Is there one?

Missing "Vote" button
3 direct replies — Read more / Contribute
by syphilis
on Sep 30, 2017 at 23:23
    The "++" and "--" selections for the individual posts are enabled, but there's no "Vote" button that I can see at - Line Graphs from a CSV file.
    Who took it ?

    In other threads that I've just checked, the "Vote" button is in the usual place.


    2017-10-01 Athanasius made link relative

Node ID Typos in Considerations
3 direct replies — Read more / Contribute
by kcott
on Sep 20, 2017 at 05:51

    There appear to be what I'll assume are typos in two considerations.

    The nodes in question are:

    #1199646 was considered for reaping as a dupe of itself. I suspect that should have been "a dupe of #1199658" (although that one was posted about three hours later). Anyway, as you can see above, #1199646 has been reaped: unless there's some administrative reason to change the consideration text, there's probably nothing more to be done about that.

    I replied to #1199646 (Re: Splitting a file based on matched conditions). My post has been considered for reparenting to #1199646 (its original and current parent). That consideration should also have probably referenced #1199658 for the new parent. I have no problem with the reparenting; however, as it stands, the consideration is confusing: maybe a quick s/46/58/ to fix.

    — Ken

How to get raw node content
2 direct replies — Read more / Contribute
by roboticus
on Sep 15, 2017 at 14:25

    Hello, gang:

    I was wondering if there was an API available that would let me fetch the raw content of a perlmonks node?

    Every once in a while, I see a node that I'm interested in dismantling, but it gets a bit butchered by the HTMLification/templating/(or something). The latest example is Reaped: Re: .pl to .exe, where I'm wanting to figure out just what the code is doing. But with the HTML entities, font rendering and whatnot, I can't really tell exactly what the code *was*. So rather than hand-editing it and trying to put it in a form that I can analyze, I'd love to be able to occasionally fetch just the raw node contents.

    I did a little googling and trying to browse the SiteDocClan nodes, but I'm not a member, so there's a limit to what I can see (e.g., I can't see sdc to-do wiki, SDC Wiki, the PMDev, editor, cabalist and pedagogue wikis...).

    I've found some public information, like What XML generators are currently available on PerlMonks?, WWW::PerlMonks, but I didn't see anything that provides the raw node content. I'm not asking for a new feature if it's not available, just a pointer to it if it exists.



    When your only tool is a hammer, all problems look like your thumb.

Chronological Ordering of Nodes with the Same Timestamp
4 direct replies — Read more / Contribute
by kcott
on Sep 12, 2017 at 03:27

    In "Tk label width to fit in text area", when viewed as "Replies are listed 'Oldest First'.", there are two nodes, listed in the following order, with these title bars:

    Re: TK LABEL WIDTH TO FIT IN TEXT AREA [id://1199162] by Anonymous Monk on Sep 12, 2017 at 14:35 AEST ... Re: TK LABEL WIDTH TO FIT IN TEXT AREA [id://1199161] by Anonymous Monk on Sep 12, 2017 at 14:35 AEST ...

    Everything about these two nodes is identical except for the node IDs. [In fact, #1199162 had been considered for reaping because it's a duplicate: that may have happened by the time you read this.]

    Anyway, on the basis that #1199161 was created before #1199162, #1199161 should be displayed first, i.e. the current order reversed.

    As I've no idea of the code behind this, I can really only guess, but perhaps where the timestamps are identical, something akin to this could be added to the current sort functionality:

    ... || $a->{node_id} <=> $b->{node_id}

    — Ken

CSS in Display Setting Suddenly Not Working
2 direct replies — Read more / Contribute
by wjw
on Aug 27, 2017 at 15:48

    Just putting this out there to see if anyone else has experienced this. Anyone?

    UPDATE: I apologize for not putting more effort or detail in this. (In my defense, I was pretty ill and not thinking very clearly... yes, that is my poor excuse) I was using my Windows laptop which I seldom do, and did not bother to fire up the Linux laptop that I normally use on a daily basis.

    Wrong!This turns out to be a browser issue on the Windows laptop. I am still not clear what the issue is and need to explore a bit more. Following is as far as my foggy head has let me get:

    (To be clear: This is not a huge issue, just an observation, and I am still foggy from the meds, so I hope I got this edit formatted fairly decently) Thank you to those who bothered to respond!

    YourMother is correct. A/some .css and .js file(s) are no longer available from, it seems the site is down...

    UPDATE2: Appears that is back on line.... for anyone that cares...

    ...the majority is always wrong, and always the last to know about it...

    A solution is nothing more than a clearly stated problem...

Nodes to Consider: Incorrect Reply Count
3 direct replies — Read more / Contribute
by kcott
on Aug 15, 2017 at 00:18
Too soon for guesses on when node #1234567 will arrive?
7 direct replies — Read more / Contribute
by talexb
on Aug 08, 2017 at 13:31

    So we zoomed past the one millionth node a while back .. and since we're at about 1.19MM, the next obvious milestone is node number 1,234,567. Guesses, anyone?

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

SSL on PerlMonks
4 direct replies — Read more / Contribute
by sapadian
on Aug 07, 2017 at 13:28
    Does anyone know if there are plans to encrypt PerlMonks site traffic with a secure certificate?
CSS/JS if a username is mentioned
6 direct replies — Read more / Contribute
by stevieb
on Aug 01, 2017 at 19:33

    I'm not for certain, but it seems to me that some Monks magically appear on a thread if a specific topic is mentioned, or perhaps their uid is mentioned.

    Can someone explain how this is accomplished (or at least tell me that it isn't happening, and I'm just imagining things)?

    I mean, mention threads, and without fail, a major resident expert magically appears. Could be coincidence, but I'm not sure.

    Question is, is there a way, without having to continuously re-roll the Perlmonks website scraping, to see if a username or phrase or something is published, to recognize this? I'm definitely no web expert, but I can work my way with JS/jQuery/CSS to a degree, but searching is usually required.


Chosen depth?
1 direct reply — Read more / Contribute
by Todd Chester
on Jul 26, 2017 at 11:32
    I am getting this message on one of my posts: "Some notes below your chosen depth have not been shown here". I go to the link and do not see anything about depth. It is probably there somewhere, but I don't see it. How do I set my chosen depth?

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

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (5)
    As of 2018-09-20 05:31 GMT
    Find Nodes?
      Voting Booth?
      Eventually, "covfefe" will come to mean:

      Results (172 votes). Check out past polls.

      • (Sep 10, 2018 at 22:53 UTC) Welcome new users!