Closed (fixed)
Project:
OpenSearch feed
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Apr 2007 at 10:34 UTC
Updated:
26 May 2007 at 02:00 UTC
Jump to comment: Most recent file
I'd like to be able to add location information using GeoRSS to OpenSearch results so it would be good if there was a hook in the OpenSearch module that allowed other modules to add information to the OpenSearch feeds. It could work similarly to the hook_nodeapi('rss item') hook in node.module.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | opensearch_hook_rssitem.patch | 1001 bytes | geodaniel |
| #1 | opensearch_hook.patch | 1.14 KB | geodaniel |
Comments
Comment #1
geodaniel commentedAttached is a patch that adds an 'opensearch result' hook call to nodeapi. This could actually be implemented as 'rss item' instead of 'opensearch result' which would mean modules that already use that wouldn't have to implement anything new, but I'm not sure if it'd have any adverse or unintended effects.
Comment #2
geodaniel commentedSteven, I updated the patch as requested, to use 'rss item' and to add the braces into the if statement to match the coding standards. Looking forward to seeing this in action :)
Comment #3
Steven commentedComment #4
(not verified) commented