Allow location to be extracted from feeds

geodaniel - February 25, 2009 - 23:36
Project:Activity Stream
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:akalsey
Status:closed
Description

I would like to be able to extract location information from my feeds to make it available to sub-modules, and as SimplePie already supports this, we can do it easily. Please find the attached patch.

I'd like to build upon this so that we can save locations for any items, if location module is available and if locations are enabled for activity stream items.

AttachmentSize
activitystream_feed_location.patch933 bytes

#1

geodaniel - February 26, 2009 - 01:19

This is an updated patch which also takes into account the lack of support in SimplePie for application/georss+xml content type headers (see this thread). This is needed to get it to accept feeds from Brightkite.

AttachmentSize
activitystream_feed_location.patch 1.37 KB

#2

akalsey - February 28, 2009 - 21:06
Assigned to:geodaniel» akalsey

Looks good to me, but I haven't tested yet. Anyone tested this and can confirm it's working?

#3

akalsey - April 13, 2009 - 19:36
Version:6.x-1.x-dev» 6.x-2.x-dev
Status:needs review» fixed

Checked into 2.x-dev

#4

geodaniel - April 13, 2009 - 20:35

Thanks Adam

#5

System Message - April 27, 2009 - 20:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.