Menu

#5 man page describes --html as "html output"

closed
nobody
None
5
2004-04-28
2004-04-28
Anonymous
No

man page erroneously describes the output as "HTML" when it is in fact just a fragment of HTML, requiring a head and foot to be pasted around it for it to be valid HTML.

--html Generates a HTML calendar suitable for display on a web page. The number of weeks
shown on the calendar can be adjusted with -c. You can use Cascading Style Sheets
(CSS) to change how the calendar appears. See /usr/share/doc/pal-#.#.#/example.css
for an example style. SECURITY NOTE: If you set up pal so it is being executed
server-side, it is recommended that you do not allow web page visitors to directly
change the parameters sent to pal. Allowing users to pass strange parameters (such
as extremely long ones) can be a security risk.

Discussion

  • Scott Kuhl

    Scott Kuhl - 2004-04-28
    • status: open --> closed
     
  • Scott Kuhl

    Scott Kuhl - 2004-04-28

    Logged In: YES
    user_id=941561

    Good point. I just committed this text to CVS:

    --html Generates a HTML calendar suitable for display on
    a web page. It does not generate a complete HTML document
    so that you can add your website's header and footer
    around the calendar. The number of weeks shown on the
    calendar can be adjusted with -c. ....

    I'm closing this bug, but let me know if you think text is
    still misleading.

     

Log in to post a comment.