HelpHelp
   Login to Account
Account Name:

Password:


(Or click here to Create New Account)

First time here? Before you begin, you might want to read the Tutorial. There is also a comprehensive Help & FAQ page available.

Forgot your account name or password? Click here to cure your amnesia!

   Secret Net Tools
To give you a taste of how cool the Secret Net Tools are (you have to contribute to get access to all of them), I've enabled your access to several of the simpler ones. Enjoy!

PrettyPrint
Are You Listed?
License Pl8 Genr8tor

Google (my favorite search engine)

   Getting Started
Getting Started:
Welcome (Home Page)
Site Help
Site FAQ
Site Map
List of Sites
Create New Account

Tutorials: (read in this order)
Preparing your Pages for the Search Engines
Using Tooter to submit your site
Getting listed in Yahoo (and the other big indexes)
Paying for Traffic
How to (not) win Awards

Articles:
Trends in Submission
Virtual Vexation
The 500 Sites Fallacy
Page 1 Paranoia
Clickthrough Conundrums
SpamSpamSpam
The Gullibility Virus
A Marketing Course that Works?!
Accepting Credit Cards Online
Links of Interest
Glossary of Useful Terms
Random Nonsense
Woodhead's Law
Cool Domain Names
Why I let you decide how much to pay

Moral obligations?
Be Supportive!
Suggestion Box

About the Site:
How it works
Promotion Monitor
Our Awards
Best User Sites
User Comments

Believe it or not, 11.13% of the people who use SelfPromotion.com support the site!
Indentation is your friend

PrettyPrinting is the art of writing beautiful code, where all the logical segments of a program are indented so as to make it easier to read.

Most HTML isn't PrettyPrinted, because it isn't intended for people to read, and thus it would be a waste of bandwidth to send all the extra indentation spaces and tabs. However, when you are creating complicated HTML pages, in particular those with tables, it is often useful to view the page in a PrettyPrinted form.

To PrettyPrint a page, enter the desired URL, then click on PrettyPrint.

The page will be fetched and displayed in a form that makes it easy to see how the tables and other logical components of the page are laid out. You'll also be told of any errors in the page.

Please be aware that this feature can take a while to execute, as it has to not only fetch the page you want to analyse, but also do a lot of parsing on the HTML.

Your URL must be a completely specified URL in the form "http://myserver.com/myfolder/mypage.html" (for example). If you want to get the default page of a site, enter "http://theservername.com/". Note the trailing slash.

You may optionally select a couple of options:

"Aggressive" tag checking looks for the following common HTML errors: "Include line numbers and structure lines" prefaces each line with a line number, and draws vertical lines between matching structural elements (so you can, for example, follow the line from a TABLE tag to the corresponding /TABLE). Normally you want this, but if you want to output the results without this extra information, you can then cut and paste the pretty-printed HTML back into your webpage. I don't recommend doing this as HTML doesn't care about indentation, and I don't guarantee that it'll work perfectly (I haven't tested it), but some people have asked for this feature.

Finally, please be aware that since the PrettyPrinter is what computer science geeks call a "really stupid parser", nesting errors in your HTML code can cause it to generate mistaken error messages (in particular, errors about missing or mismatched tags). So if you find some errors you want to fix, fix only the first error, then re-prettyprint to find the next real error.

Furthermore, it has trouble with newer HTML standards (it was originally written last century!)

New! The prettyprinter now makes an attempt to deal with embedded comments and javascript. It's dumb and not perfect, but should work for most pages. Trivia note: Did you know that the -- and the > in a close-comment don't need to be adjacent, but the <! and -- in the open-comment do? I didn't until I checked the specification!

URL to PrettyPrint :

Perform Aggressive tag checking.
Include line numbers and structure lines.


About this site...
This site was developed on a Macintosh, programmed in WebSiphon, and served by WebStar. The author, on those exceedingly rare occasions when he does think, indeed thinks differently.

SelfPromotion.com ©1997-2014 Robert Woodhead, All Rights Reserved. SelfPromotion.com™, Tooter™, Secret Net Tools™, MultiSubmitter™, BaldSpotCam™, and ShareService™ are trademarks of Robert Woodhead. To get help, report bugs, or make suggestions, go here.