RSS Feed for Space Blog

2 messages Options
Embed this post
Permalink
Philipp Rößler

RSS Feed for Space Blog

Reply Threaded More More options
Print post
Permalink
Hi,

How can set up a RSS feed for a single space blog?

I guess I´d have to use the Blog/BlogRss script, but how do I use that?

Best regards

Philipp

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Philipp Rößler

Re: RSS Feed for Space Blog

Reply Threaded More More options
Print post
Permalink
I figured it out:

On a new page include the following code (XWiki 1.0 syntax) and
replace the string passed to getDocument with the space.page
containing you blog posts:

    #includeMacros("Blog.RssCode")
    ##
    ##
    ##
    #set ($blogDoc = $xwiki.getDocument("Marketing.Marketing-Blog"))
    ##getTargetBlog($blogDoc)
    #getBlogEntries($blogDoc $entries)
    #set($entries = $xwiki.wrapDocs($entries))
    #displayBlogRss($blogDoc $entries)

Best regards

Philipp

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users