extract_url.pl 1.4.1 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News extract_url.pl 1.4.1 (Default branch)
# 1  
Old 10-24-2008
extract_url.pl 1.4.1 (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:
This release has better contextual text handling (it uses word boundaries instead of explicit string lengths), and pulls URLs out of HTML text in addition to HTML tags. This may be somewhat sensitive to formatting issues (unexpected line breaks, etc).Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
URLCODING(3)						 libbash urlcoding Library Manual					      URLCODING(3)

NAME
urlcoding -- a Libbash library for encoding and decoding URL's. SYNOPSIS
urlEncodeString [-l] <STRING> urlEncodeFile [-l] <FILE> urlEncodeStream [-l] urlDecodeString <STRING> urlDecodeFile <FILENAME> urlDecodeStream DESCRIPTION
urlcoding is a collection of functions that convert ASCII-text to standard URL's and vice-versa. The AWK code used is based on code by Heiner Steven <heiner.steven@odn.de> The function list: urlEncodeString Creates a URL from an ASCII string urlEncodeFile Converts a file into URL-valid text urlEncodeStream Converts standard input into URL-valid text urlDecodeString Converts a URL-encoded text back to a plain-text form urlDecodeFile Coverts URL-encoded text in a file back to plain text urlDecodeStream Converts URL-encoded standard input to text Detailed interface description follows. The [-l] option for the encoding functions should be used when line-feed characters (' ') are to be encoded as well. All functions print the results of their conversions to standard output. The exit status of all functions is that of the command 'awk', with '0' for success FUNCTIONS DESCRIPTIONS
urlEncodeString [-l] <STRING> Converts STRING - a string of ASCII characters - to URL. urlEncodeFile [-l] <FILE> Coverts FILE of URL-encoded text to plain text urlEncodeStream [-l] Converts text from standard input to URL-text. urlDecodeString <STRING> Converts URL-encoded string STRING back to text. urlDecodeFile <FILENAME> Converts the URL-encoded text in FILE to plain text. urlDecodeStream Converts the URL-encoded text from standard input to plain-text AUTHORS
Alon Keren <alon.keren@gmail.com> SEE ALSO
ldbash(1), libbash(1) Linux Epoch Linux