[TYPO3-dev] cropHtml as new Feature for stdWrap

Mario Matzulla mario.melanie at arcor.de
Thu Jan 11 21:00:37 CET 2007


R. van Twisk schrieb:
> Martin Kutschker wrote:
>> R. van Twisk schrieb:
>>  
>>> Martin Kutschker wrote:
>>>
>>>    
>>>> Mario Matzulla schrieb:
>>>>  
>>>>
>>>>      
>>>>> Hi Steffen,
>>>>>
>>>>> Steffen Kamper schrieb:
>>>>>
>>>>>   
>>>>>        
>>>>>> Hi,
>>>>>>
>>>>>> I developed a function that allows cropHtml taking care of open tags.
>>>>>> I postet it here:
>>>>>> http://bugs.typo3.org/view.php?id=4747
>>>>>>
>>>>>> and you may have a look online at
>>>>>> http://www.sk-typo3.de/xmltree.php
>>>>>>
>>>>>> This could be an extension of stdWrap-function (new function 
>>>>>> cropHtml) - please let me know what you think about it.
>>>>>>                 
>>>>> I like it a lot ;)
>>>>>
>>>>> @list: What has to be done to get this into the core? More votes?
>>>>>             
>>>> An interested Core dev.
>>>>
>>>> What I still dislike is that it uses a PHP extension that comes only 
>>>> via PECL. But I have no idea if TYPO3 doesn't rely on it.
>>>>
>>>> Masi
>>>>         
>>> hey masi,
>>>
>>> On this page (http://pecl.php.net/package/domxml)
>>> I read that domxml already comes with 4.x I didn't test it on my system.
>>> but it sounds like that it is available for all installations 4.x 
>>> which is good.
>>>
>>> On my default 5.1.x installation (mac osX) it's not available,
>>> however I know for sure there are similar functions available for 5.x
>>>     
>>
>> The docs on php.net say it's shipped with 4.x but you'll have to get 
>> it from PECL for 5.x
>>
>> Masi
>> _______________________________________________
>>   
Hi guys,
> 
> Correct,
> 
> but as far as I know typo3 5 ships with it's own XML toolsset,
> so may be for 4.x steffen can use domxml, and for 5.x branches the tools
> (sorry no name) available for 5.x.

We did the development for php 4.x to make it compatible with most typo3 
installs, but it shouldn't be a problem to add a function for php 5.x.

What do you think?

Regards,
Mario
> 
> 
> Ries
> 




More information about the TYPO3-dev mailing list