Hello.

I am thinking about writing a somewhat primitive HTML editor (to get more advanced as needed/as I can manage). The goals are to be able to (once given a base directory where the webpage is stored) have some way of accessing each of the html files. These would be presented to the user in some way (a tree-type structure, a tab interface, etc.). The user could select some given file, and it would be entered into a viewing window (the defualt being the index file in the base directory). This window would parse the document and in a separate window somewhere display the results in some way (distantly related to something like Visual C++ 6, if anyone is familiar with that). Also, the HTML tags/text in them/non-html content would be in some way altered -- font/size/color/combo -- to make it visually stand out to the user, and possibly an indentation system used.

Well, anyway, before I get too involved in details (most of which I haven't thought out, as I'm just beginning to toy with this idea), I'll say why I'm posting here. There's a lot of intelligent people in this community, many of which use HTML on a regular basis (and presumably most/all which use perl on some basis), and I imagined it would be a great place to gather ideas/tips/suggestions/preferences (e.g., if you'd like to see something in an editor that you would find helpful, just say something)

I'll post the resulting code on this site (and possibly periodically along -- definitely if I run into problems I have trouble fixing!).

I will be developing this application so that people not very familiar with HTML (beginners/those just learning) can have an easier time with it, but also with an interface that allows more advanced users to harness the power they need (CSS/Javascript/etc., as the case may be). I don't have tons of time to work on this, but if there's interest out there to make this, I'd be glad to accept any help or participation (i.e., we'd co-work on the project; the more the merrier, and more importantly, more features which would be enabled).

If the latter's the case, just say.

I plan to use Tk and HTML::Parser as a start. (I'm not familiar with the latter, if anyone knows a good site that explains its features, though I'll be downloading it shortly and will learn more about it then.) Again, all suggestions and help welcome!


In reply to HTML Editor: a project by dimmesdale

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.