CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • relative URLgiven in event rss feed
Pages: [1]

Author Topic: relative URLgiven in event rss feed  (Read 1179 times)

jamie

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 6
relative URLgiven in event rss feed
August 18, 2011, 11:17:34 am
The useful RSS feed that CIviEvent generates (e.g. http://civicrm.org/civicrm/event/ical?page=1&reset=1&rss=1) seems to produce a relative URL in the link tag (e.g. <link>/civicrm/event/info?reset=1&amp;id=145</link>).

When this is pulled in by an RSS aggregator on a different site (e.g. Drupal's Aggregator module) the result is a broken link back to the event item.

The example in the RSS 2.0 spec (http://cyber.law.harvard.edu/rss/rss.html) seems to indicate that we should be producing absolute links here.

If this is a bug let me know and I'd be happy to submit a patch.

jamie

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: relative URLgiven in event rss feed
August 18, 2011, 01:58:14 pm

yes, this is a bug. would be great if u can investigate and submit a patch

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jamie

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 6
Re: relative URLgiven in event rss feed
August 21, 2011, 07:31:23 am
Even easier than I thought :).

http://issues.civicrm.org/jira/browse/CRM-8692

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • relative URLgiven in event rss feed

This forum was archived on 2017-11-26.