<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Howdy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="font-size: 22px; "><B>E</B><B>njoy instant-ish feedback!!!!1!</B></DIV><DIV style="font-size: 16px; "><A href="http://textmate.svn.subtlegradient.com/Support/bin/42_TextMate_live_preview.rb"><I>http://textmate.svn.subtlegradient.com/Support/bin/42_TextMate_live_preview.rb</I></A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Put the full path to that file in the Pipe text through box in the Web Preview Window</DIV><DIV><IMG src="cid:4AD1849A-A3EB-47EE-9FA2-52CBBACA28D7@local"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For<B> CSS</B>, it'll ask you to open a file and paste a test-url in there. It completely replaces all links to css files with the css you're previewing, AS YOU TYPE!!!1!</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For <B>HTML</B>, it inserts a base tag with the TM_PROJECT_SITEURL</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For <B>Rails Views</B>, it redirects the page to the saved version via your TM_PROJECT_SITEURL. Just try it out, you may hate it ;).</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For <B>markdown</B> and <B>textile</B>, it renders it as markdown or textile. Never worry about changing your filter script!</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For all <B>other source files</B>, it does a live diff between the saved and unsaved version. No coloring of anything fancy, but handy (yes, i know all about the diff bundle).</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">For <B>everything else</B>, it does nothing special, yet.</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I tried t do this a while ago but i couldn't make it work. Turns out that only a few TM specific variables were being set. Allan has since fixed that.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Personally, I think this script is really stupid and unnecessary. But extremely handy as a stopgap until we get something that is supposed to replace this.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">Basically, if we had a way to make ANY command rerun itself or refresh after change, then this filter would be totally unnecessary and we could make each of these things a separate <I>refresh-after-change</I> command. Allan, add it to the list?</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>enjoy</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also! If anybody has any improvement suggestions, suggest away! I'm all for it. I only knocked this thing together last night when i should have been sleeping. Most things are not done the best way. Feel free to improve or replace. Enjoy!</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></SPAN></DIV><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; "><DIV style=""><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><SPAN class="Apple-style-span" style="font-size: 14px; "><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott—</SPAN></SPAN></SPAN></FONT><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></DIV></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>