NAME

WebShortcutUtil - Perl module for reading and writing web shortcut files

DESCRIPTION

This module is part of the WebShortcutUtil suite. For more details see the main website at http://beckus.github.io/WebShortcutUtil/ .

All of the subroutines are contained in the Read and Write submodules. See those submodules for usage information.

A brief list of the supported shortcut types:

  • .desktop - Free Desktop shortcut (used by Linux)

  • .url - Used by Windows

  • .website - Used by Windows

  • .webloc - Used by Mac

In order to read/write ".webloc" files, the Mac::PropertyList module (http://search.cpan.org/~bdfoy/Mac-PropertyList/) must be installed. Mac::PropertyList is listed as a dependency, but the the WebShortcutUtil module will still test out and install properly if it is not present. The webloc subroutines will die if the Mac::PropertyList module is not installed.

Note that this module is still beta-quality, and the interface is subject to change.

SOURCE

https://github.com/beckus/WebShortcutUtil-Perl

FUTURE IDEAS

Some ideas for enhanced functionality:

  • For ".desktop" files, add logic to extract the names embedded in a shortcut (including all localized versions of the name). Similar logic could also be written for ".website" files.

  • Explore unicode functionality for ".webloc" files. Will a Mac open a URL that has unicode characters?

  • Add an ASCII conversion option to the filename creation routines (i.e. to remove unicode characters).

AUTHOR

Andre Beckus <beckus@cpan.org>

SEE ALSO

  • Main project website: http://beckus.github.io/WebShortcutUtil/

  • Read module: http://search.cpan.org/~beckus/WebShortcutUtil/lib/WebShortcutUtil/Read.pm

  • Write module: http://search.cpan.org/~beckus/WebShortcutUtil/lib/WebShortcutUtil/Write.pm

  • Perl module for using Windows shortcuts: http://search.cpan.org/~ishigaki/Win32-InternetShortcut/

COPYRIGHT AND LICENSE

Copyright (C) 2013 by Andre Beckus

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