Hi Rick,
On Fri, Jan 15, 2010 at 9:08 PM, Rick Hadsall <nospam(a)elwynor.com> wrote:
Hi,
I'm new to XWiki but know Confluence pretty well. I'd like to be able to
do
something similar to what Confluence does with their blog macro - be able
to
show 1..n recent blog posts on a page, either just showing the titles
(which
we can do with Velocity as per the default Dashboard), or showing a
"teaser"
that shows the title, date posted, poster, and a small intro snippet of the
post...
Format would be like:
TITLE
snippet...
...
...
Posted by user at datetime (possibly comment stats etc)
Is there a way to do this in XWiki?
Yes, definitely. The blog actually used to do this but we changed it some
time ago because when content got truncated sometimes markup was no longer
closed properly, which led to wome weird display on the blog homepage (half
of the text getting underlined, stuff like that).
With the new rendering engine, it could be possible to write a "smart"
snippet algorithm that would cut the markup in the right place. In the
default version, you'll notice that if you manually fill the "summary"
field
of a blog post it gets displayed on the blog homepage instead of the actual
article content, which I believe is close to the behavior you're looking
for. If that's what you want to do, follow the indications on
http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication to create
a blog out of any page.
By the way, I'd be interested in hearing your feedback about XWiki as
compared to Confluence. Specifically, if you were to name one thing you like
best in XWiki vs Confluence and one thing you like best in Confluence
compared to XWiki, what would those be?
Hope this helps,
Guillaume
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/