Skip to content

Way to search IRC logs #9

Closed
Closed
@marcoscaceres

Description

@marcoscaceres

It would be nice to have a way to search for IRC logs. For example, using a google search box.

Below is a sample from google that can be used right now. But if Drupal supports something else that is cool.

<!-- Put the following javascript before the closing </head> tag. -->
<script>
  (function() {
    var cx = '014646753165310474669:sepbxawpsmi';
    var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
  })();
</script>

<!-- Place this tag where you want both of the search box and the search results to render -->
<gcse:search></gcse:search>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions