GetNET.thor 1.3 by Remco van Hooff (rvhooff@globalxs.nl) GetNET can do 2 things: - Get http adresses (WWW addresses) from the current message, and save them to a hotlist of your choise. - Get email addresses out of the current message, and save them to the userlist of your Email system. REQUIREMENTS: - Thor 2.2+ - COPY and DELETE somewhere in your path - A WWW browser (Amosaic, IBrowse, ALynx, AWeb, ...), only for the www addresses. FEATURES: - Multi-hotlist support (AMosaic, IBrowse, HTML, AWeb) - Listview interface - Configurable filter USAGE: As usual you need to edit some variables: - Edit the bbs variable (line 5) to point to your Email system. - Edit the hotlist_* variables for the right path/file for the hotlists. - Edit the amosaic/ibrowse/voyager/aweb/html variables: 1 = save to hitlist, 0 = don't save to hotlist You can have all set to 1 if you use all the browsers, or 0 if you don't want to save anything :.) (you'll be notified if you have turned all off). - Edit the loop variable: 0 = loop 1 = no loop This variable will enable you to return to the main requester (chose between HTTP, Email or Quit) after you've saved email/http addresses. - You can also edit the filter chars, I already included the most common chars. The '.' is "hardcoded" and is therefore not included in the filter list. A filter character is a character that may be "connected" to an address, e.g. The '<' and '>' are not part of the actual address and thus should be removed. So filters for these characters are: filter.1.x = '>', filter.2.x = '<' filter.1.x are used for chars that follow the address (http and email) filter.2.x are used for chars that preceed the address (email only) Note: - You can leave the name of the address empty, they will automatically be replaced by a default name. If you selected HTTP the default name is 'subj (i)', subj is the subject of the msg without 'Re:'. If you selected Email the default name is the userid (eg rvhooff in rvhooff@globalxs.nl). - Duplicate addresses will not be shown. - HTTP will also search the msg HEADER, Email will not. AUTHOR: For bugs, comments, flames, typos, optimizing tips: Internet: rvhooff@globalxs.nl FIDO : 2:286/407.39 AMY : 39:153/201.39 Also have a look at my homepage for more Thor ARexx scripts. http://www.globalxs.nl/home/r/rvhooff HISTORY: 1.0 - Joined 2 programs (GetHTTP and GetEmail) together into one program. The programs use a lot of similar code, so joining them together will use less HD space :.) 1.1 - Added AWeb hotlist support. - Removed 'GetNet -' from default names when saving to the hotlists. - Added loop option. You can now chose if you want to return to the start requester or not. - Changed the IBrowse hotlist format to that of verion 0.81. 1.2 - Added Voyager hotlist support. 1.3 - Fixed some trouble with arexx ports when ConnectThor was running. TO DO: - More hotlists (send me a short hotlist if you want to have it supported). - GetFTP. I'm still working on it, but filtering won't be fool-proof. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! I will also need to get my hands on some hotlist formats !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (AmiFTP, AmFTP, MFTP, etc.). The only known format to me is that of DaFTP (0.1130), which I figured out myself. So is there anyone who can help me out?