Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Link to current node

by davis (Vicar)
on Sep 11, 2003 at 11:18 UTC ( #290643=monkdiscuss: print w/replies, xml ) Need Help??

NB: Something similar to this appears to have been discussed in Refreshing the Current Node, and valdez apparently submitted a patch that apparently implements what I'm talking about.

A minor problem - when I've voted on a node, I get taken to without a node_id=123456. This means that to reload the current node (to check for new replies, for instance), I have to go back to e.g. The Monastery Gates, then navigate to the node again.

A proposed solution: include a link to the current node (by node_id) in the (print, w/ replies, xml) group at the top of each node. I believe that changing the "action" method for the vote! button to "" rather than "" would allow you to click in your browser's address/location bar, then hit "enter". I believe that would work because HTTP POST would override the GET when voting, but that would appear to be a nasty hack to me, and it may not work across browsers.

It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.

Replies are listed 'Best First'.
Re: Link to current node
by svsingh (Priest) on Sep 11, 2003 at 13:17 UTC
    The best solution that came up from Refreshing the Current Node was to hit the "talk" button in the Chatterbox. (Thanks again Nuke!) That reloads the current page. It won't help you figure out the node ID of the page you're looking at, but it's a decent fix and certainly better than going back to The Monastery Gates and then browsing back to the article.

    Valdez mentioned his patch was rejected. Not sure why, but that's the status of that.

      Yeah, I saw that option. The problem with that is it still doesn't give you a URL that you could cut-n-paste or bookmark - it still returns

      Sorry, should have mentioned that in the root node (which I now realise is an exercise in incoherent ramblings).

      It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.
Re: Link to current node
by theorbtwo (Prior) on Sep 11, 2003 at 20:13 UTC

    BTW, as far as the last thing you mentioned, I've pointed that out to tye before. I don't agree with some of his points, but others (in purticular, I don't know that, or how, /all/ browsers will support it) are valid. I'd like to make it an option, and see how it works out, or make an easy way for people to test... perhaps next week.

    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Re: Link to current node (print w/replies, xml)
by ybiC (Prior) on Sep 11, 2003 at 19:08 UTC
    Still a workaround, but hover your mouse over "(print w/replies, xml)" just below the node title/author at top for a cut-and-pastable URL.

      striving toward Perl Adept
      (it's pronounced "why-bick")

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://290643]
Approved by herveus
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-05-20 05:16 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (72 votes). Check out past polls.