Drupal 5 update

christefanø - March 1, 2007 - 09:38
Project:OpenSearch Feed
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:critical
Assigned:ŐRY Máté
Status:closed
Description

This excellent module needs a .info file to work with Drupal 5. I created one and opensearch works on all my Drupal 5.1 sites, so I'm attaching it here. Remove .txt from the filename.

Thank you for this module.

AttachmentSize
opensearch.info_.txt434 bytes

#1

christefanø - March 1, 2007 - 09:39
Category:task» feature request

#2

Grugnog2 - July 17, 2007 - 23:18
Status:active» patch (code needs review)

#3

geodaniel - January 3, 2008 - 11:01

Added an updated .info file which doesn't include all the bits that drupal.org will add automatically. It'd be great to see a 5.x release of this module.

AttachmentSize
opensearch.info_.txt142 bytes

#4

christefanø - January 3, 2008 - 11:55
Status:patch (code needs review)» patch (reviewed & tested by the community)

Thanks. I created this issue before I knew how $Id$ tags worked.

#5

ŐRY Máté - April 23, 2008 - 18:55
Title:opensearch.info file needed for Drupal 5 update» Drupal 5 update
Priority:normal» critical
Assigned to:Anonymous» ŐRY Máté
Status:patch (reviewed & tested by the community)» patch (code needs work)
  • Adding the .info file is not enough (eg. hook_settings is removed) – it doesn't work so
  • Opensearch module depends on search module.
  • Last patch has a line break in description
  • t() tokens changed → invalid XML description file

I'm working on the patch.

#6

ŐRY Máté - April 23, 2008 - 22:31

Some work on Drupal 5 compatibility. The channel is still not recognized by ff3. Patch for #250449: OS description file ignores clean_url included.

AttachmentSize
opensearch.info_.txt138 bytes
5_.diff7.56 KB

#7

christefano - April 24, 2008 - 19:30

5_.diff says it's for opensearch.module 1.5 but it doesn't apply at all.

#8

ŐRY Máté - April 25, 2008 - 16:23

$ wget http://drupal.org/files/issues/5_.diff
$ wget http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/opensearch/opensearch.module?revision=1.5
$ patch -p0 < 5_.diff

Works for me on Ubuntu 8.04.

#9

ŐRY Máté - April 27, 2008 - 16:49
Status:patch (code needs work)» closed

#10

christefano - April 28, 2008 - 17:30
Status:closed» patch (code needs work)

Viewing the OpenSearch feed only shows the front page of the Drupal site and viewing the OpenSearch Feed settings page throws an error:

Fatal error: Cannot use string offset as an array in /var/www/modules/system/system.module on line 1077

Thank you for your recent efforts! I'm not using OpenSearch Feed much anymore since Faceted Search has come on the scene, so I won't really be able to test any further.

#11

aufumy - July 16, 2008 - 17:05

Mostly coder spacing fixes.

Also fixed function opensearch_menu for 'admin/settings/opensearch' to resolve #10

-      'callback' => 'opensearch_admin_settings',
+      'callback' => 'drupal_get_form',
+      'callback arguments' => array('opensearch_admin_settings'),

AttachmentSize
opensearch_5_jul16.patch6.42 KB

#12

aufumy - July 23, 2008 - 21:50
Status:patch (code needs work)» patch (code needs review)

Added site name to auto-discovery title

-      'title' => $opensearch_shortname
+      'title' => variable_get('site_name', 'Drupal') . ' ' . $opensearch_shortname

AttachmentSize
opensearch_5_jul23.patch6.76 KB

#13

xiong - July 30, 2008 - 10:22
Status:patch (code needs review)» patch (reviewed & tested by the community)

#14

aufumy - August 15, 2008 - 20:10
Version:HEAD» 5.x-1.x-dev
Status:patch (reviewed & tested by the community)» fixed

DRUPAL-5 branch created, dev release available here:
http://drupal.org/node/295874

#15

Anonymous (not verified) - August 29, 2008 - 20:12
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.