This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

« | »

Creating XHTML in SubEthaEdit

Paul Westbrook | 07 July, 2005 10:56

I had just started playing with TextWrangler, and then I saw this post that describes a very cool feature of SubEthaEdit.  Since SubEthaEdit will colorize text,  now you can make this available in xhtml.

In the Edit menu, there is a menu item named "Copy As XHTML".  This will put the XHTML in your clipboard.  The result will look something like:

<?php

    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
    include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
    include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
    
    /**
     * implements notification of
     */

    class PluginSiteMap extends PluginBase
    {
        var $pluginEnabled;
        var $cacheFolder;

[via Paint The Tiger]

Technorati Tags: , , ,

Not Valid XHTML [Reply]

I've been working with an XHTML Validator, and I don't think this creates valid XHTML.

Matt Schinckel | 07/07/2005, 14:15

valid xhtml [Reply]

Hi! if you encounter any invalidity of the xhtml please tell us, we'll fix it. Doing valid xhtml is really a goal for us!

dominik wagner | 07/07/2005, 23:55

valid XHTML [Reply]

Acutally, it might be just how WordPress is interpreting it as it passes through the template process...

Matt Schinckel | 19/07/2005, 19:12

valid XHTML [Reply]

I have to change all of the double-quotes (that I typed in) into &quot;, and then change any double-quotes in the css code into single quotes in order to get it to validate.

I'm running under WordPress Multi-User. (Blogsome).

Matt Schinckel | 19/07/2005, 19:19

Add comment

Topic

Text

Your name

Your email address

Your personal page (if any)




Powered by LifeType
Design by Book of Styles