Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Create a web page validation shortcut in OmniWeb Web Browsers
Using OmniWeb 4.5, you can set up a shortcut in the Preferences to easily validate the HTML of web pages. Go to the Preferences and select Shortcuts. Add a new shortcut (click the "+" sign) and then double-click the "somewhere" name and rename it to validate@. For the "Destination URL," enter http://validator.w3.org/check?uri=%@.

To use the shortcut, just type validate www.somesite.com, hit return, and watch it use the w3c validator to validate the page.

[robg adds: A cool trick, but please, don't flood my inbox telling me how badly the macosxhints' page fails the validation check ... I know, and there's not a lot I can do about most of it myself! For fun, check microsoft.com!]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,901 views]  

Create a web page validation shortcut in OmniWeb | 5 comments | Create New Account
Click here to return to the 'Create a web page validation shortcut in OmniWeb' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a web page validation shortcut in OmniWeb
Authored by: Mikey-San on Aug 11, '03 11:45:39AM

Mozilla and Camino can do this, too. Nothing special about OmniWeb.

Create a new bookmark and name it whatever you like. In the location field, paste in the URL you're going to use, plus variable. Camino/Moz's variable is "%s", sans quotes:

http://www.google.com/search?q=%s

Set the keyword field to what you want to type in the URL bar. For example:

google camino

That searches Google for "camino".

Use "http://validator.w3.org/check?uri=%s" to make a Cam/Moz shortcut for validation.



[ Reply to This | # ]
Create a web page validation shortcut in OmniWeb
Authored by: Han Solo on Aug 11, '03 01:37:41PM
Here are a pair of handy bookmarklets to validate the HTML and CSS of the current page you are viewing -- in a separate window, so you can cross-check your code errors. ;)

javascript:window.open('http://validator.w3.org/check?uri='+location); javascript:window.open('http://jigsaw.w3.org/css-validator/validator?uri='+location);

I have them in my Safari bokmarks bar; they should work in Mozilla & its ilk, but I cannot promise that.... (Sorry, I don't remember where I got them in the first place to give appropriate credit.)

[ Reply to This | # ]

Create a web page validation shortcut in OmniWeb
Authored by: mrgerbek on Aug 11, '03 04:01:49PM
Another great extension for Mozilla/Netscape/Firebird is the PNH toolbar. http://placenamehere.com/pnhtoolbar/" It can validate with the WC3 validaor, validate CSS, check for Bobby compliance, resize windows, and much more. Its a web designer's friend.

---
~~~~~~~~~~
Be Green

[ Reply to This | # ]

Create a web page validation shortcut in OmniWeb
Authored by: prk on Aug 13, '03 12:12:20AM

How did this turn into a Mozilla thread? I guess Mozilla is winning.

The only thing I don't like about Mozilla and it's offspring is that they do not fit into Mac OS X as clean as Omniweb. Even Safari does not integrate well because it uses the brushed metal look and no configurable toolbars.

If you like a fully OS X app, then Omniweb is the way to go.



[ Reply to This | # ]
Create a web page validation shortcut in OmniWeb
Authored by: bluehz on Aug 14, '03 07:59:25AM
Create a book mark with this link and it will popup a dialog asking for url to validate, then proceed to validate. Code is one single line (may be broken below):
javascript:void(uri=prompt('Enter%20url%20to%20validate%20(http://my.domain.com):',''));if(uri)void(location.href='http://validator.w3.org/check?uri='+escape(uri))
Tested with Safari and works great!

[ Reply to This | # ]