aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1229

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1229  Can iziBasic read/write .html files?

17/07/2005 @ 11:25
by Jim

Anonymous



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
Write to Jim   Post an answer  Top

[]   


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

Anonymous

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
Write to aldweb   Post an answer  Top

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

Anonymous

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?
  Post an answer  Top

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

Anonymous

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?
Write to Jim   Post an answer  Top

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

Anonymous

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
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^