I am not sure what your plans are for Drupal 7, but I have a module (Search by Page Attachments, part of http://drupal.org/project/search_by_page) which depends on Search Files API. Since I just ported my module to Drupal 7, in the process I also ported the API portion of your module to Drupal 7.

I'll attach it in a zip file in a comment here in just a second. I didn't think making a patch file was all that useful.

I also didn't port the other modules in your project, just the API module.

Hope this helps...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

FileSize
6.23 KB

Here's a zip file with a working version of Search Files API for Drupal 7.

EDIT: There is a problem with this version. New one coming shortly....

jhodgdon’s picture

FileSize
6.23 KB

Here's a new version. There was a small error in that other attachment.

This version passes all my attachment searching tests in Search by Page, so I'm reasonably certain that the helper API functionality works.

If you are not planning on releasing Search Files for Drupal 7, could you let me know (use my contact form or reply to this issue)?
I will in that case make plans to incorporate your API module into Search by Page. Thanks...

jhodgdon’s picture

Status: Active » Needs review
FileSize
6.22 KB

Here's a new version. Some things changed in Drupal 7's install process and the above zip file wouldn't work any more.

Module maintainers: Are you planning on doing a release of this module for Drupal 7?

jrglasgow’s picture

yes, we will probably do a version of the module for D7, I just haven't gotten around to it yet.

jhodgdon’s picture

Good to know. The above zip file will get you part way there, at least.

I've also ported Search by Page Attachments to D7, which may also help you figure out the Field API, if your module needs that (since both upload and cck/filefield are subsumed in D7 by the File field, you might). Issue tracking progress of porting SBP to D7:
#674070: Drupal 7 version of Search by Page

jrglasgow’s picture

Status: Needs review » Fixed

I have created a branch for D7 and committed your changes to the branch. this is my start to port the module to D7. I appreciate the help.

Status: Fixed » Closed (fixed)

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