You are here: Re: tidy question « PHP « IT news, forums, messages
Re: tidy question

Posted by Matthew Weier O'Phinney on 09/28/19 11:18

* "Thomas" <thomas.hochstetter@gmx.net>:
> I was wondering if it is possible to let tidy repair and format only parts
> of your html without putting the <head> and <doctype> stuff in. I.e. only
> the content of the page between the <body> tags. The reason for that is
> twofold:
>
> 1. I want to cache that repaired string so I don't have to call that repair
> function on every page call,
>
> 2. I am using xhtml1.1 as DOCTYPE and tidy only gives me the 1.0
> transitional version.

tidy_repair_string() OR

tidy_parse_string() + tidy_clean_repair()

--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.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

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