Semantic Desktop Planet

<%

sql = "select document.fullName from XWikiDocument as document, BaseObject as bobject where bobject.className='SemDesk.Blog' and bobject.name=document.fullName";

blogs = xwiki.xWiki.getHibernateStore().search(sql, 35, 0, context.context) feedurl = new StringBuffer() count = blogs.size() for (blogDocName in blogs) {

blogDoc = xwiki.getDocument(blogDocName) blog = blogDoc.getObject("SemDesk.Blog") feedurl.append(blog.Feed) feedurl.append(xwiki.nl) }

feed = xwiki.feed.getFeeds(feedurl.toString()) i = 0 for (entry in feed.entries) { if ( i < 2 * count) { i++ title = entry.title.replaceAll("--","-")

%>

<% } } %>

Version 6.1 last modified by Lucien Pereira on 01/08/2008 at 15:27

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: StephaneLauriere on 2006/11/09 22:30
Copyright 2004-2007 (c) XPertNet and Contributing Authors
1.1.1