Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The quote button indeed rules. Quite a lot. Thank you!

    I noticed quoting is done by by wrapping a <quote> tag around quoted text. Is this tag new? Is it documented somewhere?

    HTML's <q> and <blockquote> have a cite attribute for indicating the source of a quotation. Is anything like that supported for <quote>? If so, is there any possibility of having the quote button automatically add attribution?

    • quote is a new "tag" we made up, like ecode. We are tossing around ideas for attribution; co-opting the cite attribute is a good idea, thanks.
      • We are tossing around ideas for attribution

        An idea I just had is that you might use the cid (or whatever the post number is, the post I'm quoting is 51856) as the value of the cite attribute.

        A common use-case for me on Slashdot is seeing a reply buried 5 levels down quoting something and responding to it, but none of its parents are displayed; so I have to use the "Parent" links to traverse up the thread until I find the quote. It would be stellar if I had some way of going directly to the quoted post. (Of course, this still doesn't handle the UI

        • We are tossing around ideas for attribution

          An idea I just had is that you might use the cid (or whatever the post number is, the post I'm quoting is 51856) as the value of the cite attribute.

          Yeah, another good idea. I was thinking of merging the user and CID, but ... why CID knows UID.

          The question is, though, how to catch that information and use it. I have some ideas, and it's not hard, but then when we come back with nested quotes, it becomes kinda hard. See here, I clicked Quote, and it took the <div class="quote"> around your quote of my comment, and turned it back into <quote>, because, we don't want to leave it as <div class="quote"> for two major reasons: it's ugly t

          • Interesting. I had always assumed that Slash stored the original representation of whatever a user entered so that editing was possible, and rendered that as "output" HTML when dispaying a page (and possibly cached the rendered version).

            I'm really impressed that you're able to roundtrip everything with the quote button, if my assumption was incorrect.