From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: On being web-friendly and why info must die Date: Fri, 12 Dec 2014 18:30:20 +0100 Message-ID: References: <20141205123549.GA29331@thyrsus.com> <87ppbqb6s1.fsf@gnu.org> <87h9x2f9me.fsf@fencepost.gnu.org> <87a92uf8ik.fsf@fencepost.gnu.org> <8761dif6ib.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c23d2841481a050a083f03 X-Trace: ger.gmane.org 1418405439 4316 80.91.229.3 (12 Dec 2014 17:30:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 17:30:39 +0000 (UTC) Cc: Emacs-Devel devel To: Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 18:30:33 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzU2t-0006Yv-7P for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 18:30:27 +0100 Original-Received: from localhost ([::1]:58731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzU2s-0005WO-P9 for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 12:30:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzU2p-0005W6-0a for emacs-devel@gnu.org; Fri, 12 Dec 2014 12:30:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzU2n-0002Wq-OR for emacs-devel@gnu.org; Fri, 12 Dec 2014 12:30:22 -0500 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:40568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzU2n-0002Wi-HN for emacs-devel@gnu.org; Fri, 12 Dec 2014 12:30:21 -0500 Original-Received: by mail-wi0-f171.google.com with SMTP id bs8so3205314wib.10 for ; Fri, 12 Dec 2014 09:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XI38f73gvbmKOOiqLRQKVRRjUj48a5iB22MpjUBqaoc=; b=suhaKprDgM8li6Iz9b69mWE5Q5pXDrWTDnWD/aOsdRevWxqAyVwisvzeWett7La6rK 0ftXMpjYDDGS5+F1KUGR+Gvpg9IfodbCW5kTQ9amYyQvoAJhSQlXefM+Gg0GQ1xtp6Et mUqZWtOS2O1hgpkz9v2QpEtYTsnrWAIssTW7QKgl4lc/yzPMfclvCcK4UzXEy2avZZq0 5DSkB+ecVcp62SVkw2/nCl9IRS//dyNtyuOIAbh90/e4rRu+MxstMDN1tTT7/1wCn7Au IoPQuF4JuOVZTMXXY6dRiZ+clPt1e+Le4Iq4P7cEcSf0MLt6Co43afIwOkVv2usBO7sf 01Mw== X-Received: by 10.180.12.75 with SMTP id w11mr9819822wib.9.1418405420810; Fri, 12 Dec 2014 09:30:20 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Fri, 12 Dec 2014 09:30:20 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Fri, 12 Dec 2014 09:30:20 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179944 Archived-At: --001a11c23d2841481a050a083f03 Content-Type: text/plain; charset=UTF-8 Yes, the libraries for those kind of things are good. :-) On Dec 12, 2014 5:24 PM, "Tom" wrote: > Lennart Borgman gmail.com> writes: > > > > Yes, without a search engine you can't search the html pages. (Or, you > > could build an index in JavaScript, but that is a very tough job if > > you want to do something useful.) > > > > With JS libraries, it's not that hard. As a test I created a simple > page to search the Emacs concept index. Just type in the textbox > something emacs related, the completions appear and if you select > one then it takes you to the relevant page of the emacs manual: > > http://emacstest.byethost12.com/ > > The effective code which I wrote for this is about 4 lines > (aside from the index entries array, but I just generated that). > > > > --001a11c23d2841481a050a083f03 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Yes, the libraries for those kind of things are good. :-)

On Dec 12, 2014 5:24 PM, "Tom" <adatgyujto@gmail.com> wrote:
Lennart Borgman <le= nnart.borgman <at> gma= il.com> writes:
>
> Yes, without a search engine you can't search the html pages. (Or,= you
> could build an index in JavaScript, but that is a very tough job if > you want to do something useful.)
>

With JS libraries, it's not that hard. As a test I created a simple
page to search the Emacs concept index. Just type in the textbox
something emacs related, the completions appear and if you select
one then it takes you to the relevant page of the emacs manual:

http://emacs= test.byethost12.com/

The effective code which I wrote for this is about 4 lines
(aside from the index entries array, but I just generated that).



--001a11c23d2841481a050a083f03--