[thelist] content templates with ASP and SQL - converting hard returns to <p></p>

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Mon Jan 21 12:07:37 CST 2002


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Hi Joel

While I don't have a down and dirty with the code answer, have you looked
at
Structured Text?

You might find something in a Wiki implementation which is repurposable.

Cheers
Martin


To:   thelist <thelist at lists.evolt.org>
Subject:  [thelist] content templates with ASP and SQL - converting hard
      returns to <p></p>


Short version:
How do I capture the hard returns in a textarea form field and convert them
to HTML tags?

Longish version:
I need to come up with a content management system for certain parts of our
external website quickly. In the long run we'll probably turn certain areas
of the site over to the appropriate departments via a full-blown CMS, but
we're not ready for the big software purchase yet.

In the interim, if I can provide online forms to populate templates that
would suffice. We have an RTF>HTML convert someone here wrote in Perl which
we may use later, but right now they can post plain text (no formatting.)

How do I capture the hard returns in a textarea form field and convert them
to HTML tags? (I know this was discussed recently on thelist, but I just
can't find it in the archives; probably not using the right terminology.)

Also, any input on a CMS that's quick, or inexpensive, or easy to implement
are appreciated. We're primarily a Windows shop and my skills are ASP/MSSQL
but we can implement whatever's the right tool whether it fits our current
config or not.


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.





More information about the thelist mailing list