Jeremi,
I think we are close now but all that is placed in the description element
is
<description>
$xwiki.renderText($content, $currentdoc)
</description>
Bob
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Thursday, December 08, 2005 12:25 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Ways to change RSS feed?
oh Yes, sorry,
search this:
-#set($content = $currentdoc.display("extract", "view", $currentobj))
- #if($content=="")
#set($content = $currentdoc.display("content", "view",
$currentobj))
- #if($content.length()>=400)
- #set($i = $content.lastIndexOf(" ",400))
- #set($i = $i + 1)
- #set($content = "${content.substring(0,$i)}")
- ##set($content = $!doc.getRenderedContent($content))
- #set($quote = '"')
- #set($surl = "${quote}${url}${quote}")
- #set($content = "${content}... <a href=${surl}
>continue</a>")
- #end
- #end
and remove lines which start with -
Jérémi
On 12/8/05, Bob Mixon <bob.mixon(a)gmail.com> wrote:
Jeremi,
I did look at the code, replaced my code and am still getting an rss feed
that is truncated.
Bob
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Wednesday, December 07, 2005 8:51 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Ways to change RSS feed?
hello,
you can look at the rss feed of the mavenbook.
http://mavenbook.xwiki.com/xwiki/bin/view/Main/BlogRss?xpage=code
the full article is in the feed.
Jeremi
On 12/8/05, bob.mixon(a)gmail.com <bob.mixon(a)gmail.com> wrote:
I would like to change the way News RSS feed
works. I would like the
entire post sent instead of just an excerpt. What is the
best way to
accomplish this?
>
>
>
>
> --
> You receive this message as a subscriber of the
xwiki-users(a)objectweb.org
mailing list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing
list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com