From 9dc7fd4c4cb07c0f82a91cafeafb3e1435af587f Mon Sep 17 00:00:00 2001
From: Hongbo Wu
Date: Mon, 30 May 2022 22:47:47 +0800
Subject: [PATCH 01/10] Add test case for electrek
---
.../electrek/expected-metadata.json | 12 +
.../test/test-pages/electrek/expected.html | 78 +
.../test/test-pages/electrek/source.html | 1887 +++++++++++++++++
.../test/test-pages/electrek/url.txt | 1 +
4 files changed, 1978 insertions(+)
create mode 100644 packages/readabilityjs/test/test-pages/electrek/expected-metadata.json
create mode 100644 packages/readabilityjs/test/test-pages/electrek/expected.html
create mode 100644 packages/readabilityjs/test/test-pages/electrek/source.html
create mode 100644 packages/readabilityjs/test/test-pages/electrek/url.txt
diff --git a/packages/readabilityjs/test/test-pages/electrek/expected-metadata.json b/packages/readabilityjs/test/test-pages/electrek/expected-metadata.json
new file mode 100644
index 000000000..ec043ebba
--- /dev/null
+++ b/packages/readabilityjs/test/test-pages/electrek/expected-metadata.json
@@ -0,0 +1,12 @@
+{
+ "title": "Georgia gives US solar panel manufacturing a big boost with a new factory",
+ "byline": "Michelle Lewis",
+ "dir": null,
+ "excerpt": "Solar-cell manufacturing giant Q Cells today announced that it's opening a new solar panel manufacturing facility in Dalton, Georgia.",
+ "siteName": "Electrek",
+ "siteIcon": "/favicon.ico",
+ "previewImage": "https://i0.wp.com/electrek.co/wp-content/uploads/sites/3/2022/05/georgia-solar-manufacturing.jpg?resize=1200%2C628&quality=82&strip=all&ssl=1",
+ "publishedDate": "2022-05-26T15:57:59.000Z",
+ "language": "English",
+ "readerable": true
+}
diff --git a/packages/readabilityjs/test/test-pages/electrek/expected.html b/packages/readabilityjs/test/test-pages/electrek/expected.html
new file mode 100644
index 000000000..d1a72dd2a
--- /dev/null
+++ b/packages/readabilityjs/test/test-pages/electrek/expected.html
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
Seoul-headquartered PV solar-cell manufacturing giant Q Cells today announced that it’s opening a new solar panel manufacturing facility in Dalton, Georgia.
+
Georgia solar panel manufacturing grows again
+
It’s a $171 million expansion of Q Cells’ existing solar module manufacturing plant in Dalton, and that will create 470 additional jobs. Total local Q Cells employees will exceed 1,000 when the expansion is complete.
+
Groundbreaking is planned for fall 2022 and operation is expected to commence within the first half of 2023.
+
This latest domestic solar manufacturing expansion will boost production of advanced photovoltaic (PV) modules, and that will help the US work move toward its goal of decarbonizing the electric grid.
+
The new facility will produce 1.4 gigawatts (GW) of solar modules per year made with Q Cells’ next-gen PV cells, a high-efficiency tunnel oxide passivated contact technology better known as TOPCon.
+
Combined with the existing 1.7-GW factory, the expansion will bring Q Cells’ total capacity in the US to 3.1 GW; that’s equivalent to one-third of the country’s solar module manufacturing capacity.
+
Qcells CEO Justin Lee said:
+
+
Georgia has become the clean energy manufacturing heart of America, and we are proud to contribute to the state’s advanced manufacturing economy.
+
+
Q Cells has the largest market share in the US commercial and residential markets and also supplies the utility-scale solar sector.
+
Senator Jon Ossoff (D-GA) met with Q Cells’ parent company Hanwha in Seoul last year and has been actively pitching and securing additional clean energy investment in Georgia.
Also in Georgia, WeSolar CSP, a minority-owned renewable energy tech and design company headquartered in Princeton, New Jersey, will design a solar farm along with a microgrid that will supply the City of Washington, Georgia, that will replace natural gas use. Washington is 90 miles east of Atlanta and has a population of around 4,000.
+
The project will comprise both solar panels and a concentrating solar-thermal power (CSP) technology.
+
WeSolar CSP’s CEO, Steve Anglin, said:
+
+
The citizens of the City of Washington will benefit by having a cleaner environment and experiencing price certainty in the face of the ever-increasing energy costs of fossil fuels.
+ UnderstandSolar is a free service that links you to top-rated solar installers in your region for personalized solar estimates. Tesla now offers price matching, so it’s important to shop for the best quotes. Click here to learn more and get your quotes. — *ad.
+
+
+ FTC: We use income earning auto affiliate links.More.
+
Michelle Lewis is a writer and editor on Electrek and an editor on DroneDJ, 9to5Mac, and 9to5Google. She lives in White River Junction, Vermont. She has previously worked for Fast Company, the Guardian, News Deeply, Time, and others. Message Michelle on Twitter or at michelle@9to5mac.com. Check out her personal blog.
+ Seoul-headquartered PV solar-cell manufacturing giant Q Cells today announced that it’s opening a new solar panel manufacturing facility in Dalton, Georgia.
+
+
+
+
+
+
+ Georgia solar panel manufacturing grows again
+
+
+ It’s a $171 million expansion of Q Cells’ existing solar module manufacturing plant in Dalton, and that will create 470 additional jobs. Total local Q Cells employees will exceed 1,000 when the expansion is complete.
+
+
+ Groundbreaking is planned for fall 2022 and operation is expected to commence within the first half of 2023.
+
+
+ This latest domestic solar manufacturing expansion will boost production of advanced photovoltaic (PV) modules, and that will help the US work move toward its goal of decarbonizing the electric grid.
+
+
+ The new facility will produce 1.4 gigawatts (GW) of solar modules per year made with Q Cells’ next-gen PV cells, a high-efficiency tunnel oxide passivated contact technology better known as TOPCon.
+
+
+ Combined with the existing 1.7-GW factory, the expansion will bring Q Cells’ total capacity in the US to 3.1 GW; that’s equivalent to one-third of the country’s solar module manufacturing capacity.
+
+
+ Qcells CEO Justin Lee said:
+
+
+
+ Georgia has become the clean energy manufacturing heart of America, and we are proud to contribute to the state’s advanced manufacturing economy.
+
+
+
+ Q Cells has the largest market share in the US commercial and residential markets and also supplies the utility-scale solar sector.
+
+
+ Senator Jon Ossoff (D-GA) met with Q Cells’ parent company Hanwha in Seoul last year and has been actively pitching and securing additional clean energy investment in Georgia.
+
+ Also in Georgia, WeSolar CSP, a minority-owned renewable energy tech and design company headquartered in Princeton, New Jersey, will design a solar farm along with a microgrid that will supply the City of Washington, Georgia, that will replace natural gas use. Washington is 90 miles east of Atlanta and has a population of around 4,000.
+
+
+ The project will comprise both solar panels and a concentrating solar-thermal power (CSP) technology.
+
+
+ WeSolar CSP’s CEO, Steve Anglin, said:
+
+
+
+ The citizens of the City of Washington will benefit by having a cleaner environment and experiencing price certainty in the face of the ever-increasing energy costs of fossil fuels.
+
+ UnderstandSolar is a free service that links you to top-rated solar installers in your region for personalized solar estimates. Tesla now offers price matching, so it’s important to shop for the best quotes. Click here to learn more and get your quotes. — *ad.
+
+
+
+
+
+
+ FTC: We use income earning auto affiliate links.More.
+
+
+
+
+
+
+
+ You’re reading Electrek— experts who break news about Tesla, electric vehicles, and green energy, day after day. Be sure to check out our homepage for all the latest news, and follow Electrek on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our YouTube channel for the latest reviews.
+
+ Michelle Lewis is a writer and editor on Electrek and an editor on DroneDJ, 9to5Mac, and 9to5Google. She lives in White River Junction, Vermont. She has previously worked for Fast Company, the Guardian, News Deeply, Time, and others. Message Michelle on Twitter or at michelle@9to5mac.com. Check out her personal blog.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/readabilityjs/test/test-pages/electrek/url.txt b/packages/readabilityjs/test/test-pages/electrek/url.txt
new file mode 100644
index 000000000..04b170cf7
--- /dev/null
+++ b/packages/readabilityjs/test/test-pages/electrek/url.txt
@@ -0,0 +1 @@
+https://electrek.co/2022/05/26/georgia-solar-panel-manufacturing/
\ No newline at end of file
From bce50c2a92ddb7a4cb85eb3953c7b840e33d64cf Mon Sep 17 00:00:00 2001
From: Hongbo Wu
Date: Tue, 31 May 2022 11:11:06 +0800
Subject: [PATCH 02/10] Update electrek test case
---
.../test/test-pages/electrek/expected.html | 53 +-
.../test/test-pages/electrek/source.html | 6602 ++++++++++++-----
2 files changed, 4786 insertions(+), 1869 deletions(-)
diff --git a/packages/readabilityjs/test/test-pages/electrek/expected.html b/packages/readabilityjs/test/test-pages/electrek/expected.html
index d1a72dd2a..29df338f2 100644
--- a/packages/readabilityjs/test/test-pages/electrek/expected.html
+++ b/packages/readabilityjs/test/test-pages/electrek/expected.html
@@ -4,10 +4,19 @@
-
-
+
+
+
-
+
+
Seoul-headquartered PV solar-cell manufacturing giant Q Cells today announced that it’s opening a new solar panel manufacturing facility in Dalton, Georgia.
Georgia solar panel manufacturing grows again
@@ -16,7 +25,7 @@
This latest domestic solar manufacturing expansion will boost production of advanced photovoltaic (PV) modules, and that will help the US work move toward its goal of decarbonizing the electric grid.
The new facility will produce 1.4 gigawatts (GW) of solar modules per year made with Q Cells’ next-gen PV cells, a high-efficiency tunnel oxide passivated contact technology better known as TOPCon.
Combined with the existing 1.7-GW factory, the expansion will bring Q Cells’ total capacity in the US to 3.1 GW; that’s equivalent to one-third of the country’s solar module manufacturing capacity.
-
Qcells CEO Justin Lee said:
+
Qcells CEO Justin Lee said:
Georgia has become the clean energy manufacturing heart of America, and we are proud to contribute to the state’s advanced manufacturing economy.
@@ -28,22 +37,22 @@
Washington, Georgia, embraces solar
Also in Georgia, WeSolar CSP, a minority-owned renewable energy tech and design company headquartered in Princeton, New Jersey, will design a solar farm along with a microgrid that will supply the City of Washington, Georgia, that will replace natural gas use. Washington is 90 miles east of Atlanta and has a population of around 4,000.
The project will comprise both solar panels and a concentrating solar-thermal power (CSP) technology.
-
WeSolar CSP’s CEO, Steve Anglin, said:
+
WeSolar CSP’s CEO, Steve Anglin, said:
The citizens of the City of Washington will benefit by having a cleaner environment and experiencing price certainty in the face of the ever-increasing energy costs of fossil fuels.
UnderstandSolar is a free service that links you to top-rated solar installers in your region for personalized solar estimates. Tesla now offers price matching, so it’s important to shop for the best quotes. Click here to learn more and get your quotes. — *ad.
- FTC: We use income earning auto affiliate links.More.
+ FTC: We use income earning auto affiliate links.
+ More.
Michelle Lewis is a writer and editor on Electrek and an editor on DroneDJ, 9to5Mac, and 9to5Google. She lives in White River Junction, Vermont. She has previously worked for Fast Company, the Guardian, News Deeply, Time, and others. Message Michelle on Twitter or at michelle@9to5mac.com. Check out her personal blog.
+ Seoul-headquartered PV solar-cell manufacturing giant
+ Q Cells
+ today announced that it’s opening a new solar panel manufacturing
+ facility in Dalton, Georgia.
+
+
+
+
+
+
+ Georgia solar panel manufacturing grows again
+
+
+ It’s a $171 million expansion of Q Cells’ existing solar module
+ manufacturing plant in Dalton, and that will create 470 additional
+ jobs. Total local Q Cells employees will exceed 1,000 when the
+ expansion is complete.
+
+
+ Groundbreaking is planned for fall 2022 and operation is expected
+ to commence within the first half of 2023.
+
+
+ This latest domestic solar manufacturing expansion will boost
+ production of advanced photovoltaic (PV) modules, and that will
+ help the US work move toward its goal of decarbonizing the
+ electric grid.
+
+
+ The new facility will produce 1.4 gigawatts (GW) of solar modules
+ per year made with Q Cells’ next-gen PV cells, a high-efficiency
+ tunnel oxide passivated contact technology better known as TOPCon.
+
+
+ Combined with the existing 1.7-GW factory, the expansion will
+ bring Q Cells’ total capacity in the US to 3.1 GW; that’s
+ equivalent to one-third of the country’s solar module
+ manufacturing capacity.
+
+
Qcells CEO Justin Lee said:
+
+
+ Georgia has become the clean energy manufacturing heart of
+ America, and we are proud to contribute to the state’s advanced
+ manufacturing economy.
+
+
+
+ Q Cells has the largest market share in the US commercial and
+ residential markets and also supplies the utility-scale solar
+ sector.
+
+
+ Senator Jon Ossoff (D-GA) met with Q Cells’ parent company
+ Hanwha in Seoul last year and has been actively pitching and
+ securing additional clean energy investment in Georgia.
+
+
+
+
+
+
+
+
+ NEWS: Today, Sen.
+ @ossoff
+ and
+ @Qcells_NA
+ announced a $171 million expansion of their Dalton, Georgia
+ solar manufacturing plant, creating nearly 500 new Georgia
+ jobs.
+ pic.twitter.com/5bWGfUb3RQ
+
+ Also in Georgia,
+ WeSolar CSP, a minority-owned renewable energy tech and design company
+ headquartered in Princeton, New Jersey, will design a solar farm
+ along with a microgrid that will supply the City of Washington,
+ Georgia, that will replace natural gas use. Washington is 90 miles
+ east of Atlanta and has a population of around 4,000.
+
+
+ The project will comprise both solar panels and a concentrating
+ solar-thermal power (CSP) technology.
+
+
WeSolar CSP’s CEO, Steve Anglin, said:
+
+
+ The citizens of the City of Washington will benefit by having a
+ cleaner environment and experiencing price certainty in the face
+ of the ever-increasing energy costs of fossil fuels.
+
+ UnderstandSolar is a free service that links you to top-rated
+ solar installers in your region for personalized solar
+ estimates. Tesla now offers price matching, so it’s important to
+ shop for the best quotes. Click here to learn more and get your quotes. — *ad.
+
+
+
+
+
+
+ FTC: We use income earning auto affiliate links.
+ More.
+
+
+
+
+
+
+
+
+ You’re reading Electrek— experts who break news about
+ Tesla,
+ electric vehicles,
+ and green energy,
+ day after day. Be sure to check out our
+ homepage for all the latest
+ news, and follow Electrek on
+ Twitter,
+ Facebook, and
+ LinkedIn
+ to stay in the loop. Don’t know where to start? Check out our
+ YouTube channel for the latest reviews.
+
+ Michelle Lewis is a writer and editor on Electrek and an
+ editor on DroneDJ, 9to5Mac, and 9to5Google. She lives in
+ White River Junction, Vermont. She has previously worked for
+ Fast Company, the Guardian, News Deeply, Time, and others.
+ Message Michelle on Twitter or at michelle@9to5mac.com.
+ Check out her personal blog.
+