[Amrita2-users] excluding tags

Matthew Pflueger matthew_pflueger at hotmail.com
Wed Mar 22 16:50:16 EST 2006


I am very interested in utilizing Amrita2 for my latest Ruby on Rails
project.  However, I need the ability to put fake content directly in the
html pages for demo purposes/peer review which will be automatically taken
out upon html file compilation.  For example:

 

<table>

   <tr><th>name</th><th>author</th></tr> 

   <tr id="table1">                        

     <td id="name">my name1</td><td id="author">my author1</td>

   </tr>

   <tr class="mockup">                        

     <td>my name2</td><td>my author2</td>

   </tr>

   <tr class="mockup">                        

     <td>my name3</td><td>my author3</td>

   </tr>

</table>

 

 

Any tag with class="mockup" (and its children) would be removed upon html to
ruby compilation.  Is this something Amrita2 already supports?  If not, how
hard would this be to implement?

 

Thanks,

 

Matthew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/amrita2-users/attachments/20060322/e04dd8e5/attachment.htm 


More information about the Amrita2-users mailing list