Tagyu Service Has Been Shutdown, For Now

Adam announced that Tagyu has been shutdown for now (as of 16 Aug 2006), citing the lack of room for growth as perhaps one of the causes.

Hopefully Tagyu service will be back up someday. I guess people will just be using Yahoo! Term Extraction.

Tagyu Widget has been downloaded 773 times since 16 Jun 2006, and Tagyu4J has been available since 31 Dec 2005.

Read more

Share Comments

JSP Precompilation For Maven2 Project

You can precompile JSP as part of your Maven2 project build by using Maven2 JSPC Plugin.

Follow the usage guide for copy-paste samples to add insert-fragment in web.xml file and jspc-maven-plugin + maven-war-plugin as part of build plugins in pom.xml file.

Here are some problems that I encountered while adding JSP precompilation to Wish:

Some of the JSPs use SiteMesh taglib and since the application only needed it as part of the war package, I originally set the dependency scope to be runtime. This causes JSPC to complain because it needs the library in the classpath while compiling the JSPs.

Read more

Share Comments

My Maven2 Cheat Sheet

Here are some Maven2 command lines that I use most often:

To create a new project:

mvn archetype:create -DgroupId=com.mbledug.foo -DartifactId=bar

To generate Eclipse project descriptor after configuring the dependencies in pom.xml:

mvn eclipse:eclipse

To run unit tests, obviously:

mvn test

Tun run a single test by test class name:

mvn test -Dtest=FooBar

To generate site documentation without running the tests (handy while updating the APTs):

mvn -Dmaven.test.skip=true clean site

To build the package file (jar, war, etc) allowing test failure:

Read more

Share Comments

Introducing Tagyu Widget

Update2: Unfortunately Tagyu service has been shutdown for now (as of 16 August 2006).

Update: it is now available for download at Yahoo! Widget Gallery.

I gave Yahoo! Widget a try by creating Tagyu Widget.

Suggested category and tags for yahoo.com .

Yahoo! Widget is simple and straightforward to use, and I think the most important bit is that it’s fun to use! (can’t say the same thing about Swing). Anyone with knowledge of HTML/XML and Javascript should be able to start creating widgets right away.

Read more

Share Comments

Tagyu4J v0.3 and BlogMap4J v0.2 - More On Maven

Tagyu4J v0.3 and BlogMap4J v0.2 have been released. Included in this release:

  • The use of Maven2. Spent some time on figuring out the equivalent of Maven1 goals in Maven2, e.g. distribution plugin in Maven1 is now assembly plugin in Maven2.

  • Project sites (BlogMap4J, Tagyu4J) are now generated by Maven. It reminds me of the old days of using Forrest 0.6 back in 2004.

  • Lots of code refactoring, lots of ‘Why did I do it that way?’ moments.

    Read more

Share Comments

Vintage Monitor Stand

My vintage monitor stand.

Classic web 0.1!

Read more

Share Comments

Tagyu4J v0.2

Tagyu4J v0.2 is now available. This release is to maintain compatibility with Tagyu REST web services due to recent modifications on Tagyu’s interfaces.

Some notable changes: there’s a new interface to get related tags, suggested tags response now provides category/classification, and the response on both interfaces returns more tag information (name, relation, url).

Read more

Share Comments

Trackback Keyword Plugin

I’ve just released Trackback Keyword Plugin. It’s a Blojsom plugin that checks the content of trackback URL for the existence of at least one of the specified keywords which will determine whether the trackback is a spam or not. A trackback spam will then be deleted or moderated.

I created this plugin because my blog started receiving some trackback spams from the usual poker-viagra-and-friends web sites. I know this plugin is not a perfect solution, specially compared to Akismet. However, having another option for spam fighting is not a bad thing.

Read more

Share Comments

Corrupted Jar On Local Maven Repository

test:test:
[junit] Running
foo.bar.BlahTestCase java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:111)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:870)
at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:799)
After staring blankly on why the test failed with Maven but it was ok as a stand-alone, I remembered that I had this problem before. It was caused by corrupted jar on my local maven repository. The solution was to simply destroy the repository and rebuild it.

Read more

Share Comments

Social Bookmark Buttons For Blojsom

Update: this information is now available on Blojsom wiki’s Social Bookmark Buttons page.

You can add various social bookmark (BlinkList, del.icio.us, Digg, Fark, Furl, Newsvine, Reddit, Simpy, Spurl, Yahoo! MyWeb) buttons to your Blojsom blog like this:

Download the icons and unzip them under your Blojsom resources/[blog-id]/ directory. Copy paste the following code snippet to your blog entries template:

#set($blinklist  = ["BlinkList", "blinklist.gif", "http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=$permalink&Title=$entry.getTitle()"])
#set($delicious  = ["del.icio.us", "delicious.gif", "http://del.icio.us/post?url=$permalink&title=$entry.getTitle()"])
#set($digg       = ["digg", "digg.gif", "http://digg.com/submit?phase=2&url=$permalink"])
#set($fark       = ["Fark", "fark.gif", "http://cgi.fark.com/cgi/fark/edit.pl?new_url=$permalink&new_comment=$entry.getTitle()&new_link_other=&linktype=Misc"])
#set($furl       = ["Furl", "furl.gif", "http://www.furl.net/storeIt.jsp?t=$entry.getTitle()&u=$permalink"])
#set($newsvine   = ["Newsvine", "newsvine.gif", "http://www.newsvine.com/_tools/seed&save?u=$permalink&h=$entry.getTitle()"])
#set($reddit     = ["reddit", "reddit.gif", "http://reddit.com/submit?url=$permalink&title=$entry.getTitle()"])
#set($simpy      = ["Simpy", "simpy.png", "http://www.simpy.com/simpy/LinkAdd.do?href=$permalink&title=$entry.getTitle()"])
#set($spurl      = ["Spurl", "spurl.gif", "http://www.spurl.net/spurl.php?title=$entry.getTitle()&url=$permalink"])
#set($yahoomyweb = ["Yahoo! MyWeb", "yahoomyweb.gif", "http://myweb2.search.yahoo.com/myresults/bookmarklet?t=$entry.getTitle()&u=$permalink"])
#set($links = [$blinklist, $delicious, $digg, $fark, $furl, $newsvine, $reddit, $simpy, $spurl, $yahoomyweb])
<div>
#foreach ($link in $links)
  <a href="$link.get(2)" style="border: 0;">
    <img src="#Resource("icons/$link.get(1)")" style="border: 0;" height="16" width="16" alt="$link.get(0)"/>
  </a>
#end
</div>
For a demo, check out Melbourne. Please do not hotlink the icons :).

Read more

Share Comments