GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEXT::HATENA::AUTOLINK (3)

.ds Aq ’

NAME

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

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::HATENA::AUTOLINK (3) 2007-02-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.