Ways to change RSS feed?
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?
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, [email protected] <[email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
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:[email protected]] Sent: Wednesday, December 07, 2005 8:51 PM To: [email protected] 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, [email protected] <[email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
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 <[email protected]> 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:[email protected]] Sent: Wednesday, December 07, 2005 8:51 PM To: [email protected] 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, [email protected] <[email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
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:[email protected]] Sent: Thursday, December 08, 2005 12:25 AM To: [email protected] 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 <[email protected]> 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:[email protected]] Sent: Wednesday, December 07, 2005 8:51 PM To: [email protected] 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, [email protected] <[email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
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:[email protected]] Sent: Thursday, December 08, 2005 12:25 AM To: [email protected] 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 <[email protected]> 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:[email protected]] Sent: Wednesday, December 07, 2005 8:51 PM To: [email protected] 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, [email protected] <[email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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 : [email protected]
participants (3)
-
Bob Mixon -
bob.mixon@gmail.com -
jeremi joslin