mercury-parser/tmp.html
Adam Pash 93e844cdfe feat: implemented extractBestNode functionality
Squashed commit of the following:

commit 9af554dd975ff1778ed70c71fa9bde667fc5f880
Author: Adam Pash <adam.pash@gmail.com>
Date:   Tue Aug 30 15:19:32 2016 -0400

    feat: add cleanHeaders

commit 0dfea98eedc4f97fcbd78866322595c705e20521
Author: Adam Pash <adam.pash@gmail.com>
Date:   Tue Aug 30 14:30:49 2016 -0400

    fix: scoring parent nodes recursively

commit b6e5897a694adeb81e25a905aba72c0f45a8cc94
Author: Adam Pash <adam.pash@gmail.com>
Date:   Tue Aug 30 12:47:24 2016 -0400

    feat: extract clean node up and running

commit fb652c5db13db6bce7271efd68ba4b20515e9549
Author: Adam Pash <adam.pash@gmail.com>
Date:   Tue Aug 30 09:57:21 2016 -0400

    chore: added test for p tags with nested tags (e.g., img, iframe)

commit 731d0a2e4d89121dfafad195e9d0911805c4f8e4
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 17:50:33 2016 -0400

    feat: extact clean node integrates most functions

commit 322bc6534d30feb7c1c08d3813132badc6286b40
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 16:46:04 2016 -0400

    feat: removing empty nodes as defined in constants

commit f1d38932ea12a865814d2326970031fcb8515baa
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 16:33:31 2016 -0400

    feat: cleaning attributes from nodes

commit 0aa73ada6854af0ecd504bfe3d926a9524787ab5
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 16:09:56 2016 -0400

    feat: cleaning h1s from text

commit 12d4a309246285c278ce7765e4fbaa8271bb5889
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 15:52:03 2016 -0400

    feat: removing spacer images

commit 4e74ff830cc67586560f6fc72e2cfa432a3a2647
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 15:38:49 2016 -0400

    feat: stripping unwanted html from doc

commit c774166e90169fd0c1aa89898d3f7a975e82bf0a
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 15:17:32 2016 -0400

    feat: removing small images, height attribute from images

commit 3a8642f42cda451669c832482c5e1611b1ff2ea9
Author: Adam Pash <adam.pash@gmail.com>
Date:   Mon Aug 29 12:57:45 2016 -0400

    feat: rewrite top level

commit a1c03e779234b0aea02206d92ec3dcc15758507e
Author: Adam Pash <adam.pash@gmail.com>
Date:   Fri Aug 26 17:34:36 2016 -0400

    in a weird place rn
2016-08-30 15:25:25 -04:00

2 lines
4.3 KiB
HTML

<div><div id="area-article-first-block" cla ="area" score="48.25"><div id="mod-a-body-first-para" class="mod-latarticlesarticletext mod-articletext" score="56.875"><p score="3.5">SACRAMENTO &#x2014; The influential lobby group Consumer Electronics Assn. is fighting what appears to be a losing battle to dissuade California regulators from passing the nation&apos;s first ban on energy-hungry big-screen televisions.</p><p score="7">On Tuesday, executives and consultants for the Arlington, Va., trade group asked members of the California Energy Commission to instead let consumers use their wallets to decide whether they want to buy the most energy-saving new models of liquid-crystal display and plasma high-definition TVs.</p><p score="7">&quot;Voluntary efforts are succeeding without regulations,&quot; said Doug Johnson, the association&apos;s senior director for technology policy. Too much government interference could hamstring industry innovation and prove expensive to manufacturers and consumers, he warned.</p><p score="4">But those pleas didn&apos;t appear to elicit much support from commissioners at a public hearing on the proposed rules that would set maximum energy-consumption standards for televisions to be phased in over two years beginning in January 2011. A vote could come as early as Nov. 4.</p></div></div><div id="mod-a-body-after-first-para" class="mod-latarticlesarticletextwithadcpc mod-latarticlesarticletext mod-articletext" score="109.725"><p score="6">The association&apos;s views weren&apos;t shared by everyone in the TV business. Representatives of some TV makers, including top-seller Vizio Inc. of Irvine, said they would have little trouble complying with tighter state standards without substantially increasing prices.</p><p score="4.02">&quot;We&apos;re comfortable with our ability to meet the proposed levels and implementation dates,&quot; said Kenneth R. Lowe, Vizio&apos;s co-founder and vice president.</p><p score="5.64">Last month, the commission formally unveiled its proposal to require manufacturers to limit television energy consumption in a way that has been done with refrigerators, air conditioners and dozens of other products since the 1970s.</p><p score="7">&quot;We would not propose TV efficiency standards if we thought there was any evidence in the record that they will hurt the economy,&quot; said Commissioner Julia Levin, who has been in charge of the two-year rule-making procedure. &quot;This will actually save consumers money and help the California economy grow and create new clean, sustainable jobs.&quot;</p><p score="5.04">Tightening efficiency ratings by using new technology and materials should result in &quot;zero increase in cost to consumers,&quot; said Harinder Singh, an Energy Commission staffer on the TV regulation project.</p><p score="5">California&apos;s estimated 35 million TVs and related electronic devices account for about 10% of all household electricity consumption, the Energy Commission staff reported. But manufacturers quickly are coming up with new technologies that are making even 50-inch-screen models much more economical to operate.</p><p score="7.88">New features, such as light-emitting diodes that consume tiny amounts of power, special reflective films and sensors that automatically adjust TV brightness to a room&apos;s viewing conditions, are driving down electricity consumption, experts said.</p><p score="6.2">The payoff could be big for TV owners, said Ken Rider, a commission staff engineer. Average first-year savings from reduced electricity use would be an estimated $30 per set and $912 million statewide, he said.</p><p score="7">If all TVs met state standards, Rider added, California could avoid the $600-million cost of building a natural-gas-fired power plant. Switching to more-efficient TVs could have an estimated net benefit to the state of $8.1 billion, the commission staff reported.</p><p score="10">Consumer Electronics Assn. officials disputed that figure, arguing that it was based on out-of-date numbers that fail to account for recent industry innovations. &quot;With voluntary compliance, manufacturers can meet the targets over time, managing the cost impact, yet not in any way impeding innovation,&quot; said Seth Greenstein, an association consultant.</p><p score="0">--</p><p score="0"><a href="mailto:marc.lifsher@latimes.com">marc.lifsher@latimes.com</a></p></div></div>