<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Spikes Of Nothingness - textile tag</title>
  <link>http://weblog.flop.ca/tags/textile/</link>
  <description>Florin T.PATRASCU&#039;s blog</description>
  <language>en</language>
  <copyright>Florin T.PATRASCU</copyright>
  <lastBuildDate>Sat, 12 May 2012 02:12:08 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Wiki syntax -Textile- available now in JPublish</title>
    <link>http://weblog.flop.ca/2007/05/20/1179691399799.html</link>
    
      
        <description>
          &lt;p&gt;  &lt;/p&gt;
In my recent blog &lt;a href=&#034;http://weblog.flop.ca/2007/05/19/1179627243661.html&#034;&gt;entry&lt;/a&gt; I was contemplating adding Wiki support to &lt;a href=&#034;http://code.google.com/p/jpublish/&#034;&gt;JPublish&lt;/a&gt;. &lt;strong&gt;It is available now :)&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I decided to add &lt;a href=&#034;http://swik.net/Textile&#034;&gt;Textile&lt;/a&gt; support through &lt;a href=&#034;http://philwilson.org/projects/jtextile/&#034;&gt;JTextile&lt;/a&gt;. This is possible now very easy due to the improved support of the new JPublish Component API which I plan to improve even more. RADEOX implementation will follow.&lt;br /&gt;
&lt;br /&gt;
I can say that I am already addicted to this new feature, especially that you can create your pages with smart editors, such as: &lt;a href=&#034;http://macromates.com/&#034;&gt;TextMate&lt;/a&gt;, who already understands the Textile syntax and the bundle supplied with TextMate is very valuable.&lt;br /&gt;
&lt;br /&gt;
Let&#039;s see how easy is to use the Textile support in JPublish.&lt;br /&gt;
&lt;br /&gt;
1. download and build our latest JPublish version from our new SVN repository.&lt;br /&gt;
2. if you want to go straight to the demo app, check the folder &lt;strong&gt;components/jptextile&lt;/strong&gt; from your JPublish folder and build the jptextile web application (ant &lt;strong&gt;dist&lt;/strong&gt;), deploy the distribution into your preferred Servlet container and start playing with Textile, skip the rest.&lt;br /&gt;
3. in your jpublish.xml configuration file from an existing application, add the following:&lt;br /&gt;
&lt;br /&gt;
&lt;font color=&#034;#333399&#034;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;component-manager&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;components&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;component id=&amp;quot;jpTextile&amp;quot; classname=&amp;quot;ca.flop.jpublish.wiki.JPTextileComponent&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;repository name=&amp;quot;fs_repository&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/component&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/components&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/component-manager&amp;gt;&lt;br /&gt;
&lt;/font&gt;&lt;br /&gt;
4. use Textile syntax in any page you need, through this simple component support:&amp;nbsp; &lt;strong&gt;&lt;span style=&#034;background-color: rgb(204, 255, 204);&#034;&gt;$components.jpTextile.renderText(&amp;quot;h1. Hi!&amp;quot;)&lt;/span&gt;&lt;/strong&gt;, if you want to transform a string containing Textile sytax, or include and transform an external file containing a larger text:&lt;span style=&#034;background-color: rgb(255, 255, 153);&#034;&gt; &lt;strong&gt;$components.jpTextile.renderPath(&amp;quot;text.textile&amp;quot;)&lt;/strong&gt; &lt;/span&gt;, where the &amp;quot;t&lt;strong&gt;ext.textile&lt;/strong&gt;&amp;quot; is a text file from your JPublish repository you mentioned in the jpublish.xml file; &lt;font color=&#034;#333399&#034;&gt;fs_repository&lt;/font&gt;, respectively.&lt;br /&gt;
&lt;br /&gt;
I hope you&#039;ll find this support handy, and if yes, please send us your feedback to our &lt;a href=&#034;http://groups.google.com/group/jpublish-user?hl=en&#034;&gt;user-group list&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
-florin
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://weblog.flop.ca/2007/05/20/1179691399799.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/05/20/1179691399799.html</guid>
    <pubDate>Sun, 20 May 2007 20:03:19 GMT</pubDate>
  </item>
  
  <item>
    <title>AJAX-DWR and TAG CLOUD code is now available in the new JPublish repository</title>
    <link>http://weblog.flop.ca/2007/05/19/1179627243661.html</link>
    
      
        <description>
          &lt;p&gt;  &lt;/p&gt;
After a couple of intense days of code cleaning, tweaking, testing and some more development (long week-end here in Canada), I committed the newest version of our &lt;a href=&#034;http://weblog.flop.ca/2007/04/28/1177793787559.html&#034;&gt;AJAX-DWR&lt;/a&gt; and the &lt;a href=&#034;http://weblog.flop.ca/2006/10/21/1161474590401.html&#034;&gt;TagCloud&lt;/a&gt; support for JPublish. You can grab the source from our &lt;a href=&#034;http://code.google.com/p/jpublish/&#034;&gt;new repository&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I am also thinking to implement some Wiki support for our ViewRenderer, so you could for example use Wiki syntax through &lt;a href=&#034;http://www.radeox.org/space/start&#034;&gt;RADEOX&lt;/a&gt; for pages where you don&#039;t really need the template logic of Velocity or FreeMarker. My favorite Wiki syntax is Textile and Markdown, but I am only familiar with the RADEOX implementation for now. Anyway, one of these will be supported by JPublish, and should be relatively easy to implement, so stay tuned; JPublish just started to be more interesting :)&lt;br /&gt;
&lt;br /&gt;
Have a nice long week-end,&lt;br /&gt;
-florin&lt;br /&gt;
&lt;br /&gt;
PS&lt;br /&gt;
Hmm, I just found a Markdown implementation in Java, &lt;a href=&#034;http://markdownj.petebevin.com/&#034;&gt;MarkdownJ&lt;/a&gt; ... niceeeeee :)
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://weblog.flop.ca/2007/05/19/1179627243661.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/05/19/1179627243661.html</guid>
    <pubDate>Sun, 20 May 2007 02:14:03 GMT</pubDate>
  </item>
  
  </channel>
</rss>

