From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: edbrowse-dev@edbrowse.org
Subject: Re: [edbrowse-dev] shc
Date: Sat, 13 Feb 2021 09:28:37 +0000 [thread overview]
Message-ID: <YCebxa7FBhs1pJGF@toaster> (raw)
In-Reply-To: <20210030191847.eklhad@comcast.net>
On Sat, Jan 30, 2021 at 07:18:47PM -0500, Karl Dahlke wrote:
> As usual, I'm trying to take small steps that won't disturb anything.
>
> This is followup to my previous email about accessing the cells in a possibly wide table.
>
> We want to query a cell by its column name or number, but can we get our hands on the column headings?
> That would be the first step, yes?
>
> There is already an shc command to show the columns of a database table,
> only meaningful when edbrowse is in database mode.
> I generalized it to show the headings of an html table, if headings exist.
> But it is very specific,
> perhaps too specific,
> See html.c line 3970
> So no doubt people will play with it and find examples where it doesn't work and I'll have to tweak these routines.
> This part has to work, for almost all of the html tables in the real world,
> before we can talk about any of the other commands,
> such as col35 for the cell in position 35,
> or colfoo to find the column with a heading that contains the word foo, etc.
Sounds like a step in the right direction.
Cheers,
Adam.
prev parent reply other threads:[~2021-02-13 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-31 0:18 Karl Dahlke
2021-02-13 9:28 ` Adam Thompson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YCebxa7FBhs1pJGF@toaster \
--to=arthompson1990@gmail.com \
--cc=edbrowse-dev@edbrowse.org \
--cc=eklhad@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).