=== liz_ is now known as Atamira === Atamira is now known as Liz [21:14] kirkland: around? [21:14] mdke: for a few minutes [21:14] kirkland: ah, ok. Another time then :) [21:14] mdke: i was just looking at the search stuff [21:15] mdke: i have about 15 or so [21:15] ah, that will be enough [21:15] mdke: then i have to bring the dog to the vet ;-) [21:15] :( [21:15] i was going to ask about how to plug the search into a page so that maybe I can work at building it into the themes for help.u.c [21:15] I tried building it into the Moin theme, but didn't get that far [21:16] mdke: ah, sure, it's pretty straightforward [21:16] I got it into the page alright, just didn't understand how to generate the results [21:16] mdke: so where do you want the results? [21:16] mdke: on a special "search results" page? [21:17] I guess so, what are the alternatives [21:17] ? [21:17] http://people.ubuntu.com/~kirkland/search.html [21:17] mdke: that's all on the same page [21:17] mdke: search for a term, and you'll just see the results inserted into the page [21:17] mdke: http://manpages.ubuntu.com/ [21:18] mdke: that one has the search box in the header, and the result return on a separate search page [21:18] that's the one we want [21:18] mdke: (use the text search) [21:18] mdke: okay.... [21:18] mdke: see the code for the ubuntu-manpage-repository [21:18] mdke: bzr branch lp:ubuntu-manpage-repository [21:19] ok [21:19] mdke: so you have the search box already in the header? [21:19] mdke: or do i need to show you how to do that? [21:20] mdke: what will be the page where search results will appear? [21:20] mdke: it can be simple html [21:20] yes, I have that [21:20] mdke: http://help.ubuntu.com/search.html ? [21:20] I guess we need to create a page on help.ubuntu.com for all search results [21:20] exactly [21:21] mdke: http://pastebin.ubuntu.com/57136/ [21:21] mdke: that's what goes in the header [21:21] note the form action= bit [21:21] yeah, that's the thing I have [21:21] mdke: modify that if you decide on a different destination for the search results [21:21] plus some javascript [21:21] i mean, some more javascript [21:22] mdke: http://pastebin.ubuntu.com/57138/ [21:22] I was trying to figure out how to narrow the search bar a bit, but I think I can just checkout the source of manpages.ubuntu.com and figure it out [21:22] mdke: put that where you want the results [21:23] ahh. [21:23] mdke: just change size="22" in the text box input element [21:23] magnificent [21:23] ok, thanks a bunch [21:23] mdke: all the code for managing the indexed sites, priorities, etc. is hosted on the google CSE site [21:24] mdke: i tried to set it up for us to share access, but i'm not sure we ever got that working properly [21:24] yes, I suspect that that bit will have to be left to you :) [21:24] mdke: i can try to transfer it to you, or you can trust me to it ;-) [21:24] as long as you're willing, then I'm more than happy :) [21:24] mdke: nice, i think we're good then [21:24] great, thanks a lot [21:24] good luck with the dog, hope all goes well [21:25] mdke: np. is it working? [21:25] I'll give it a shot later... [21:25] mdke: thanks, he has a cut on the pad of his foot that hasn't healed in a couple of weeks [21:25] k [21:58] kirkland: for later - http://doc.ubuntu.com/~mdke/search.html - getting there...