Basically the HTML is a small part of a larger whole.
The idea of storing in separate files might work, but ideally would like to keep everything in a single storage format.
The CSV format is because this is for use on a bog standard webserver, minus a SQL server and such like.
The use here is that HTML is pasted/typed into a textarea box on a webform, (along with some other info) and is stored in the table.
The table is then queried and used to produce firstly a list of pages and then upon clicking on a link, they are displayed a web page with the HTML.
Kind of a CMS, mainly a get the design away from the infrastructure kinda thing. The people who will be typing the data will start by writing plain text, which would then have html tags added afterwards.
Commas are the killer at themoment obviously :-)
Kia Kaha, Kia Toa, Kia Manawanui!
Be Strong, Be Brave, Be perservering!
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.