Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Text::Hatena::AutoLinkUser Contributed Perl DocumentaText::Hatena::AutoLink(3)

NAME
       Text::AutoLink -	Perl extension for making hyperlinks in	text
       automatically.

SYNOPSIS
	 use Text::Hatena::AutoLink;

	 my $parser = Text::Hatena::AutoLink->new;
	 my $html = $parser->parse($text);

DESCRIPTION
       Text::Hatena::AutoLink makes many hyperlinks in text automatically.
       Urls will be changed into hyperlinks.

       Incompatibility at version 0.20
	   All codes were rewritten at version 0.20 and	some functions were
	   removed.  API for parsing text were changed too. Please be careful
	   to upgrade your Text::Hatena::AutoLink to version 0.20+.

METHODS
       Here are	common methods of Text::Hatena::AutoLink.

       parse
	     my	$html =	$parser->parse($text);

	   parses text and make	links. It returns html.

Text::Hatena::AutoLink Syntax
       Text::Hatena::AutoLink supports some simple syntaxes.

	 http://www.hatena.ne.jp/
	 [http://www.hatena.ne.jp/:title=Hatena]
	 [http://www.hatena.ne.jp/images/top/h1.gif:image]
	 [http://www.hatena.ne.jp/images/top/h1.gif:image:w300]
	 mailto:someone@example.com

       These lines all become into hyperlinks.

	 []http://dont.link.to.me/[]

       You can avoid being hyperlinked with 2 pair brackets like the above
       line.

SEE ALSO
       Text::Hatena

AUTHOR
       Junya Kondo, <jkondo@hatena.ne.jp>

COPYRIGHT AND LICENSE
       Copyright (C) Hatena Inc. All Rights Reserved.

       This library is free software; you may redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1			  2007-02-27	     Text::Hatena::AutoLink(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | Text::Hatena::AutoLink Syntax | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Text::Hatena::AutoLink&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help