edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] tidy and db5
@ 2015-08-28  2:55 Kevin Carhart
  2015-08-28 21:35 ` [Edbrowse-dev] tidy tree Kevin Carhart
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Carhart @ 2015-08-28  2:55 UTC (permalink / raw)
  To: Edbrowse-dev

Good progress!  OK, I could bring in the db5 block unless you have 
zipped on to this already.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Edbrowse-dev] tidy tree
  2015-08-28  2:55 [Edbrowse-dev] tidy and db5 Kevin Carhart
@ 2015-08-28 21:35 ` Kevin Carhart
  2015-08-28 21:55   ` Chris Brannon
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Carhart @ 2015-08-28 21:35 UTC (permalink / raw)
  To: Edbrowse-dev



I think now that we have the TidyDoc, there is a little bit of 
variety possible in how to lay things out so that they will be actually 
useable and conducive to sitting down with it, in the ways that we need.

Here is what I have right now.

The node name is shown.
The number in parentheses is the number of levels of nesting.
After each node is each attribute name-value pair.
What else?

Here is a snippet of amazon.com.
Node(3): div
Attribute: class = navFooterLine navFooterLinkLine navFooterPadItemLine
Node(4): ul
Node(5): li
Attribute: class = nav_first
Node(6): a
Attribute: href = 
/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088
Attribute: class = nav_a
Node(7): Text
Node(5): li
Node(6): a
Attribute: href = 
/gp/help/customer/display.html/ref=footer_privacy?ie=UTF8&nodeId=468496
Attribute: class = nav_a
Node(7): Text
Node(5): li
Node(6): a
Attribute: href = /interestbasedads
Attribute: class = nav_a

thanks
Kevin




On Thu, 27 Aug 2015, Kevin Carhart wrote:

> Good progress!  OK, I could bring in the db5 block unless you have
> zipped on to this already.
> _______________________________________________
> Edbrowse-dev mailing list
> Edbrowse-dev@lists.the-brannons.com
> http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
>

--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Edbrowse-dev] tidy tree
  2015-08-28 21:35 ` [Edbrowse-dev] tidy tree Kevin Carhart
@ 2015-08-28 21:55   ` Chris Brannon
  2015-08-28 22:38     ` Kevin Carhart
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Brannon @ 2015-08-28 21:55 UTC (permalink / raw)
  To: Kevin Carhart; +Cc: Edbrowse-dev

Kevin Carhart <kevin@carhart.net> writes:

> Here is what I have right now.
>
> The node name is shown.
> The number in parentheses is the number of levels of nesting.
> After each node is each attribute name-value pair.
> What else?

That's very awesome!  Sorry, I must have missed seeing that you had started
on this.  The only thing I might add is perhaps a display of the
contents of text nodes.  Or at least the length of the underlying
string?  On the other hand, maybe that's a little too much noise?
Perhaps we could show that on higher debug levels?

-- Chris

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Edbrowse-dev] tidy tree
  2015-08-28 21:55   ` Chris Brannon
@ 2015-08-28 22:38     ` Kevin Carhart
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Carhart @ 2015-08-28 22:38 UTC (permalink / raw)
  To: Chris Brannon; +Cc: Edbrowse-dev



Hi Chris
No problem.  Echoing the text at a higher db level is a good idea.  I'll 
go add that to db6 right now if I can figure it out swiftly and then send 
it to you.  I did not write very much. 
I grabbed existing work, such as this, so thank you Suman Srinivasan.

http://sumancolumbia.blogspot.com/2006/03/parsing-html-using-tidy-and-tidylib.html

Kevin


On Fri, 28 Aug 2015, Chris Brannon wrote:

> Kevin Carhart <kevin@carhart.net> writes:
>
>> Here is what I have right now.
>>
>> The node name is shown.
>> The number in parentheses is the number of levels of nesting.
>> After each node is each attribute name-value pair.
>> What else?
>
> That's very awesome!  Sorry, I must have missed seeing that you had started
> on this.  The only thing I might add is perhaps a display of the
> contents of text nodes.  Or at least the length of the underlying
> string?  On the other hand, maybe that's a little too much noise?
> Perhaps we could show that on higher debug levels?
>
> -- Chris
>

--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-28 22:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-28  2:55 [Edbrowse-dev] tidy and db5 Kevin Carhart
2015-08-28 21:35 ` [Edbrowse-dev] tidy tree Kevin Carhart
2015-08-28 21:55   ` Chris Brannon
2015-08-28 22:38     ` Kevin Carhart

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).