D&Dbrowser
Posted: Sun Oct 01, 2017 6:28 pm
The first browser in Smart Basic was made by Dav: viewtopic.php?f=20&t=854
The extensions in this version have been developed by Dutchman: viewtopic.php?f=20&t=1953
Therefore the name D&Dbrowser.
Its usage is described in Browser.info which is in the package. A PDF-version is attached: The browser has the following buttons: The folder "Browser" has been 'packed' completely in an archive-file (updated 20180114): This file can be 'unpacked' with the install-program (updated 20180114): Remove the extension ".txt" as usual
The following folders and files will be installed
The user-settings are in a separate file "preferences.default" so that they are automatically transferred to new versions.
In order to prevent "preferences.default" from overwriting, you could rename it to e.g. "preferences.name" and change the include-statement in the top of the program accordingly, from {preferences.default} to {preferences.<username>}.
The file "preferences.…" is and should be placed in the folder "SYSTEM/"
After program run the folder "SYSTEM" will contain four files.
NOTE: To run the browser from Safari, the ampersand "&" should be entered as "%26" without the quotes. (=hexadecimal code)
My command from the desktop-icon is "http://nittersat.ru/sb.php?/" followed by "My%20stuff/Browser/D%26Dbrowser.sb"
See page 75 in the PDF-manual.
Read "Browser.info" for details on usage of buttons and utilities. The following is only a short description of the functionality
• The 'link' button is for downloading all http-links on the webpage with an extension that is in the variable 'LinkExt$' which could e.g. be set to "PDF,DOC,TXT".
• The 'filmstrip' button is for downloading the pathnames of the images in the current webpage.
Two types of images are downloaded. Pictures as part of the website and images posted on the website.
• The "selection and copy" ability for a code-section is inconvenient on iPad, almost impossible. That's why I added the ability to download code. It can be directly written from the browser or extracted from the 'dumped' webpage.
• If you touch an attachment on the webpage, then it will not be downloaded as on a computer, but will be displayed, including strange characters if it is a non-text file. If you touch then the 'down-arrow', then all download-links will be stored in a file with pathname and filename. These links are also stored in Clipboard, and can thus be used to transfer them directly within a program.
• And finally, the file "SYSTEM/favorites." contains the bookmarks for the browser.
If it is not present, it will be generated by the browser with default content.
The files are also available on Dropbox in the folder "Browser": https://www.dropbox.com/sh/g44znsr8hcsv ... mc72a?dl=0
The following screenhots give an example of display after touching the 'filmstrip'-button:
The extensions in this version have been developed by Dutchman: viewtopic.php?f=20&t=1953
Therefore the name D&Dbrowser.
Its usage is described in Browser.info which is in the package. A PDF-version is attached: The browser has the following buttons: The folder "Browser" has been 'packed' completely in an archive-file (updated 20180114): This file can be 'unpacked' with the install-program (updated 20180114): Remove the extension ".txt" as usual
The following folders and files will be installed
Code: Select all
#Browser/
Browser/Browser.info
Browser/D&Dbrowser.sb
Browser/changes.history
#Browser/SYSTEM/
Browser/SYSTEM/Preferences.default
#Browser/SYSTEM/ButtonPics/
Browser/SYSTEM/ButtonPics/buttons.PNG
Browser/SYSTEM/ButtonPics/pb.PNG
Browser/SYSTEM/ButtonPics/sb.PNG
In order to prevent "preferences.default" from overwriting, you could rename it to e.g. "preferences.name" and change the include-statement in the top of the program accordingly, from {preferences.default} to {preferences.<username>}.
The file "preferences.…" is and should be placed in the folder "SYSTEM/"
After program run the folder "SYSTEM" will contain four files.
NOTE: To run the browser from Safari, the ampersand "&" should be entered as "%26" without the quotes. (=hexadecimal code)
My command from the desktop-icon is "http://nittersat.ru/sb.php?/" followed by "My%20stuff/Browser/D%26Dbrowser.sb"
See page 75 in the PDF-manual.
Read "Browser.info" for details on usage of buttons and utilities. The following is only a short description of the functionality
• The 'link' button is for downloading all http-links on the webpage with an extension that is in the variable 'LinkExt$' which could e.g. be set to "PDF,DOC,TXT".
• The 'filmstrip' button is for downloading the pathnames of the images in the current webpage.
Two types of images are downloaded. Pictures as part of the website and images posted on the website.
• The "selection and copy" ability for a code-section is inconvenient on iPad, almost impossible. That's why I added the ability to download code. It can be directly written from the browser or extracted from the 'dumped' webpage.
• If you touch an attachment on the webpage, then it will not be downloaded as on a computer, but will be displayed, including strange characters if it is a non-text file. If you touch then the 'down-arrow', then all download-links will be stored in a file with pathname and filename. These links are also stored in Clipboard, and can thus be used to transfer them directly within a program.
• And finally, the file "SYSTEM/favorites." contains the bookmarks for the browser.
If it is not present, it will be generated by the browser with default content.
The files are also available on Dropbox in the folder "Browser": https://www.dropbox.com/sh/g44znsr8hcsv ... mc72a?dl=0
The following screenhots give an example of display after touching the 'filmstrip'-button: