extract_url.pl 1.3.3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News extract_url.pl 1.3.3 (Default branch)
# 1  
Old 09-23-2008
extract_url.pl 1.3.3 (Default branch)

extract_url.pl is a Perl script that extracts URLsfrom either correctly-encoded MIME email messagesor from plain text. It can be used either as apre-parser for a URL selector (such as urlview),or as a standalone URL selector. It is veryconfigurable, can handle URLs that have beenbroken over several lines in format=floweddelsp=yes email messages, and eliminates duplicateURLs. It was designed primarily for use with Mutt,but can be used by for any similar purpose. Theidea is that if you want to access a URL in anemail, you pipe the email to a URL extractor (likethis one), which then lets you select a URL toview in some third program (such as Firefox).License: BSD License (original)Changes:
Sometimes, multipart/alternative parts don'tactually have analternative, which could confuse the script.They're now handledcorrectly, and MIME parsing has been made morerobust.Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
MIME::Base64::URLSafe(3pm)				User Contributed Perl Documentation				MIME::Base64::URLSafe(3pm)

NAME
MIME::Base64::URLSafe - Perl version of Python's URL-safe base64 codec SYNOPSIS
use MIME::Base64::URLSafe; $encoded = urlsafe_b64encode('Alladdin: open sesame'); $decoded = urlsafe_b64decode($encoded); DESCRIPTION
This module is a perl version of python's URL-safe base64 encoder / decoder. When embedding binary data in URL, it is preferable to use base64 encoding. However, two characters ('+' and '/') used in the standard base64 encoding have special meanings in URLs, often leading to re-encoding with URL-encoding, or worse, interoperability problems. To overcome the problem, the module provides a variation of base64 codec compatible with python's urlsafe_b64encode / urlsafe_b64decode. Modification rules from base64: use '-' and '_' instead of '+' and '/' no line feeds no trailing equals (=) The following functions are provided: urlsafe_b64encode($str) urlsafe_b64decode($str) If you prefer not to import these routines to your namespace, you can call them as: use MIME::Base64::URLSafe (); $encoded = MIME::Base64::URLSafe::encode($decoded); $decoded = MIME::Base64::URLSafe::decode($encoded); SEE ALSO
MIME::Base64 Fore more discussion on using base64 encoding in URL applications, see: http://en.wikipedia.org/wiki/Base64#URL_Applications AUTHOR
Kazuho Oku <kazuho ___at___ labs.cybozu.co.jp> Copyright (C) 2006 Cybozu Labs, Inc. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. perl v5.8.8 2006-01-05 MIME::Base64::URLSafe(3pm)