From lojban+bncCMLaiI6rCBCDs53pBBoEv_IzOw@googlegroups.com Fri Jan 07 10:21:07 2011 Received: from mail-yw0-f61.google.com ([209.85.213.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1PbGvt-0007b0-29; Fri, 07 Jan 2011 10:21:07 -0800 Received: by ywh1 with SMTP id 1sf16311573ywh.16 for ; Fri, 07 Jan 2011 10:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:mime-version :received:received:date:in-reply-to:x-ip:references:user-agent :x-http-useragent:message-id:subject:from:to:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=PaHGjsI0RpZWhC47F1ZOxiro7Sjz2NYUoiFJ4lbzrMQ=; b=22zcYPbQInRTesHP5S4aYSczZeKyoTHhCi08dGK/UjjR3gyKztL0vjU5qDQ6Ct3y47 aLyTpzX4RLDC+e28tUwnlkHLBGOSZqf7Bkd6uIX9P5b9B/WT6b34dnN7+LAIP94hiTPd KG0o/eJQ9rnDW0X1eID8I3bHC0OD1zSUBily0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:in-reply-to:x-ip:references :user-agent:x-http-useragent:message-id:subject:from:to :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-transfer-encoding; b=13RmRIGoSKTl2fWzpMMjnv+n9ay5tAxmP8hQwM+1liLSgyn5KcrbSxztACSuu0z52a wMBdxSuxTqSNl5SLStIiSSIx75RIE9Cfh027i/n9Exw2YteMOlHHZJy0MeQO3QL0uxTC /E8AeYHiTaJF+VftEgJ0bG3L6pSifmtjLKa3w= Received: by 10.90.78.4 with SMTP id a4mr249289agb.26.1294424451087; Fri, 07 Jan 2011 10:20:51 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.90.149.10 with SMTP id w10ls4164879agd.1.p; Fri, 07 Jan 2011 10:20:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.89.1 with SMTP id m1mr249002agb.24.1294424450417; Fri, 07 Jan 2011 10:20:50 -0800 (PST) Received: by k22g2000yqh.googlegroups.com with HTTP; Fri, 7 Jan 2011 10:20:50 -0800 (PST) Date: Fri, 7 Jan 2011 10:20:50 -0800 (PST) In-Reply-To: X-IP: 87.206.36.220 References: <8dddf364-04fc-4857-8415-564d3d0444a8@k13g2000vbq.googlegroups.com> <478003.20780.qm@web88001.mail.re2.yahoo.com> <2b0e25ad-6e94-49b9-8184-38778ed357c4@s9g2000vby.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10,gzip(gfe) Message-ID: <331c6e4b-512e-4b63-a439-2b2b71e0a434@k22g2000yqh.googlegroups.com> Subject: [lojban] Re: Simple script making easier to read Lojban From: ianek To: lojban X-Original-Sender: janek37@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I've made a new version, the main difference is that now I strip those $_{}, making x1 of $x_{1}$. The difference is in the dictionary actually, and I've included my dictionary maker (which uses jbovlastefile obtained from http://jbovlaste.lojban.org/export/xml.html). I've also fixed the unicode bug. Pages with embedded javascript still won't work. So, here is the source: http://students.mimuw.edu.pl/~js/titles.tar.gz And here is updated demo: http://students.mimuw.edu.pl/~js/lpp/lpp.html When I said "It would be nice if it looked more like hover tips in jbovlaste" I've obviously meant vlasisku. On 29 Lis 2010, 11:33, najrut wrote: > Something out of this world ! Really ! > > On Nov 28, 12:51=A0am, ianek wrote: > > > > > > > > > My bad, it'shttp://students.mimuw.edu.pl/~js/lpp/title-test.zip > > I'm a bit afraid of putting such incomplete things on the wiki... > > > doi la'o gy Brian gy > > Figuring out sentences is one thing, but my util only adds > > definitions. Definitions aren't something you can figure out. The > > choice here is to jump between the text and vlasisku, or to find a > > simpler way. > > > On Nov 27, 4:55=A0am, "A. PIEKARSKI" wrote: > > > > This should be really great for newbies!=A0 Why don't you put it on t= he wiki? > > > > By the way, the second link goes to Error 404.=A0 Nothing to download= . > > > > totus > > > =A0 > > > > > coi > > > > I wrote a very simple script:http://janek37.pastebin.pl/31200 > > > > It's used with one parameter =96 the url of a page in Lojban. It re= ads > > > > the page and adds titles to all recognized Lojban words. (and print= s > > > > the resulting HTML to stdout) > > > > A sample output: > > > >http://students.mimuw.edu.pl/~js/lpp/lpp.html > > > > Hover on any word and you'll see it's definition from jbovlaste. > > > > It's very simple, so it has some faults: it doesn't recognize > > > > javascript, so don't even try it on pages with embed javascript. > > > > Also, it ignores markup, so you'll see all $x_{1}$ etc. Apparently = it > > > > also messes with unicode and breaks the =AB=BB quotes. > > > > It uses a module jbovlaste.py, which contains only one variable, > > > > 'definitions', which is a tuple of pairs (word, definition). > > > > You can download both files at > > > >http://students.mimuw.edu.pl/~js/lpp/titletest.zip > > > > I don't have very much time to play with it, so any contributions a= re > > > > welcome :) It would be nice if it looked more like hover tips in > > > > jbovlaste, and it would be extra nice if it showed definitions for > > > > each rafsi in unrecognized lujvo. > > > > > mu'o mi'e ianek > > > > > -- > > > > You received this message because you are subscribed to the Google = Groups > > > >"lojban" group. > > > > To post to this group, send email to lojban@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > >lojban+unsubscribe@googlegroups.com. > > > > For more options, visit this group at > > > >http://groups.google.com/group/lojban?hl=3Den. --=20 You received this message because you are subscribed to the Google Groups "= lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com. For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.