Clear questions and runnable code
get the best and fastest answer
Most loved nodesby gmax (Abbot)
|on Mar 19, 2003 at 12:59 UTC||Need Help??|
There has been some discussion in the Monastery about the best nodes not being up to their name, meaning that there are several forgotten treasures that don't get the attention they deserve.
Here is a do-it-yourself alternative, obtained by taking the first 10 highest reputation nodes for each saint as of today.
Since it was generated automatically, according to a numerical criterium and depending on the limited space available, it could be debated whether this one is better or worse.
The attentive reader will notice that a few nodes in the best nodes are missing from this list, since they were produced by non-saints. Moreover, some of the nodes here might not be among the absolute best in PM. They are, however, the best nodes that each saint could produce, according to the other monks evaluation. So they should be worth a second glance.
At the very minimum, I believe that it is a good source of meditation upon the past experience at the Monastery.
First things first, here's the code to build this sort of super best nodes page.
You may customize this script according to your needs. For example, you could just pull the first 5 best nodes for each saint, or the best 20 for the first 35 saints only, and so on.
As for the specific method, I used HTML::TreeBuilder because I know the way it works and it's easy for me to think in terms of trees. Others may find this task easier to accomplish using other HTML::Parser cousins. I would be curious to see alternatives.
Then, the list of the most upvoted nodes for each saint.vroom
_ _ _ _ (_|| | |(_|>< _|