You are here: Re: [PHP] Re: gettext best practice « PHP « IT news, forums, messages
Re: [PHP] Re: gettext best practice

Posted by Skippy on 07/14/05 17:06

Quoting Mark Rees <mrees@itsagoodprice.com>:
> Consider whether you will always display the information in a web browser.
> If there is any possibility that another program may be used for display,
> you don't want the HTML tags in the database.

In this particular situation I'm dealing with I only have web browsers to
worry about.

However, for the sake of argument: couldn't I still allow those styling tags
and do some post-processing in the code? Such as stripping the tags, or
converting them to something else. Things like bold and italic are almost
universally meaningful.

--
Romanian Web Developers - http://ROWD.ORG

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация