9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plumbing added to links
@ 2003-12-15 18:25 Gorka Guardiola Múzquiz
  0 siblings, 0 replies; only message in thread
From: Gorka Guardiola Múzquiz @ 2003-12-15 18:25 UTC (permalink / raw)
  To: 9fans

I added a little function and some calls to add some naïve plumbing to links.
The only thing it does is write a handmade message to /mn/plumb/send. 
There are two things.

A menu on the right button and plumbing when the mime type
is not recognized.

Mirtchov has added it to the web page.

Adding this to your plumbing will make the magic.
Be careful!!!. Without the first rule, you will have trouble...

	Enjoy!

			G.


src is links #eliminate recursive links
type is text
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
plumb to none

type is text
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
plumb start window  links $0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-15 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-15 18:25 [9fans] plumbing added to links Gorka Guardiola Múzquiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).