Efficient and affordable software for Macintosh - Maker of MaxBulk Mailer, eMail extractor, eMail Checker, e-Mail Bounce Handler

Home

Products

Downloads

News

Store

Support

Forums

Forums


 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Custom file types?

 
Post new topic   Reply to topic    Maxprog Forum Index -> Web Dumper
Author Message
Mclane



Joined: 02 Mar 2006
Posts: 1

PostPosted: Thu Mar 02, 2006 4:17 pm    Post subject: Custom file types? Reply with quote

I want to only grab .atr files (used by an emulator) and .rar files but the file download section does not have these, can they be manually added?

Many thanks
Back to top
stanbusk
Site Admin


Joined: 28 Dec 2005
Posts: 2425

PostPosted: Thu Mar 02, 2006 5:32 pm    Post subject: Reply with quote

To add new types you have to edit the preference file with BBedit or TextWrangler on the Mac or NotePad on the PC. The file is named "Web Dumper Preferences" and depending on you system it is located inside your home/library/preferences folder on Mac OS X or 'C:\Documents and Settings\<your account name here>\Application Data\Maxprog\Web Dumper\Web Dumper.ini' in Windows. Add a new Etx_Map_Entry line. The etx_Map_Entry line is made of 9 fields delimited with tabs as follow:
Code:

 etx_map(1) = FileDesc, the file type description
 etx_map(2) = MimeType, the MIME type
 etx_map(3) = Extension, the file extention
 etx_map(4) = Local_Ext, again the extention but without the dot
 etx_map(5) = MacType, the Mac type
 etx_map(6) = MacCreator, the Mac creator
 etx_map(7) = Active, '1' to activate this file type
 etx_map(8) = Link_Parse, '0' to disallow parsing
 etx_map(9) = str(Icon_ID), Icon ID


For example:
Code:

 etx_map(1) = Powerpoint ppt File
 etx_map(2) = application/vnd.ms-powerpoint
 etx_map(3) = .ppt
 etx_map(4) = ppt
 etx_map(5) = SLD3
 etx_map(6) = PPT3
 etx_map(7) = 1
 etx_map(8) = 0
 etx_map(9) = 640

the full line should look like this:
Code:

/Etx_Map_entry=    Powerpoint ppt File    application/vnd.ms-powerpoint   .ppt   ppt    SLD3    PPT3    1    0    640
Back to top
xtrmtrk



Joined: 19 Oct 2006
Posts: 1

PostPosted: Thu Oct 19, 2006 5:18 am    Post subject: More on file types Reply with quote

What if the file doesn't have a .filetype suffix? That is the files have a simple name and are plain text.
Back to top
stanbusk
Site Admin


Joined: 28 Dec 2005
Posts: 2425

PostPosted: Thu Oct 19, 2006 10:12 am    Post subject: Reply with quote

Try:

Code:

/Etx_Map_entry=   Plain Text File   text/plain      txt   TEXT   ttxt   1   0   640
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Maxprog Forum Index -> Web Dumper All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
captcha mod by phpbb-security.com

Home

Products

Downloads

News

Store

Support

Forums


Maxprog ® - MAX Programming, LLC - © 2001-2006 - All Rights reserved
Company Info | Site Map | Legal Notice | Privacy Policy | Jobs