I've written an application that depends heavily on Tidy for cleaning up user
inputed text.
Unfortunately, some shared hosts won't install the extension for my clients.
Is there a way I can install a stand alone version using FTP with access only in
a directory where my program resides. The h
I have a question about using the $config arguments with tidy_parse_string() and
tidy_repair_string() etc.
The functions seem to totally ignore
new-blocklevel-tags
new-empty-tags
new-inline-tags
E.g., I have in my config array some custom tags
[new-inline-tags] => blue,bold,green,italic,red,
On Fri, Aug 8, 2008 at 3:46 PM, Selwyn Polit <[EMAIL PROTECTED]> wrote:
> How do I install php-tidy extension on a hosted linux? I don't have access
> to yum or apt-get. When I try pecl install tidy this fails
>
> ..
> checking for TIDY support... yes, shared
>
How do I install php-tidy extension on a hosted linux? I don't have
access to yum or apt-get. When I try pecl install tidy this fails
..
checking for TIDY support... yes, shared
configure: error: Cannot find libtidy
ERROR: `/var/tmp/pear/download/tidy-1.2/configure --with-tidy' fa
Nilesh Govindrajan <[EMAIL PROTECTED]> wrote:
> Wolf wrote:
> > Nilesh Govindrajan <[EMAIL PROTECTED]> wrote:
> >
> >> I have tried everything.
> >>
> >> setting tidy.clean_output = Off or 0 in php.ini OR using ini_set
> >>
> >> but still tidy makes a plaintext file html.
> >>
> >>
Wolf wrote:
Nilesh Govindrajan <[EMAIL PROTECTED]> wrote:
I have tried everything.
setting tidy.clean_output = Off or 0 in php.ini OR using ini_set
but still tidy makes a plaintext file html.
help.
Contact the creators of Tidy
I told na it was a silly problem. didn't you get
Nilesh Govindrajan <[EMAIL PROTECTED]> wrote:
> I have tried everything.
>
> setting tidy.clean_output = Off or 0 in php.ini OR using ini_set
>
> but still tidy makes a plaintext file html.
>
> help.
Contact the creators of Tidy
--
PHP General Mailing List (http://www.php.net/)
To unsu
Nilesh Govindrajan wrote:
I have tried everything.
setting tidy.clean_output = Off or 0 in php.ini OR using ini_set
but still tidy makes a plaintext file html.
help.
I am sorry. :) It was a silly problem. FIXED. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
I have tried everything.
setting tidy.clean_output = Off or 0 in php.ini OR using ini_set
but still tidy makes a plaintext file html.
help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I am trying to get tidy for php working on my systems.
1. Got latest libtidy (libraries) from cvs and compiled/installed
them (no issues)
2. Got latest php tidy tidy-1.2 from PECL and compiled and
installed (no issues)
3. Added the tidy extension in to /etc/php.d
has ran into a
> major
> snag
>
> I get this:
>
> *** glibc detected *** /usr/sbin/httpd: malloc(): memory corruption:
> 0x81946e30
>
> whenever the tidy_parse_string() is called.
>
> I'm running the latest apache/php/tidy that FC6 has to offer...
> php-t
My first attempt at leaning the tidy suite of functions has ran into a major
snag
I get this:
*** glibc detected *** /usr/sbin/httpd: malloc(): memory corruption:
0x81946e30
whenever the tidy_parse_string() is called.
I'm running the latest apache/php/tidy that FC6 has to offer...
php
On 9/1/07, Jens Kleikamp <[EMAIL PROTECTED]> wrote:
> OOzy Pal schrieb:
> > On 9/1/07, Jens Kleikamp <[EMAIL PROTECTED]> wrote:
> >
> >> OOzy Pal schrieb:
> >>
> >>> I have php4 running on Ubuntu Feisty. I can see php5-tidy in the
> >
OOzy Pal schrieb:
> I have php4 running on Ubuntu Feisty. I can see php5-tidy in the
> Synaptic (Package Manager) but can not see php4-tidy or php-tidy. How
> can I install php4-tidy for php4?
>
On linux:
- download the source
- untar and go to directory
- /path/to/phpize
- ./configu
I have php4 running on Ubuntu Feisty. I can see php5-tidy in the
Synaptic (Package Manager) but can not see php4-tidy or php-tidy. How
can I install php4-tidy for php4?
--
OOzy
Ubuntu-Feisty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2006-12-01 at 17:51 -0800, Paul Novitski wrote:
> > At 12/1/2006 02:22 PM, Richard Lynch wrote:
> >
> > Try 10 X as many for most templating solutions.
>
> Ten times as many templates as there are pages on the site? Wow,
> that's a lot. Fortunately I don't use any of those templating
>
At 12/1/2006 02:22 PM, Richard Lynch wrote:
On Thu, November 30, 2006 6:47 pm, Paul Novitski wrote:
> A templating system requires the processor to merge content with
> template. An inline markup assembly system requires the processor to
> build the markup from function calls. Where is the tech
On Thu, November 30, 2006 6:47 pm, Paul Novitski wrote:
> A templating system requires the processor to merge content with
> template. An inline markup assembly system requires the processor to
> build the markup from function calls. Where is the technique that
> doesn't take machine cycles?
You
Dear Paul,
Many thanks for replaying my message, It was very helpful and now I really
understood why I so negative for templating systems...
I haven't got programer background or education. I'm self learner.
Many of php programmers have other programming experiences, and if I
understand correc
ECTED]>
To:
Sent: Friday, December 01, 2006 1:47 AM
Subject: Re: [PHP] Tidy HTML source?
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
> With respect to separating code and markup, you said "sometimes there
> are reasons not to do so, for example, web services.&qu
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
> With respect to separating code and markup, you said "sometimes there
> are reasons not to do so, for example, web services." What are some
> of those reasons?
At 11/30/2006 10:57 AM, Sancar Saran wrote:
What about performance ?
W
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
> At 11/30/2006 01:52 AM, Satyam wrote:
> And, stepping back, you're perpetuating the embedding of markup
> with logic so that it will still take a PHP programmer to modify
> the markup of one of your pages. Do you not see the ad
At 11/30/2006 01:52 AM, Satyam wrote:
And, stepping back, you're perpetuating the embedding of markup
with logic so that it will still take a PHP programmer to modify
the markup of one of your pages. Do you not see the advantage in
separating the two layers?
Yes, I do, and I would recommend
Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge burden
- Original Message -
From: "Paul Novitski" <[EMAIL PROTECTED]>
At 11/29/2006 05:13 AM, Satyam wrote:
- Original Message - From: "Paul Novitski"
<[EMAIL PROTECTED]>
What I find to be a much greater problem is the human readability of
logic code when HTML is mixed throughout.
At 11/29/2006 05:13 AM, Satyam wrote:
- Original Message - From: "Paul Novitski" <[EMAIL PROTECTED]>
What I find to be a much greater problem is the
human readability of logic code when HTML is
mixed throughout. Your innovation is helpful
here, as you're nearly making HTML tags into
issing the point so, please, spare me that
> one. At one point or another plain HTML has to be generated.
>
> Satyam
>
> - Original Message -----
> From: "Mark Kelly" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, November 28, 2006 4:13 AM
> Subject: R
, after all, most of the checking could be done at
>>> the PHP source level. Further development (which I have not started
>>> yet) would lead to automatic verification against DTDs or XSchemas.
>>>
>>> And, of course, I would appreciate any comment on the pro
- Original Message -
From: "Paul Novitski" <[EMAIL PROTECTED]>
At 11/28/2006 05:05 AM, Satyam wrote:
May I invite you to check http://satyam.com.ar/pht/? This is a project I
started some time ago to help me produced HTML in a more clean and
efficient way. Usually, producing good H
At 11/28/2006 05:05 AM, Satyam wrote:
May I invite you to check http://satyam.com.ar/pht/? This is a
project I started some time ago to help me produced HTML in a more
clean and efficient way. Usually, producing good HTML involves
running a sample output through some HTML validator or lookin
- Original Message -
From: "Fredrik Thuresson" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 29, 2006 5:45 AM
Subject: Re: [PHP] Tidy HTML source?
"At one point or another plain HTML has to be generated. "
Care to give me an example? I never genera
be generated.
Satyam
- Original Message - From: "Mark Kelly" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 28, 2006 4:13 AM
Subject: Re: [PHP] Tidy HTML source?
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make
riginal Message -
From: "Mark Kelly" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 28, 2006 4:13 AM
Subject: Re: [PHP] Tidy HTML source?
On Monday 27 November 2006 17:10, Mark Kelly wrote:
Am I crazy to make an extra effort in my code to make the generated HTML
pre
As Richard already pointed out, "ugly" code can be a real problem
occasionally. Besides that, I assume that you have some kind of
coding standrad for your PHP code already, right? Basically, why do
someone would make a difference between pretty styled PHP code and
pretty styled html/CSS? Be
On Monday 27 November 2006 17:10, Mark Kelly wrote:
> Am I crazy to make an extra effort in my code to make the generated HTML
> pretty?
Thanks everyone for your thoughts on this - I'm quite relieved that I'm not
the only one who sits and tweaks so that the HTML is nice and readable.
It just s
At 5:10 PM + 11/27/06, Mark Kelly wrote:
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this
On Mon, November 27, 2006 11:10 am, Mark Kelly wrote:
> In the stuff I do almost all the HTML is generated with PHP as
> basically
> none of it is static (lots of tabular data, state-sensitive links,
> stuff
> like that).
>
> Am I crazy to make an extra effort in my code to make the generated
> HTM
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff
Hi there,
I was wondering if it is possible to let tidy repair and format only parts
of your html without putting the and stuff in. I.e. only
the content of the page between the tags. The reason for that is
twofold:
1. I want to cache that repaired string so I don't have to call that repai
Hi all,
I'm using the PHP 5.0.4 version with Apache 2 on Windows XP SP2 and
I've turned on the TIDY extension (php_tidy.dll) to parse HTML file
using PHP.
But using the function tidyNode->GET_ATTR() I received the following
error message:
"Fatal error: Call to undefined method tidyNode:
Another reply...
lizet
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:12 PM
To: Lizet Peña de Sola
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Tidy installation problem in php 4.3.8
Lizet Peña de Sola wrote:
> Hello Marek, thanks
PROTECTED]
> Sent: Thursday, September 09, 2004 12:42 PM
> To: Lizet Peña de Sola
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Tidy installation problem in php 4.3.8
>
>
>
> Do you mean you installed tidy php module on your hosting company
> server? Then you need
Also make sure that the extension is in extension_dir (check php.ini).
Then restart the webserver.
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 12:42 PM
To: Lizet Peña de Sola
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Tidy in
x27;ll let you know, thanks
Lizet
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 12:42 PM
To: Lizet Peña de Sola
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Tidy installation problem in php 4.3.8
Do you mean you installed tidy php modu
Lizet Peña de Sola wrote:
Hi all,
I need to use tidy for cleaning up html in my project, our hosting company
has php 4.3.8, so we need to install tidy and make the installation again.
After several times, the configure and make commands replied no error,
however, the phpinfo() doesn't show the pack
Hi all,
I need to use tidy for cleaning up html in my project, our hosting company
has php 4.3.8, so we need to install tidy and make the installation again.
After several times, the configure and make commands replied no error,
however, the phpinfo() doesn't show the package as installed and when
46 matches
Mail list logo