|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1229 |
Can iziBasic read/write .html files? |
17/07/2005 @ 11:25 by Jim
|
I would like to write a small application that will parse an external .html file located on a memory card. Can iziBasic do this?
It appears that the File commands (Open, etc.) deal strictly with .pdb files.
Anyone know how to open an external text file (in this cas, a .html file) on an external memory card?
Thanks! -Jim |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 18/07/2005 @ 19:47 by aldweb
visitor |
Hello Jim,
A html file is nothing else but a text file with tags inside the text. So, basically, I think that you have 2 ways to deal with your project: #1. write a "PP applet" that manages calls to the VFS (Virtual File System) APIs and sends the read text to iziBasic's main code for further treatment. #2. use some 3rd party tool like SiEd or CardTXT to "import" your file into a PDB file that then you will be able to parse with iziBasic's statements and functions.
I hope this helps...
Cheers,
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 31/07/2005 @ 19:37 by Roger
visitor |
Jim, There is already a Palm app called "PHTML", which edits,reads, and writes HTML. Are you looking to edit the html code for a certain reason? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 16/09/2005 @ 15:44 by Jim
visitor |
Roger,
I don't want to edit it, but "parse" it.
There is a cool Browser-based "wiki-like" application called TiddlyWiki (http://tiddlywiki.com) that I am totally enamored with. It is an application consisting of a single HTML file containing HTML, CSS, JavaScript code, and data. I would like to be able to have the HTML file reside on a Memory card, read in the HTML file, extract out the data section, and then use a yet-to-be-written PalmOS app to manipulate that data and then write back any changes to the HTML file on the Memory Card. Whew! http://www.aldweb.com/inc/img/smileys/eek.gif
Clear as mud? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 19/09/2005 @ 10:35 by aldweb
visitor |
Hello Jim,
Yes TiddlyWiki is a terrific concept, very well developed and incredibly powerful to use.
To read or write in the HTML file stored on a Memory Card, a "PP applet" will be required for the time being, until iziBasic in some future version offers Memory Card reading & writing statements.
Cheers, aldweb |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|