Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTML::ActiveLink 1.02

    Download button

    No screenshots available
    Downloads: 566  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nathan Wiger, Nateware, Inc. | More programs
    Perl Artistic License / FREE
    August 7th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::ActiveLink description

    A module which dynamically activates HTML links based on URL.

    HTML::ActiveLink module dynamically activate HTML links based on URL.

    SYNOPSIS

    use HTML::ActiveLink;

    my $al = new HTML::ActiveLink;

    print $al->activelink(@html_doc);


    I don't know about you, but one of the main problems I have with HTML content is getting images and links to "turn on" depending on the current URL location. That is, I like authoring one set of templates, something like this:

    [ < a href="/" >Home< /a > | < a href="/faq/" >FAQ< /a >
    | < a href="/about/" >About Us< /a > ]


    And then having the appropriate link turned on, so that if I'm running inside the /home/ directory, the above turns into this:

    [ < font color="red" >Home< /font > | < a href="/faq/" >FAQ< /a >
    | < a href="/about/" >About Us< /a > ]


    Without having to write a whole bunch of if's, or writing a bunch of different sets of templates, etc.

    This module handles the above process automatically. By default, it will activate any text or images with < a href > tags around them by stripping the link off and changing the appearance of text and names of images. All transformations are fully customizable, allowing you to choose how your active text should look. HTML::ActiveLink can even automatically construct imagemaps depending on your location.
    In the simplest case, all you have to do is create a new object by a call to new(), and then call the main activelink() function which takes care of the transformation. To customize what the output HTML looks like, keep reading...


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    activate HTML links | activate URL | Perl module | activate | HTML | links

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM