You are here

README.txt in Search and Replace Scanner 5.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
Scanner Search and Replace
--------------------------

I. DESCRIPTION:

The Search and Replace Scanner can do plain text search-and-replace, or 
regular expression search-and-replace, against the title, body and CCK text 
content fields on all nodes in your system.  This is useful for finding html 
strings that Drupal's normal search will ignore. The module is very handy if you 
are fixing typos in a lot of content, changing the name of your company, or 
are changing the URL of a link included multiple times in multiple nodes, 
among other things.


II. LIMITATIONS:

1. Only works on sites using a MySQL database.

2. Large search and replace actions may not be completed on sites that are 
hosted in environments where PHP's max_execution_time variable can't be 
dynamically expanded. The module automatically attempts to expand the 
maximum execution time of a script to 10 minutes. (It's often set at 2 minutes.)  
If your Web host doesn't let you adjust this variable dynamically, you may be 
able to ask your hosting provider to make the change for your account.


III. WARNING:

This is a very powerful tool, and as such is very dangerous.  You can easily
destroy your entire site with it.  Be sure to backup your database before using 
it.  No, really.


IV. FEATURES:

1. Plain text search and replace.

2. Regular expression search and replace.

3. Case sensitive search option.

4. Plain text search allows 'whole word' matching option.  For example, 
searching for "run" with the whole word option selected will filter out 
"running" and "runs", but will match "run!".

5. You can specify text that should precede or follow the search text in order for a match to be valid.

6. Can limit search and replace to published nodes only.

7. Can search and replace on CCK text fields, in addition to node title 
and body fields.

8. Searches can be limited to specific fields in specific node types.

9. Searches can be further limited by nodes containing specific taxonomy terms.

10. Will save a new node revision when a replacement is made, in case you want 
to revert a change.

11. Provides an Undo option that lets you revert all nodes that were udpated in 
a specific replacement action.

12. Can dynamically update teasers after replacements in other fields, or can 
by updated manually, or not at all.

13. Will dynamically expand PHP's maximum execution time for scripts up to 
10 minutes on servers that support it. This allows complex queries on large 
bodies of content.

14. Search results for searches and replacements can be themed.


V. TODO / KNOWN BUGS:

1. Provide better highlighting for search results. Right now there's a known 
bug where multiple search terms on the same line aren't all highlighted. (The 
hit count is correct, though, and all items are replaced correctly.)

2. Perform more thorough testing of the "custom field" feature.


VI. INSTALLATION AND ADMINISTRATION:

See INSTALL.txt for installation and administration instructions.


VII. CREDITS:

Version 5.x-2.0 by:
   - Amit Asaravala
     Drupal username: aasarava
     http://www.returncontrol.com
     amit [at] returncontrol.com
   - Jason Salter
     Drupal username: jpsalter
     http://www.fivepaths.com
     jason [at] fivepaths.com
   - Sponsored by Five Paths Consulting
     http://www.fivepaths.com

Version 5.x-1.0 by:
   -  Tao Starbow
     Drupal username: starbow
     http://www.starbowconsulting.com
     tao [at] starbowconsulting.com


File

README.txt
View source
  1. Scanner Search and Replace
  2. --------------------------
  3. I. DESCRIPTION:
  4. The Search and Replace Scanner can do plain text search-and-replace, or
  5. regular expression search-and-replace, against the title, body and CCK text
  6. content fields on all nodes in your system. This is useful for finding html
  7. strings that Drupal's normal search will ignore. The module is very handy if you
  8. are fixing typos in a lot of content, changing the name of your company, or
  9. are changing the URL of a link included multiple times in multiple nodes,
  10. among other things.
  11. II. LIMITATIONS:
  12. 1. Only works on sites using a MySQL database.
  13. 2. Large search and replace actions may not be completed on sites that are
  14. hosted in environments where PHP's max_execution_time variable can't be
  15. dynamically expanded. The module automatically attempts to expand the
  16. maximum execution time of a script to 10 minutes. (It's often set at 2 minutes.)
  17. If your Web host doesn't let you adjust this variable dynamically, you may be
  18. able to ask your hosting provider to make the change for your account.
  19. III. WARNING:
  20. This is a very powerful tool, and as such is very dangerous. You can easily
  21. destroy your entire site with it. Be sure to backup your database before using
  22. it. No, really.
  23. IV. FEATURES:
  24. 1. Plain text search and replace.
  25. 2. Regular expression search and replace.
  26. 3. Case sensitive search option.
  27. 4. Plain text search allows 'whole word' matching option. For example,
  28. searching for "run" with the whole word option selected will filter out
  29. "running" and "runs", but will match "run!".
  30. 5. You can specify text that should precede or follow the search text in order for a match to be valid.
  31. 6. Can limit search and replace to published nodes only.
  32. 7. Can search and replace on CCK text fields, in addition to node title
  33. and body fields.
  34. 8. Searches can be limited to specific fields in specific node types.
  35. 9. Searches can be further limited by nodes containing specific taxonomy terms.
  36. 10. Will save a new node revision when a replacement is made, in case you want
  37. to revert a change.
  38. 11. Provides an Undo option that lets you revert all nodes that were udpated in
  39. a specific replacement action.
  40. 12. Can dynamically update teasers after replacements in other fields, or can
  41. by updated manually, or not at all.
  42. 13. Will dynamically expand PHP's maximum execution time for scripts up to
  43. 10 minutes on servers that support it. This allows complex queries on large
  44. bodies of content.
  45. 14. Search results for searches and replacements can be themed.
  46. V. TODO / KNOWN BUGS:
  47. 1. Provide better highlighting for search results. Right now there's a known
  48. bug where multiple search terms on the same line aren't all highlighted. (The
  49. hit count is correct, though, and all items are replaced correctly.)
  50. 2. Perform more thorough testing of the "custom field" feature.
  51. VI. INSTALLATION AND ADMINISTRATION:
  52. See INSTALL.txt for installation and administration instructions.
  53. VII. CREDITS:
  54. Version 5.x-2.0 by:
  55. - Amit Asaravala
  56. Drupal username: aasarava
  57. http://www.returncontrol.com
  58. amit [at] returncontrol.com
  59. - Jason Salter
  60. Drupal username: jpsalter
  61. http://www.fivepaths.com
  62. jason [at] fivepaths.com
  63. - Sponsored by Five Paths Consulting
  64. http://www.fivepaths.com
  65. Version 5.x-1.0 by:
  66. - Tao Starbow
  67. Drupal username: starbow
  68. http://www.starbowconsulting.com
  69. tao [at] starbowconsulting.com