Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to search IRC logs #9

Closed
marcoscaceres opened this issue Oct 28, 2012 · 2 comments
Closed

Way to search IRC logs #9

marcoscaceres opened this issue Oct 28, 2012 · 2 comments
Assignees

Comments

@marcoscaceres
Copy link
Contributor

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>
@ghost ghost assigned attiks Oct 28, 2012
@attiks
Copy link
Member

attiks commented Oct 28, 2012

@marcoscaceres
Copy link
Contributor Author

Oh, not sure how we missed that - and the search at the top of the page 😓 (cc. @nwtn ). Thanks @attiks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants