The Artima Developer Community
Sponsored Link

Java Buzz Forum
delicious-jsp

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
delicious-jsp Posted: Jul 6, 2005 1:30 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: delicious-jsp
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

I've just updated my blog to show my recent del.icio.us bookmarks and this was really easy to do, thanks to blojsom David's delicious-java API. All I needed to do was...

  1. Wrap up delicious-java inside a cache so that del.icio.us doesn't get hit every time somebody requests my site.
  2. Write a JSP tag that uses the cache, which can then be used as follows.

<delicious:posts var="deliciousPosts" username="****" password="****"/>
<b>del.icio.us</b>
<c:forEach var="post" items="${deliciousPosts}">
  <div>
  <a href="<c:out value="${post.href}"/>">
  <c:out value="${post.description}"/>
  </a><br />
  <c:out value="${post.extended}" /><br /><br />
  </div>
</c:forEach>

If anybody else would like to use this on their JSP powered blog, just leave a comment and I'll sort out a download.

Read: delicious-jsp

Topic: Grokster commentary Previous Topic   Next Topic Topic: Smoking the ActiveMQ Crack...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use