Just a placeholders. I haven't worked this out yet. For instace, what path? How about:
search/apachesolr_search/thequery/feed?arg1=foo&arg2=foo
like taxonomy does it?
Show full nodes or teasers? Probably could/should be configurable.
Just a placeholders. I haven't worked this out yet. For instace, what path? How about:
search/apachesolr_search/thequery/feed?arg1=foo&arg2=foo
like taxonomy does it?
Show full nodes or teasers? Probably could/should be configurable.
Comments
Comment #1
robertdouglass commentedand should conform to Opensearch RSS. Some hints can probably be found here http://drupal.org/project/opensearch and we should get aufumy involved.
Comment #2
pwolanin commentedI'm not sure from that link what RSS standard we would want to conform to. I think Atom Syndication Format might be most in line with plans for D7.
As will search results, I think we want to only return the highlighted results or a short snippet.
Comment #3
xnickmx commentedsubscribing
Comment #4
jarchowk commentedI've added this in and I actually started a request a few months ago... it works for me but I'm guessing its not a true rss feed and just an XML dump of the results. Anyway this would be a great feature.
Comment #5
pwolanin commentedHere's one possible source to crib some atom generation code:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/atom_views/
Comment #6
janusman commentedHmm, I just installed OpenSearch Feed module along with ApacheSolr 6.x-1.x-DEV and it seems to work. After install, a button labelled "XML" appears next to the search button above the search results. The RSS feed appears opensearch-compliant.
So, this might already be solved? (At least for RSS?)
Comment #7
pwolanin commentedHmm, interesting - however, this will break perhaps if we decouple from core search?
Comment #8
janusman commentedI'd think that RSS formatting can only be attacked by:
1. Using views integration and using RSS output from views. (When views integration is ready)
2. Using core search integration and handling RSS output on top. (like with OpenSearch module)
3. Offering that functionality from within the module.
If/when we drop core search integration, then (2) would break. By then (1) and/or (3) would be the remaining options.
I don't see an issue for dropping core search, and I don't know what the plans & discussions for/against it are, so I don't have any more useful opinions on the RSS issue... for "now" it *seems* solved =)
Comment #9
jarchowk commentedI'd assume that the OpenSearch RSS could be used with any feed reader but I get an error when I try to subscribe using Google Reader. Is that the same with everyone?
Comment #10
robertdouglass commentedYes, this is true, and another reason to rally behind that patch.
Comment #11
janusman commentedThe patch for #358166: Search for just facet(s) breaks the Opensearch feed module, in that it requires keys to work.
It really wouldn't take a lot of time to adapt opensearch.module into an apachesolr_xml.module (?), the question is: do we want to?
I say the answer is yes, now that #358166: Search for just facet(s) seems done and we want to remove dependency on core search in the future.
I volunteer for this, but would like some input first.
Comment #12
jarchowk commentedI use opensearch for RSS subscription and a custom module for email search subscriptions. I haven't looked at the Search for just facet's piece, I'm assuming that you can still access search with just a query string?
Does this break the regular solr search or just when a search just for facets is made?
Comment #13
janusman commentedI exagerated. I meant to say, that no RSS feed is offerred nor generated when there are no keys. Only an issue when the mentioned patch is committed.
Apologies!
Comment #14
xarbot commentedsuscribed
Comment #15
janusman commentedIt seems @aufumy is no longer mantaining Opensearch module.
Nonetheless, I posted a patch to enable Apache Solr support in that module here: http://drupal.org/node/339418#comment-1807154
Comment #16
janusman commented@aufumy just committed my above patch to Opensearch module. This means we can now have RSS feeds today for Apache Solr just by installing Opensearch module's DEV version.
Do you think we can now close this out? Or should we aim to include this functionality into ApacheSolr in its 2.x branch?
Comment #17
robertdouglass commentedw00t @aufumy!
Changing to a task to document using OpenSearch module for RSS.
Comment #18
janusman commentedI can do this, just tell me where to do this =) I don't have permissions to edit handbooks in D.O. BTW
Comment #19
mathieu commentedsubscribe
Comment #20
janusman commentedUhm, VERY simple howto is now here:
http://drupal.org/node/602538
I'm both embarrassed and happy it's so simple to do =) Thanks @aufumy.