HTML to SMF code converter!

Started by Ted, June 17, 2009, 11:54:03 PM

Ted

If you are someone who (a) does occasional long-winded and complex posts to this forum, and (b) is more comfortable with HTML, then you'll love this.


Here's an example of something that would be a real pain to do in SMF code:

Before:

<table border="0" cellpadding="0" cellspacing="2">
  <tr>
    <td valign="middle" align="center" width="100%"><table align="left" border="0" cellspacing="2">
        <tr>
          <td width="306" valign="middle" align="center"><a href="http://web.tedjohnson.us/pages/bossbr/bossbrm2c1001.jpg"> <img src="http://web.tedjohnson.us/pages/bossbr/tn_bossbrm2c1001_jpg.jpg" border="0" width="300" height="63" alt="bossbrm2c1001.jpg" /></a></td>
          <td valign="middle">I decided to move beginning a full beat before the guitar started, just to make sure I didn't cut off any sound.  So the move I wanted was:
            <pre>Start Meas  004-1

End Meas    070-1 (beyond the end of the song)

To Meas    002-4-50</pre>
            <br /></td>
        </tr>
      </table></td>
  </tr>
</table>


After:

[table]
  [tr]
    [td][table]
        [tr]
          [td][url=http://web.tedjohnson.us/pages/bossbr/bossbrm2c1001.jpg] [img]http://web.tedjohnson.us/pages/bossbr/tn_bossbrm2c1001_jpg.jpg[/img][/url][/td]
          [td]I decided to move beginning a full beat before the guitar started, just to make sure I didn't cut off any sound.  So the move I wanted was:
            [pre]Start Meas  004-1

End Meas    070-1 (beyond the end of the song)

To Meas    002-4-50[/pre]
         
[/td]
        [/tr]
      [/table][/td]
  [/tr]
[/table]


This is awesome!  I just wasted a bunch of time converting some HTML into SMF code for this post.

It probably would have saved me an hour of search-and-replace effort that was only partially useful.

Well, at the very least I expect 64Guitars to be excited about it.

For me, "That would take too long" will never again be an excuse to keep me from contributing another excruciatingly over-formatted post here.

You poor people.
recorder
Boss Micro BR
recorder
Audacity
recorder
GarageBand for Mac
    


64Guitars

Nice one, Ted! I've bookmarked the converter page.

recorder
Zoom R20
recorder
Boss BR-864
recorder
Ardour
recorder
Audacity
recorder
Bitwig 8-Track
     My Boss BR website


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." - Robert M. Pirsig

Pedro

Wow, that will help a lot when converting the old tutorials in HTML to forum posts! Thanks a lot!