473,808 Members | 2,761 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2535
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
63615
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, depending on button clicks, etc. Putting this stuff into TEXTAREA and TEXT is simple, but I want to be able to mix font families, weights, sizes, and stuff like that. Thanks for your help.
10
2301
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? (I am using Internet Explorer 6). <html> <head> <title>TEST</title> <script language="javascript">
0
3051
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 user's experience, i wanted to highlight selected choices. Does anyone know how to that ? I can successfully do that on a datagrid by adding some code during
2
1540
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 obtain: print a # 1234 5678 90
26
2489
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 stuck in 1996-7 thinking looking at web pages become more and more sophistocated (and frequently slower to load!) Back then html 3.2 was still the norm and the idea of seperating structure and content, let alone style and structure was only...
0
928
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
895
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 fashion. Is this a know problem, or just something wrong with my setup? Thanks, Marius Matioc
4
5222
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 areas for the same color. Like say it's an image of a sphere, it is white in the part it is under the light but then as you get away from the light source it becomes darker and darker gray. Now I want to take this image and apply just one RGB...
22
2532
by: Spartanicus | last post by:
I wrote an article on HTML headings: http://codewallop.110mb.com/goodpractice/headingology.htm -- Spartanicus
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10633
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10114
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7651
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3860
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.