LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2006, 05:11 PM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Looking for an HTML editor


Hello everyone, I'm looking for a very specific kind of program. I want a minimalistic WYSIWYG html editor. Preferably a small, fast executable that correctly renders and writes a very small subset of html - no dynamic or interactive pages. Specifically, I only need it to support these tags:

<p></p><br><OL></OL><LI></LI><b></b><u></u><i></i><FONT></FONT><img><UL></UL><TABLE></TABLE><TR></TR> <TD></TD><sup></sup><sub></sub><del><del><div></div>

In fact, if it doesn't support any other tags, then that's even better! Google searches keep turning up NVu and Quanta, but I really want something much smaller.

I understand such a program may not exist, and I may be forced to write it. Can any more experienced developer tell me how difficult it would be to write such a minimalistic editor, if I based it on dillo, for example?

Thanks!
 
Old 12-21-2006, 05:13 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Don't have any reason to believe it's any more minimalistic than the ones you've seen, but SeaMonkey (or IceApe if it's Debian) includes a WISIWYG HTML editor.
 
Old 12-21-2006, 06:06 PM   #3
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Assuming I wind up having to write this, would it be easier to build one up from a browser like dillo, or strip one down from something like the SeaMonkey one?
 
Old 12-21-2006, 08:02 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Okay, so I'm going to show my youth a bit here. I know that Netscape became Mozilla, and Mozilla creates opensource browswers, but was Netscape itself open-source? Since I'm basically using very old html, I could just use a very old WYSIWYG editor. I'll google this too.
 
Old 12-21-2006, 08:15 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Searching the Etch repo for "wysiwyg" turned up this:

tinymce - platform independent web based Javascript/HTML WYSIWYG editor
 
Old 12-21-2006, 08:35 PM   #6
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Ideally, I'm looking for something even more basic than that, as I want to somehow convince it to only output the above listed tags. I suppose I should start looking at old programs, but thanks so much for your help. TinyMce could be a starting point to stip down from.
 
Old 12-21-2006, 09:08 PM   #7
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
In my experinece, dillo doesn't support fonts very well. I suggest looking on sourceforge or freshmeat to find what your looking for. By the way, does size of the program matter, or is "old html", the only criteria? If so, you might want to go with Mozilla.
 
Old 12-21-2006, 11:06 PM   #8
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Well, the size of the program matters very much. I am hoping to make a contribution to the OLPC project by coming up with a new document format. I noticed that reading e-books would involve pdf's, which are enormous when you consider that the things have only a miniscule bit of disk space. So, anyways, I'm writing a document format from scratch and optimizing it for size. The format itself is all binary, but I'm trying to use simplistic html as an intermediate file format to save me the trouble of writing something to render this new format - just leverage all the pre-existing browsers instead.

My trouble is, my format is all but useless until I can provide a way to create them that doesn't involve sitting down with the specs and a hex editor - hence html.

Note: I'm also doing this as a learning experience and this is in pre-pre-alpha development (aka, I haven't done much coding). OLPC doesn't know I'm working on it, or that I exist. I was going to submit it once I have a resonably working format.
 
Old 12-22-2006, 12:08 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If you want minimalist, why not use a NON-wysiwyg editor? I really like Bluefish---I am very much in control and cut and try layout goes quite fast once you are used to it.
Most wysiwygs are not targeted to minimalists.
 
Old 12-22-2006, 12:14 AM   #10
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
I would go non-WYSIWYG if myself or people like me were the intended audience, but I would like to eventually develop it to a point where the editor would be useful for teachers to create e-documents for their students. Not to mention, the html intermediate format is not necessarily permanent. It may be, if it's decided that such is the best way, but html is only my temporary solution to save myself from having to write a rendering engine for this new format. (Until later). After all, the format is more intended as a minimalist pdf replacement than an html replacement.

I guess the best way to say it is that I'm (at least temporarily) trying to use a minorly hacked subset of html as an interface to this format - it's not the format itself.
 
Old 12-22-2006, 12:17 AM   #11
uglydot
Member
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
Or even something like pico or nano.
 
Old 12-22-2006, 03:38 PM   #12
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
It doesn't appear that such a WYSIWYG editor exists, not many people really want to blend WYSIWYG with minimalist, since WYSIWYG is sort of inherently non-minimalist. I'm looking into the Scribus file format, hoping to find it XML-based, so that I can us it as an intermediate format. Scribus is also too big for those computers, so I guess I'll be stuck writing a rendering engine after all.
 
Old 12-22-2006, 07:41 PM   #13
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally Posted by PatrickNew
I noticed that reading e-books would involve pdf's, which are enormous when you consider that the things have only a miniscule bit of disk space.
Are you talking about some book or books in specific? Otherwise, I tend to disagree with this statement. If you remove the "images/jpegs/pictures" out of the pdf books, they can be quite small. I have SEVERAL pdf books stored on my pda, and I view them with xpdf.
 
Old 12-22-2006, 08:05 PM   #14
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
I didn't mean that pdf's were large, I meant that they were large *considering the OLPC hard drive size*. I went into openoffice, typed a one-page document, and exported to pdf (and saved in a variety of other formats for comparison. Then I hand-entered it into my format (well, a prototype of it). The pdf was 42k, an odt was 15k, and mine was 1.5k. Now, I'm not claiming to have found a way to compress pdf by that much - a acheived the decrease in size by using a severly limited feature set. However, when your hard drive is that small, smaller is better for documents.
 
Old 12-22-2006, 09:30 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have you considered LaTeX? It's hardly more verbose than
HTML, and there's tools to produce PS and PDF output if
eye-candy is what you're after in the end. And it doesn't
take long to learn, even for non-techie people.


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best HTML editor web250 Linux - Software 7 07-11-2007 01:08 AM
HTML editor rblampain Programming 9 07-26-2005 09:30 AM
HTML Editor MrTheGeek Linux - General 9 12-14-2004 05:26 AM
html editor c0c0deuz Linux - Software 2 12-06-2003 03:45 PM
html editor i_is_cat Linux - Software 8 05-15-2003 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration