At it's simplest, presuming you have access to this HTML file, just edit it with a text editor. Simply insert your comments between <i>Your comments here</i>

As you mention a user friendly admin page I presume you want to do this editing across the web. Again at its simplest you want a script to read the file you want to edit and then output a web page containing a text area. This text area is set to the contents of the file to be edited so you get an editable copy of the file in your browser. You then insert your comments wherever you want. When you press submit this text area is sent back to the script where it is used to rewrite the original file. Thus you have edited the file over the web. This is the basic HTML your script would need to output.

<html> <head> <title>Admin Page</title> </head> <body onLoad="document.form.text.focus()"> <form method="POST" name="form" action="/cgi-bin/myscript.pl"> <p> <textarea rows="20" name="text" cols="75"> File text to edit goes here via variable </textarea> </p> <p> <input type="submit" value="Submit" name="submit"> <input type="reset" value="Reset" name="reset"> </p> </form> </body> </html>

It is hard to be much more specific given your somewhat vague request. I'm sure you will get more feedback if you can be more specific as to the details.

cheers

tachyon


In reply to Re: admin. guestbook by tachyon
in thread admin. guestbook by deriwana

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.