In message <ejmu90l2hbkjrvrbskoj4ejv60pegsgu4m@4ax.com>, AF
<bscinc3000@NOSPAMYahoo.com> writes[color=blue]
>On Mon, 10 May 2004 08:56:20 +0100, Five Cats <cats_spam@[127.0.0.1]>
>wrote:
>
>snip...[color=green][color=darkred]
>>>[/color]
>>There are a variety of text fields in MySQL, but none of them are the
>>kind of 'rich text' field you want. You would have to populate them
>>with the correct HTML to produce the result you wanted in the browser.
>>[/color]
>
>You have an accurate picture of what I want to do. How do really big
>sites, like About.com, input all of their articles?[/color]
I can't say as I can only see what they produce.
[color=blue]
> I can see how to
>handle pictures, but what about tables and lists that are part of my
>page content?
>
> Do they use languages that do have this kind of field? Or do they
>just input the code for the whole content?
>
>In the example I posted:
>
>"Abundant Earth offers a wide variety of environmentally sensitive
>products and services for people who want to make a difference in the
>world.
>
>Departments include:
>
>Air Purification
>Bags & Packs
>Beds & Bedding
>Candles - Holders
>Cards - Journals
>Children - Fun
>Cleaning "
>
>is there a way to post this with a pseudo html, something like this:
>
>"Abundant Earth offers a wide variety of environmentally sensitive
>products and services for people who want to make a difference in the
>world.
>
>Departments include:
>
><li>Air Purification
><li>Bags & Packs
><li>Beds & Bedding
><li>Candles - Holders
><li>Cards - Journals
><li>Children - Fun
><li>Cleaning "
>
>The point being that a paragraph needs no code to be rendered
>properly,[/color]
Possibly - but see the comment on CSS below.
[color=blue]
> but the list of items does.
>
>This would be doable from an input point of view. But if I had to add
>the <br>'s and other code in order to render the whole page that would
>be very inefficient.[/color]
What <br> would that be?
Departments include:
<ul>
<li>Air purification</li>
etc.
</ul>
The tags have to be there in the final analysis.
[color=blue]
>
>What about all of these content management systems I see? They have
>fields that allow bold, italics, centering, fonts changes in size and
>color. How do they handle the code?
>
>Do they convert the field I would input into html and then save it?[/color]
Have never seen or used one so cannot comment, but I'm sure that style
sheets are part of it as well so that it's easy to alter the style of a
given type of element without having to alter all the pages or whatever.
They might be storing the stuff as XML and doing things to it on it's
way out.
There are lots and lots of ways of doing things, so as the questions get
more & more detailed it gets harder & harder to provide answers as what
comes into my head are more & more questions.... ;-)
[color=blue]
>
>Thanks to everyone that has posted.
>
>Cheers to everyone,
>
>Al
>
>
http://www.discountdrivingschool.com[/color]
--
Five Cats
Email to: cats_spam at uk2 dot net