http://www.perlmonks.org?node_id=555168


in reply to Re: Buddy list
in thread Buddy list

And you can use Free Nodelet templating to make yourself a link that adds a person to your "buddy" list that you keep in your Free Nodelet. You can even make a link in your Free Nodelet that takes you to Super Search to look for any recent nodes by any of your buddies. If only you could embed HTML comments in link URLs and specify more than one at= to the op=_freer, then the same link that adds people to your buddy list could also update this BuddySuperSearch link.

Well, here is an approximation given the current state of things, that lets you maintain a list of buddies for Super Search but requires minimal manual labor after you've added a buddy or few... (fully tested)

<a href="?node=3989;a="><!--buddysearch- %5bid://`_u`%5d">-->Recent Buddy nodes</a>; [href://?node_id=492700;op=_freer;at=buddysearch;_u=`author_id`| Add `author_name&`].

Paste that into the Free Nodelet Settings and enable the nodelet on Nodelet Settings. Then, visit a node written by your new buddy (such as their homenode), click the "Add Paco" link now found in your Free Nodelet. This takes you to Free Nodelet Settings where you remove the three characters (", >, and newline) from between your old "buddy search" link and the new stuff that was added. Press "Submit". Now you've got a "Recent Buddy nodes" link in your Free Nodelet that takes you to Super Search with all your buddies' IDs filled in. Make any adjustments to the search parameters and then Submit to see their nodes (please don't make links that pre-submit the SuperSearch, though).

Not perfect. Gives me at least two ideas on how to enhance op=_freer...

- tye