473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

colorize html structure

Hi
i'm looking for free php code which will colorize my html source (structure).

please help me if u can :)

pozdr puipui
Jul 17 '05 #1
5 2510
On 15 Dec 2003 04:45:10 -0800, pu****@wp.pl (tanpan) wrote:
i'm looking for free php code which will colorize my html source (structure).

please help me if u can :)


Not PHP, but this is a good HTML colouriser for various languages:
http://webcpp.sourceforge.net/

--
Andy Hassall (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Jul 17 '05 #2
tanpan <pu****@wp.pl> wrote or quoted:
i'm looking for free php code which will colorize my html source (structure).


Syntax Highlighting
This is a syntax-colourer for HTML and PHP, written in PHP.

It dynamically produces coloured, styled HTML output from
plain HTML/PHP source code on the server.

Colour categories
There are 25 configurable colour categories:

PHP HTML
----------------------------------
Method Text
Keyword Comment
String Equals
Comment String
Tags Number
Tags (background) Entity
Punctuation Argument
Brackets Parameter
Braces Angle bracket
Escaped character Tag Open
Operator Tag Close
Number
Variable
Constant

- http://mandala.co.uk/syntax_highlighting/
--
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.
Jul 17 '05 #3
thanx, i own u a beer or two :)

pozdr puipui
Jul 17 '05 #4
tanpan <pu****@wp.pl> wrote or quoted:
thanx, i own u a beer or two :)


Just send me any new features - or bugfixes ;-)
--
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.
Jul 17 '05 #5
Hello,

On 15 Dec 2003 04:45:10 -0800, pu****@wp.pl (tanpan) wrote:
i'm looking for free php code which will colorize my html source (structure).


You may want to take a look at this class for that exact purpose that
was just released.

http://www.phpclasses.org/html_parser
--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Free-Ed, Ltd. | last post by:
I am going nuts trying to find a paragraph in a book that described how to change the text content (HTML) in a DIV. Actually I have an array of HTML strings that I want to drop into the DIV,...
10
by: Peter Kirk | last post by:
Hi there can someone please help me with creating dynamic content in a table? For example, see the below javascript and html - why is a new row not created in the table when I click the button?...
0
by: Francois Verbeeck | last post by:
Dear UseNet readers, Does anyone have any idea on how to colorize selected checkbox in checkboxlist control ? I've quite a huge checkboxlist (approximatively one full screen) and, to improve...
2
by: qwweeeit | last post by:
Hi all, from a string embedding tabs I want to colorize them when expanded: # Starting from a string: a= '1234\t5678\t\t90\nqwerty\nasdfg' # which embeds both tabs and lfs # printing it you...
26
by: gswork | last post by:
i hadn't designed a web page from the ground up for about 9 years, then i was asked to do one. I'd dabbled with html and vaigly kept up with some of the developments but other than that i've been...
0
by: Christian Perthen | last post by:
Hi, How do I get Visual Studio 2005 to colorize vbscript syntax as it does in InterDev? I am getting tired of having both apps launched. Thanks Christian
0
by: Marius Matioc | last post by:
New in VS2005 is the colorize inactive feature. However, it seems not to be able to handle _DEBUG. Sections of code bracketed by "#ifdef _DEBUG" are grayed out (or not) in an unpredictable...
4
by: MrNobody | last post by:
Let's say I have an image which is monochrome with areas of white, black and shades of gray. Now I want to turn all the white parts into some RGB color but it also needs to be darkened by the gray...
22
by: Spartanicus | last post by:
I wrote an article on HTML headings: http://codewallop.110mb.com/goodpractice/headingology.htm -- Spartanicus
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.