Ways to change RSS feed?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Ways to change RSS feed?

Bob Mixon [SPS MVP]
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 [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Ways to change RSS feed?

jeremi joslin
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, [hidden email] <[hidden email]> 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 [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 : [hidden email]



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Ways to change RSS feed?

Bob Mixon [SPS MVP]
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:[hidden email]]
Sent: Wednesday, December 07, 2005 8:51 PM
To: [hidden email]
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, [hidden email] <[hidden email]> 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 [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 : [hidden email]





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Ways to change RSS feed?

jeremi joslin
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 <[hidden email]> 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:[hidden email]]
> Sent: Wednesday, December 07, 2005 8:51 PM
> To: [hidden email]
> 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, [hidden email] <[hidden email]> 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 [hidden email]
> mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?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 : [hidden email]
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 : [hidden email]



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Ways to change RSS feed?

Bob Mixon [SPS MVP]
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:[hidden email]]
Sent: Thursday, December 08, 2005 12:25 AM
To: [hidden email]
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 <[hidden email]> 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:[hidden email]]
> Sent: Wednesday, December 07, 2005 8:51 PM
> To: [hidden email]
> 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, [hidden email] <[hidden email]> 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
[hidden email]

> mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?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 : [hidden email]
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 : [hidden email]





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Ways to change RSS feed?

Bob Mixon [SPS MVP]
In reply to this post by jeremi joslin
Jeremi,

I got it to work... thank you!

Do you have similar code that I can use to change how these same entries are
displayed on my home page?

Sincerely,
 
Bob Mixon
http://bobmixon.xwiki.com
 

-----Original Message-----
From: jeremi joslin [mailto:[hidden email]]
Sent: Thursday, December 08, 2005 12:25 AM
To: [hidden email]
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 <[hidden email]> 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:[hidden email]]
> Sent: Wednesday, December 07, 2005 8:51 PM
> To: [hidden email]
> 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, [hidden email] <[hidden email]> 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
[hidden email]

> mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?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 : [hidden email]
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 : [hidden email]





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws