Ever read a thread, going along and ++'ing those nodes that you think deserve it and --'ing trolls (as few as they are), reach the end and vote? Suddenly, the cogs in your mind start spinning and before you know it you are thinking of all the nifty and fantastic stuff you could do. You bookmark the page because you have something else to do (i.e. pay attention to your significant other, let the dog outside, get back to work because you just heard your boss clear his throat from somewhere behind you and you really enjoy having a job). Later on when you're no longer busy, you remember about that fantastic node you bookmarked. You open your browser, pull down your favorites, spot the document title you remembered, and....ah geez...The Monastery Gates? You didn't bookmark that. What on earth? Is someone playing a trick on you?

Of course no one is playing a trick on you. There's a perfectly legitimate reason why all of this happens. Voting POSTs to index.pl. Why? If the form were submitted through GET and you bookmarked the page after you clicked vote, you'd vote for everything again everytime you visited the bookmark. I don't know how index.pl would cope, but I'm certain it would take it like a champ. Anyhow, I don't know if it would work, but a workaround could be to POST to /index.pl?node_id=Xnode_id_of_the_current_nodeX. Of course, it might not work in which case I'd like to beg for someone to come up with a solution. Sometimes my mind wanders off after "experiencing" some of the ideas put forth by fellow monks and in this state of euphoria, I don't think about what I'm doing and thus end up with a favorites list half-occupied with mislabeled bookmarks to the gates. Please help a poor monk who just wants to have his mind candy.

p.s. I applied to pmdev some time back yet was put in the backlog and am not available to implement the feature.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1

Title edit by tye


In reply to Bookmarking after a submit bookmarks The Gates; change target= ? by antirice

Title:
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, details, 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, summary, 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.