how to include external rss feed?
I am trying to include and external rss feed in my xwiki page but it doesn't seem to work. I am trying the rss macro with the following rss feed: http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml But it just errors out...please help! Thanks, Brian
Could it be the same problem as this? http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it doesn't seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the xwiki-users@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
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0? This is how I am using the RSS macro: {rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml} Here is the error I get: rss: Error processing http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml: Server returned HTTP response code: 403 for URL: http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this? http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it
doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@objectweb.orgmailing 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
I found this on the ROME site...looks like this is a xwiki rss macro issue where the user-agent is not set correctly to get around security filters: https://rome.dev.java.net/servlets/ReadMsg?list=users&msgNo=522 What is the best way to get a fix for this into the xwki rss macro? Thanks, Brian On 4/30/06, Brian Knorr <btknorr@gmail.com> wrote:
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0? This is how I am using the RSS macro:
{rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml}
Here is the error I get:
rss: Error processing http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml: Server returned HTTP response code: 403 for URL: http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this? http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it
doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
I think the problem isn't the content of the feed, but accessing it. See here & view code: http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest The first attempt reads the feed directly - that fails. Apparently it's a problem with Rome. The second is the content of the feed cut & pasted to a different url - that works. The third is accessing the feed through a script that simply regurgitates the content of the URL that's passed as an argument - that works. I use this for my feeds. By the way, if you get frustrated with the way the RSS macro presents things, you can access the SyndFeed object directly with Velocity like #set($feed=$xwiki.feed.getFeed($feedUrl)) . See the http://openmpt.xwiki.com homepage for an example. Only problem is I'm not sure how to handle exceptions in Velocity. Hope that's some help. Cheers, Robin On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0? This is how I am using the RSS macro:
{rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml}
Here is the error I get:
rss: Error processing http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml: Server returned HTTP response code: 403 for URL: http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this?
http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it
doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the
xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
Thank you so much for the help...the php proxy works great -- am I allowed to use this proxy for my xwiki site? Thanks, Brian On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
I think the problem isn't the content of the feed, but accessing it. See here & view code: http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest The first attempt reads the feed directly - that fails. Apparently it's a problem with Rome. The second is the content of the feed cut & pasted to a different url - that works. The third is accessing the feed through a script that simply regurgitates the content of the URL that's passed as an argument - that works. I use this for my feeds.
By the way, if you get frustrated with the way the RSS macro presents things, you can access the SyndFeed object directly with Velocity like #set($feed=$xwiki.feed.getFeed($feedUrl)) . See the http://openmpt.xwiki.com homepage for an example. Only problem is I'm not sure how to handle exceptions in Velocity.
Hope that's some help.
Cheers, Robin
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0? This
is
how I am using the RSS macro:
{rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml}
Here is the error I get:
rss: Error processing http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml: Server returned HTTP response code: 403 for URL: http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this?
http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it
doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the
xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@objectweb.orgmailing 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
Sure you can use it, but it might be up and down a bit depending on what I'm doing on that host. In fact, here's a better hack.. all that php script does is reprint the content of the url that is passed as a parameter. You could integrate something similar right into your XWiki - see: http://soal.xwiki.com/xwiki/bin/view/Sandbox/printUrlContent?xpage=code (might need a little more work to allow for a querystring on the url to reprint). I have updated http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest with a 4th example that uses that instead of the external php script. Cheers, Robin On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Thank you so much for the help...the php proxy works great -- am I allowed to use this proxy for my xwiki site?
Thanks,
Brian
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
I think the problem isn't the content of the feed, but accessing it. See here & view code: http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest The first attempt reads the feed directly - that fails. Apparently it's a problem with Rome. The second is the content of the feed cut & pasted to a different url - that works. The third is accessing the feed through a script that simply regurgitates the content of the URL that's passed as an argument - that works. I use this for my feeds.
By the way, if you get frustrated with the way the RSS macro presents things, you can access the SyndFeed object directly with Velocity like #set($feed=$xwiki.feed.getFeed($feedUrl)) . See the http://openmpt.xwiki.com homepage for an example. Only problem is I'm not sure how to handle exceptions in Velocity.
Hope that's some help.
Cheers, Robin
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0?
This is
how I am using the RSS macro:
{rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml }
Here is the error I get:
rss: Error processing
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml :
Server returned HTTP response code: 403 for URL:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this?
http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page but it
doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the
xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
Sweet...I added our own rss hack page with the code you pointed me to and it works. This is what I am using to get google groups rss feeds working: {rss:feed= http://watij.xwiki.com/xwiki/bin/view/XWiki/RssHack?url=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml&xpage=plain|count=10 } Thanks! Brian On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Sure you can use it, but it might be up and down a bit depending on what I'm doing on that host.
In fact, here's a better hack.. all that php script does is reprint the content of the url that is passed as a parameter. You could integrate something similar right into your XWiki - see: http://soal.xwiki.com/xwiki/bin/view/Sandbox/printUrlContent?xpage=code (might need a little more work to allow for a querystring on the url to reprint). I have updated http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest with a 4th example that uses that instead of the external php script.
Cheers, Robin
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Thank you so much for the help...the php proxy works great -- am I
allowed
to use this proxy for my xwiki site?
Thanks,
Brian
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
I think the problem isn't the content of the feed, but accessing it. See here & view code: http://soal.xwiki.com/xwiki/bin/view/Sandbox/rsstest The first attempt reads the feed directly - that fails. Apparently it's a problem with Rome. The second is the content of the feed cut & pasted to a different url - that works. The third is accessing the feed through a script that simply regurgitates the content of the URL that's passed as an argument - that works. I use this for my feeds.
By the way, if you get frustrated with the way the RSS macro presents things, you can access the SyndFeed object directly with Velocity like #set($feed=$xwiki.feed.getFeed($feedUrl)) . See the http://openmpt.xwiki.com homepage for an example. Only problem is I'm not sure how to handle exceptions in Velocity.
Hope that's some help.
Cheers, Robin
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
Isn't this standard stuff? Does xwiki support RSS 2.0 or Atom 1.0?
This is
how I am using the RSS macro:
{rss:feed=http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml }
Here is the error I get:
rss: Error processing
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml :
Server returned HTTP response code: 403 for URL:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
On 4/30/06, Robin Fernandes <rewbs.soal@gmail.com> wrote:
Could it be the same problem as this?
http://mail-archive.objectweb.org/xwiki-users/2006-03/msg00109.html
On 30/04/06, Brian Knorr <btknorr@gmail.com> wrote:
I am trying to include and external rss feed in my xwiki page
but it doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
-- You receive this message as a subscriber of the
xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@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
-- You receive this message as a subscriber of the xwiki-users@objectweb.orgmailing 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
participants (2)
-
Brian Knorr -
Robin Fernandes