<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I'm just thinking of ways to use your same thing there for more than just the contents of the current document.<DIV>If it could handle just STDIN or a path to a file, you could use it for anything anywhere. For example, almost all of my xHtml files have embedded erb style thinggies in them which will be replaced by lovely well-formed goodness, but with your plugin, all it sees is the contents of the frontmost document.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I could easily write a textmate command that could strip out my ERB junk and replace it or even parse it and then use your tool to check it. I could make the textmate command trigger on save so I could check the XML-goodness of my pages without thinking about it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Currently, i'd have to write a command to convert my document to xml compatible (which i would have to do either way)</DIV><DIV>then output the contents of that action into a new document</DIV><DIV>save it</DIV><DIV>then click the validate button on your palette</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ideally, i'd like to</DIV><DIV>write a command to convert my document to xml compatible (which i would have to do either way)</DIV><DIV>that then outputs the contents of that action directly into your plugin and clicks validate for me</DIV><DIV>and bind this command to command-s</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The second way, I would get validations automatically for any and all XML scoped documents on save automatically.</DIV><DIV>The first way, I have to go through 3-4 steps for each document I want to validate every time I want it to validate and I have to deal with temporary files and extra windows full of parsed out junk.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I must admit that your plugin is really quite hip and I will be using it.</DIV><DIV><DIV>I just think it could be more flexible.</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></SPAN>thomas Aylott —<SPAN class="Apple-converted-space"> </SPAN><I style="font-style: italic; "><SPAN class="Apple-style-span" style="font-style: italic; ">design</SPAN></I><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">42</SPAN></B><SPAN class="Apple-converted-space"> </SPAN>— </SPAN><SPAN class="Apple-style-span" style="border-collapse: separate; -khtml-border-horizontal-spacing: 0px; -khtml-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient </SPAN></SPAN></B></SPAN><SPAN class="Apple-style-span" style="border-collapse: separate; -khtml-border-horizontal-spacing: 0px; -khtml-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">— </SPAN><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">CrazyEgg<BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On Dec 27, 2006, at 11:40 AM, Todd Ditchendorf wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="">Does this thing necessarily have to be a plugin to function?</DIV><DIV style="">It looks like you could create an iconless application instead and launch it with a tmCommand.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>There's no technical barrier to just grabbing the window's current (possibly unsaved) text from a plugin. In fact, it would probably be easier. Then again, I have no idea what a tmCommand is...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm looking into this, but at the moment, I'm thinking a plugin is more appropriate than a separate, pseudo-app. But I welcome input from anyone who knows more.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Todd</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On Dec 27, 2006, at 10:30 AM, thomas Aylott wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV><DIV>On Dec 27, 2006, at 9:54 AM, Todd Ditchendorf wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">- It only seems to recognize changes in the document after I have saved it</FONT></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">yeah.. this could be improved. thanks for the input</FONT></DIV> </BLOCKQUOTE></DIV><BR><DIV>Does this thing necessarily have to be a plugin to function?</DIV><DIV>It looks like you could create an iconless application instead and launch it with a tmCommand.</DIV><DIV>That would give you the ability to parse the unsaved version by simply piping the contents of the window to a temporary file using the tmCommand.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="font-size: 15px; "><A href="http://www.cocoadev.com/index.pl?LSUIElement">http://www.cocoadev.com/index.pl?LSUIElement</A></DIV><BLOCKQUOTE type="cite"><P style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; "><SPAN class="Apple-style-span" style="line-height: 16px;"><FONT class="Apple-style-span" face="Trebuchet MS" size="3"><SPAN class="Apple-style-span" style="font-size: 12.6px; line-height: normal;">Specifies that an application is background-only </SPAN></FONT><FONT class="Apple-style-span" face="Trebuchet MS" size="3"><SPAN class="Apple-style-span" style="font-size: 12.6px; line-height: normal;"><I>but</I></SPAN></FONT><FONT class="Apple-style-span" face="Trebuchet MS" size="3"><SPAN class="Apple-style-span" style="font-size: 12.6px; line-height: normal;"> has a UI as well (usually a floating utility window). No menu bar or Dock icon, with the exception that it may have an </SPAN></FONT></SPAN><A href="http://www.cocoadev.com/index.pl?NSStatusItem"><FONT class="Apple-style-span" face="Trebuchet MS" size="3"><SPAN class="Apple-style-span" style="font-size: 12.6px;"><FONT class="Apple-style-span" color="#323C4D">NSStatusItem</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Trebuchet MS" size="3"><SPAN class="Apple-style-span" style="font-size: 12.6px;">.</SPAN></FONT></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV>thomas Aylott — <I>design</I><B>42</B> — <B>subtleGradient </B>— CrazyEgg</DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>