A button to "Use.perl it!"

brian_d_foy on 2007-08-26T01:36:00

Want to let people suggest that your wonderful blog entry should be a story on use.Perl, giving it some good Google juice? Use.perl has a bit of javascript to make that work:

<!-- Start use Perl It link -->
<a href="javascript:location.href='http://use.perl.org/bookmark.pl?url='+encodeURIC omponent(location.href)+'&title='+encodeURIComponent(document.title)">
<img src="http://use.perl.org/favicon.ico" alt="use Perl" border="0" height="16" width="16"></a> &nbsp;
<a href="javascript:location.href='http://use.perl.org/bookmark.pl?url='+encodeURIC omponent(location.href)+'&title='+encodeURIComponent(document.title)">use Perl It!
<!-- End use Perl It link -->
The submitter doesn't need to have an account, but people with an account can add a description of the story they'd like to submit.


I'm not quite grokking this

davebaker on 2007-08-27T16:01:30

Could you point me to an example?

Re:I'm not quite grokking this

notbenh on 2007-08-29T21:53:08

it looks to be a bookmark submission system that allows users to send links to 'use Perl'. I don't know exactly who would be getting these links? I also don't know what there end goal is. If this is really just like submitting a link to slashdot then it could be interesting to see where this goes.

Re:I'm not quite grokking this

brian_d_foy on 2007-08-29T22:04:47

It's exactly like submitting a link to Slashdot, since use.Perl is the same code. :)

wondering about the HTML

notbenh on 2007-08-29T22:01:59

you currently have two links that do the same thing, I would think that it would be easier to include both the image and the text in one link. Was there a reason to use two links?

Re:wondering about the HTML

brian_d_foy on 2007-08-29T22:26:57

Don't ask me, I just work here. Since I put my stuff on use.Perl, I don't need to use the button. :)

That's the stuff that "Submit Story" shows you after you've submitted a story. It doesn't really matter what you do with it, I guess. If you want to make it one link, that's fine.