Tags:
create new tag
, view all tags

Implemented: Render IRC and NNTP as a URL

irc://what.ever/#chan, [[irc://foo.bar/#baz][this is an IRC URL]] and nntp://any.server/name/of/newsgroup/article-number are now recognized as URLs.

Contributors:
-- HarlanStenn - 25 Nov 2003
-- PeterThoeny - 01 Dec 2003
-- TomKagan - 01 Dec 2003

Discussions and feedback

And this patch is from Steve Kostecke.


--- /tmp/TWiki.pm-      Tue Nov 25 16:06:04 2003
+++ TWiki.pm    Tue Nov 25 15:52:05 2003
@@ -178,7 +178,7 @@
 $noAutoLink = 0;
 $viewScript = "view";
 
-$linkProtocolPattern = "(http|ftp|gopher|news|file|https|telnet)";
+$linkProtocolPattern = "(http|ftp|gopher|news|file|https|telnet|irc)";
 
 # Header patterns based on '+++'. The '###' are reserved for numbered headers
 $headerPatternDa = '^---+(\++|\#+)\s*(.+)\s*$';       # '---++ Header', '---## Header'

-- HarlanStenn - 25 Nov 2003

Might as well cross reference the $linkProtocolPattern against the complete list to see what other schemes TWiki might want to parse out of the URI : http://www.w3.org/Addressing/schemes

-- TomKagan - 26 Nov 2003

I looked through the schemas and did not find any common ones worth adding. Let us know if you know of any.

I changed this from a BugReport to a Feature request.

Change is now in TWikiAlphaRelease and at TWiki.org.

-- PeterThoeny - 01 Dec 2003

>looked through the schemas and did not find any common ones worth adding. Let us know if you know of any.

How about "nntp" ??

-- TomKagan - 01 Dec 2003

OK, added nntp.

-- PeterThoeny - 01 Dec 2003

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2003-12-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.