This is a rephrased repost, but the original note got no attention and I'd really like to hear opinions on this.

I have some gripes with the Personal Nodelet as is:

I'd find it tremendously more useful if it also understood the other variants, esp "http://absolute.link.com/foo" ones. Then, I could have a link directly to my scratchpad where I keep oft posted links ready for copypaste. I could also keep external links like cb Last 35 there. This could be addressed by supporting the entire PM link dialect for the nodelet, however this leaves the other concerns unaddressed.

What I want to propose is to make the Personal Nodelet a freely editable piece of text. Anyone could put anything in there and format it to their own liking. Editing the content would be much easier. Also, it would allow putting non-links in there - I'd try if I like the copy paste templates from my scratchpad in there, avoiding having to load another page to get at them every time I need them. The "add to personal nodelet" link would work just like the "add to scratchpad" one does.

Makeshifts last the longest.

  • Comment on YAPND: Yet Another Personal Nodelet Discussion

Replies are listed 'Best First'.
Re: YAPND: Yet Another Personal Nodelet Discussion
by BrowserUk (Patriarch) on Jan 25, 2003 at 22:10 UTC

    For several months I have had a /msg I sent myself at the top of the CB nodelet that has one link directly to my scratchpad in edit mode and another in view mode. For you, this would look like this.

    /msg Aristotle <a href="index.pl?displaytype=edit&node_id=114691">edit +</a> <a href="index.pl?node_id=108949&user=Aristotle">view</a>

    It's not a complete answer to all your problems, but it might be useful until such times as a better solutions presents itself.


    Examine what is said, not who speaks.

    The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.

Re: YAPND: Yet Another Personal Nodelet Discussion
by valdez (Monsignor) on Jan 26, 2003 at 00:18 UTC

    Definitely yes! Just a question: I can't find any doc explaining why it works this way... does someone know the reason(s)?

    Thanks, Valerio

      Why is it this way? Because the heart of the code is the very simple: /\D/ ? linkNodeTitle($_) : linkNode($_). That is, it was designed to accept a node ID or a node title. Why was it designed that way? Well, I didn't design it, but that is a clean design, especially considering what is obvious to do with the current code base. The fact that linkNodeTitle() also understands "|" is rather an accident.

      To Aristotle: You are in pmdev so Feel Free. It probably wouldn't be very hard to change that code to call the code that handles square bracket links. Of course, ar0n started rewriting that code months ago. Then footpad at least announced that he had started rewriting it a month or two ago. I jumped in a few weeks back and you can (for a while) see what I've got so far at tye&nbsp;. My plan is to support typing "pad://tye" or "cpan://cache" in the simple Search box at the top of any PM page so you get a redirect to whatever that would link to if found in square brackets.

      So put your code where your node is. You have access to all of the code. Go look at what I've done, fix the remaining bugs in it. Or just fix the personal nodelet to use the existing code (and to just put out verbatim any items that start with < so all of my <a href=...>...</a> links in my personal nodelet continue to work [at least in my browsers]).

      I haven't had time to get back to that (and a lot of other things). And if I did, I'd be working on speeding the site up rather than that anyway.

                      - tye
Re: YAPND: Yet Another Personal Nodelet Discussion
by PodMaster (Abbot) on Jan 26, 2003 at 06:38 UTC
    Why don't we just install Bookmark


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: YAPND: Yet Another Personal Nodelet Discussion
by parv (Parson) on Jan 26, 2003 at 06:06 UTC
    hallelujah!