/srv/irclogs.ubuntu.com/2008/10/13/#ubuntu-doc.txt

=== liz_ is now known as Atamira
=== Atamira is now known as Liz
mdkekirkland: around?21:14
kirklandmdke: for a few minutes21:14
mdkekirkland: ah, ok. Another time then :)21:14
kirklandmdke: i was just looking at the search stuff21:14
kirklandmdke: i have about 15 or so21:15
mdkeah, that will be enough21:15
kirklandmdke: then i have to bring the dog to the vet ;-)21:15
mdke:(21:15
mdkei 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.c21:15
mdkeI tried building it into the Moin theme, but didn't get that far21:15
kirklandmdke: ah, sure, it's pretty straightforward21:16
mdkeI got it into the page alright, just didn't understand how to generate the results21:16
kirklandmdke: so where do you want the results?21:16
kirklandmdke: on a special "search results" page?21:16
mdkeI guess so, what are the alternatives21:17
mdke?21:17
kirklandhttp://people.ubuntu.com/~kirkland/search.html21:17
kirklandmdke: that's all on the same page21:17
kirklandmdke: search for a term, and you'll just see the results inserted into the page21:17
kirklandmdke: http://manpages.ubuntu.com/21:17
kirklandmdke: that one has the search box in the header, and the result return on a separate search page21:18
mdkethat's the one we want21:18
kirklandmdke: (use the text search)21:18
kirklandmdke: okay....21:18
kirklandmdke: see the code for the ubuntu-manpage-repository21:18
kirklandmdke: bzr branch lp:ubuntu-manpage-repository21:18
mdkeok21:19
kirklandmdke: so you have the search box already in the header?21:19
kirklandmdke: or do i need to show you how to do that?21:19
kirklandmdke: what will be the page where search results will appear?21:20
kirklandmdke: it can be simple html21:20
mdkeyes, I have that21:20
kirklandmdke: http://help.ubuntu.com/search.html ?21:20
mdkeI guess we need to create a page on help.ubuntu.com for all search results21:20
mdkeexactly21:20
kirklandmdke: http://pastebin.ubuntu.com/57136/21:21
kirklandmdke: that's what goes in the header21:21
kirklandnote the form action= bit21:21
mdkeyeah, that's the thing I have21:21
kirklandmdke: modify that if you decide on a different destination for the search results21:21
mdkeplus some javascript21:21
mdkei mean, some more javascript21:21
kirklandmdke: http://pastebin.ubuntu.com/57138/21:22
mdkeI 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 out21:22
kirklandmdke: put that where you want the results21:22
mdkeahh.21:23
kirklandmdke: just change size="22" in the text box input element21:23
mdkemagnificent21:23
mdkeok, thanks a bunch21:23
kirklandmdke: all the code for managing the indexed sites, priorities, etc. is hosted on the google CSE site21:23
kirklandmdke: i tried to set it up for us to share access, but i'm not sure we ever got that working properly21:24
mdkeyes, I suspect that that bit will have to be left to you :)21:24
kirklandmdke: i can try to transfer it to you, or you can trust me to it ;-)21:24
mdkeas long as you're willing, then I'm more than happy :)21:24
kirklandmdke: nice, i think we're good then21:24
mdkegreat, thanks a lot21:24
mdkegood luck with the dog, hope all goes well21:24
kirklandmdke: np.  is it working?21:25
mdkeI'll give it a shot later...21:25
kirklandmdke: thanks, he has a cut on the pad of his foot that hasn't healed in a couple of weeks21:25
kirklandk21:25
mdkekirkland: for later - http://doc.ubuntu.com/~mdke/search.html - getting there...21:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!