From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vibhav Pant Newsgroups: gmane.emacs.devel Subject: Re: EWW/SHR Feature Request Date: Fri, 21 Mar 2014 23:34:42 +0530 Message-ID: References: <21292.24135.442736.223060@lapdog.roam.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1395425081 26679 80.91.229.3 (21 Mar 2014 18:04:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2014 18:04:41 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: raman@google.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 21 19:04:51 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 1WR3oH-0006dw-R8 for ged-emacs-devel@m.gmane.org; Fri, 21 Mar 2014 19:04:49 +0100 Original-Received: from localhost ([::1]:54064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR3oH-0005kl-9e for ged-emacs-devel@m.gmane.org; Fri, 21 Mar 2014 14:04:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR3oC-0005i8-TL for emacs-devel@gnu.org; Fri, 21 Mar 2014 14:04:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR3oC-000873-28 for emacs-devel@gnu.org; Fri, 21 Mar 2014 14:04:44 -0400 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:36077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR3oB-000866-QQ for emacs-devel@gnu.org; Fri, 21 Mar 2014 14:04:43 -0400 Original-Received: by mail-pa0-f48.google.com with SMTP id hz1so2712528pad.21 for ; Fri, 21 Mar 2014 11:04:42 -0700 (PDT) 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=ElX8Z2aSm3YJ3e5YSDUBIi4y+Qiti8MfgGzR8Gfmptc=; b=gPArqZOsPRpKEA4IfZqpsDhHtal8uW2VGSfpbcjnY7i9ynvEjxfp91GSz/zDKeOslw dB909MbW5zDuKrpL78OEh0Mj20/k+HCup75ma0/Asdj+SuZqeImPk6IgOCWSMebt5KuJ v+RE4etQcg7dmB3X5MRltv979TzzjT58wF/WE2KOdUIdigvF7GuY+ytKqC96B2ad0JFZ U6i7M5a3lBp+DWYowRJpxmru7wCPruYyP3i/uk1CSETL+i5z0gWvycV5F1cmFjsawWJ9 UZE+PvRZZzzzZgnzZcRgNA/rbY0YxiWUMrySp46ebFQuwAOcfLWW9J/WoYFiIQqYdmZS +1TQ== X-Received: by 10.69.2.2 with SMTP id bk2mr54951402pbd.75.1395425082842; Fri, 21 Mar 2014 11:04:42 -0700 (PDT) Original-Received: by 10.70.128.44 with HTTP; Fri, 21 Mar 2014 11:04:42 -0700 (PDT) In-Reply-To: <21292.24135.442736.223060@lapdog.roam.corp.google.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 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:170726 Archived-At: On Fri, Mar 21, 2014 at 9:14 PM, T. V. Raman wrote: > Now that we have shr and eww, it would be nice to have a function > that takes an html string and returns a formatted representation > (replete with properties etc.) something like > (shr-format-html-string html-string) -> Return: Formatted string > suitable for insertion into a buffer. By formatted string, do you mean the entire content of the page to which the address redirects too, or the webpage title? -- Vibhav Pant vibhavp@gmail.com