in reply to How to get the link to a question node?
notice that every page has also in the top left corner something like: on Oct 31, 2017 at 13:03 CET ( [id://1202418]=note: print w/replies, xml ) where the node ID is stored in convenient form working for any URL you use to reach the site.
In my Bibiotheca I have a listitemizator to save pm links inside list item tags. You can strip tags or modify it suiting your needs:
perl -MLWP::UserAgent -e "print qq([id://$ARGV[0]|).LWP::UserAgent->ne +w->get('http://perlmonks.org/index.pl?node_id='.$ARGV[0])->title,']'" + 11164264 [id://11164264|How to get the link to a question node?]
L*
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to get the link to a question node?
by harangzsolt33 (Deacon) on Mar 13, 2025 at 00:51 UTC |