[Files] HTML Tidy 040418 (MorphOS) | ANN.lu |
Posted on 18-Apr-2004 19:43 GMT by oGALAXYo | 41 comments View flat View list |
A new version of HTML Tidy for MorphOS has been created and can be downloaded here. Included is also a diff file which can easily be altered for alternative Amiga solutions.
|
|
List of all comments to this article |
HTML Tidy 040418 (MorphOS) : Comment 28 of 41 | ANN.lu |
Posted by Ole-Egil on 19-Apr-2004 11:31 GMT | In reply to Comment 27 (brotheris): In which case you should open it in Opera and hit Ctrl-Alt-V :-)
No, but seriously: I think a lot of people needs a lot of slipper/sock/show/boot/etc up their ass (preferrably when attached to a rapidly swinging foot) when it comes to cleaning up their HTML.
In PHP, something like:
$padding = "";
print("$padding<html>\n";
$padding = " ";
print("$padding<body>\n";
$padding = " ";
print("$padding<h1>Hello</h1>\n";
$padding = " ";
print("$padding<table>\n";
$padding = " ";
print("$padding<tr>\n";
$padding = " ";
print("$padding<td>Content\n";
$padding = " ";
print("$padding</table>\n";
or some equivalent using a wrapper function that takes $padding as an argument. If you do something like this it becomes much easier to see where something has gone wrong, because the size of the padding (or indent, if you will) determines where in the program you were... I'm typically pretty paranoid about things like this :-) |
|
List of all comments to this article (continued) |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|