Page 1 of 1

Peanut Markup Language

Posted: Thu Jan 10, 2002 11:05 pm
by Mark Anderson
I was going to have a go at developing a Syntax file for the mark-up language for Palm Press eBooks, but I am having a hard time getting started as the documentation seems a little light on the structure of the syntax files. I thought it would be easier to start from an existing file, but I am having trouble identifying something similar in structure as a starting point. It seems closest to Rich Text, but that doesn't seem to have been done either.

Does anyone have a suggestion on where i could start?

Also, does any one know of a tool for stripping HTL tags from documents?

Any help appreciated.

Re: Peanut Markup Language

Posted: Sun Jan 13, 2002 4:01 pm
by Jeff Epstein
Regarding stripping all html out of your document:

Replace: <[^>]+>
Replace with: [nothing]
Regular expression: Checked

You'll still have to clean it up a bit, but it's a good start. Reduced the html code of this very page (view source) by about 80%.