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
Text::Hatena::AutoLink(3) User Contributed Perl Documentation Text::Hatena::AutoLink(3)

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

  use Text::Hatena::AutoLink;

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

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+.

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 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.

Text::Hatena

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

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.

2007-02-27 perl v5.32.1

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

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