diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dd389be --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 4 + diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..29aaf6f --- /dev/null +++ b/.eslintrc @@ -0,0 +1,7 @@ +{ + "parser": "@typescript-eslint/parser", + "plugins": ["@typescript-eslint"], + "rules": { + "@typescript-eslint/explicit-function-return-type": "error" + } + } diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..3beb36c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,15 @@ +{ + + "bracketSameLine": true, + "semi": true, + "proseWrap": "always", + "printWidth": 75, + "arrowParens": "always", + "singleAttributePerLine": true, + "trailingComma": "all", + "embeddedLanguageFormatting": "auto", + "experimentalTernaries": true, + "parser": "typescript", + "tabWidth": 2, + "useTabs": true +} diff --git a/NAs.txt b/NAs.txt new file mode 100644 index 0000000..46d439c --- /dev/null +++ b/NAs.txt @@ -0,0 +1,24 @@ +!# marked item are under development + +Book Action !# +DataSet +Discussion and Forum +Education Q&A !# +Employer Aggregate Rating !# +Image MetaData !# +Job Posting !# +Math Solver +Practice Problem +Q&A not FAQ +Special Announcement +Subscription & Pay walled content !# +Vocational renting !# +Vehicle Listing !# + + +########################################################################## +# Omitted Structured Data as either Not Helpful or inefficient are below # +########################################################################## +!warning "This is only our team opinion" +1.Speakable +2.Fact Check \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..0608104 --- /dev/null +++ b/package.json @@ -0,0 +1,58 @@ +{ + "name": "@cresteem/richie-js", + "displayName": "Richie JS", + "exports": { + ".": "./dist/richie.js" + }, + "description": "Rich Result Generator", + "version": "0.1a", + "main": "./dist/richie.js", + "types": "./dist/types/", + "files": [ + "dist" + ], + "directories": { + "lib": "./dist/lib" + }, + "dist": { + "shasum": "not added" + }, + "icon": "not added", + "engines": {"node": ">=21.7.3","npm":">=10.50.0"}, + "engineStrict": false, + "preferGlobal": true, + "scripts": { + "build": "rimraf dist && npx tsc -b", + "watch": "npx tsc --watch" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/cresteem/Richie-JS.git" + }, + "keywords": [ + "Rich", + "Result", + "Generator" + ], + "author": "@cresteem", + "license": "UNLICENCED", + "maintainers": ["@cresteem","@iamspdarsan"], + "bugs": { + "url": "https://github.com/cresteem/Richie-JS/issues" + }, + "homepage": "https://github.com/cresteem/Richie-JS#readme", + "dependencies": { + "@prettier/sync": "^0.5.1", + "axios": "^1.6.7", + "cheerio": "^1.0.0-rc.12", + "country-list": "^2.3.0", + "luxon": "^3.4.4", + "puppeteer": "^22.3.0", + "typescript": "^5.4.5" + }, + "devDependencies": { + "@types/country-list": "^2.1.4", + "@types/luxon": "^3.4.2", + "@typescript-eslint/eslint-plugin": "^7.7.0" + } +} diff --git a/richie.config.json b/richie.config.json new file mode 100644 index 0000000..7fabf89 --- /dev/null +++ b/richie.config.json @@ -0,0 +1,24 @@ +{ + "aggregator": { + "timeFormat": "yyyy-MM-dd hh:mm a", + "authorBasename": "rauthor", + "pubBasename": "rpub", + "movieBasename": "rmovie", + "domainAddress": "cresteem.com", + "recipeBaseID": "rrecipe", + "courseBaseID": "rcourse", + "restaurantBaseID": "rrest", + "faqBaseID": "rfaq", + "siteSearchBoxFieldName": "query_str", + "softwareAppBaseID": "rsapp", + "videoBaseID": "rvid", + "localBusinessBaseID": "rlb", + "organisationBaseID": "rorg", + "profileBaseID": "rpp", + "eventBaseID": "revent", + "productBaseID": "rprod", + "productPriceValidUntilNext": "30", + "productGroupIDHashLength": "128", + "producrVariableDelimiter": "|" + } +} diff --git a/test-sample/article.html b/test-sample/article.html new file mode 100644 index 0000000..e446f61 --- /dev/null +++ b/test-sample/article.html @@ -0,0 +1,43 @@ + + + + + + Article about test + + + + +

2024-06-06 08:37 PM

+

2024-02-26 05:23 PM

+
+ + +

Dr.Darsan

+

Person

+ User Profile +

Software Engineer

+ +

Winchester

+

Organization

+ User Profile +

Cresteem

+ + +

Google

+ +
+ + diff --git a/test-sample/breadcrumb.html b/test-sample/breadcrumb.html new file mode 100644 index 0000000..7d4c441 --- /dev/null +++ b/test-sample/breadcrumb.html @@ -0,0 +1,9 @@ + + + + + + Destination Page + + + diff --git a/test-sample/carousels/courses.html b/test-sample/carousels/courses.html new file mode 100644 index 0000000..b6f5633 --- /dev/null +++ b/test-sample/carousels/courses.html @@ -0,0 +1,74 @@ + + + + + + + Courses + + + +
+
+

Python Crash Course

+ +

By InstructorX

+

online

+

This course serves as an introduction to Python programming, covering essential + concepts and skills necessary for beginners to start coding in Python. Participants will learn about + basic syntax, data types, control flow structures, functions, and file handling. Additionally, the + course will cover key Python libraries and modules for common tasks such as data manipulation, + visualization, and working with external files. Throughout the course, hands-on exercises and projects + will reinforce learning objectives, allowing participants to apply their newfound knowledge to + real-world scenarios.

+

68 Hours

+

100 USD

+ +

cresteem

+
+
+ +
+

Node.Js introduction

+ +

By InstructorZ

+

onsite

+

This course provides a comprehensive introduction to Node.js, a popular runtime + environment for executing JavaScript code server-side. Participants will learn how to build scalable, + high-performance web applications using Node.js, leveraging its asynchronous, event-driven architecture. + The course covers essential concepts such as event loops, modules, package management, and asynchronous + programming patterns. Additionally, participants will explore key Node.js frameworks and libraries for + web development, including Express.js for building web servers and handling HTTP requests. Hands-on + exercises and projects will reinforce learning objectives, allowing participants to apply their + knowledge to real-world scenarios.

+

24 Hours

+

2000 USD

+ +

edureka

+
+
+ + +
+

Java Intermediate to Advanced

+ +

Meg

+

online

+

English

+

This course offers a comprehensive introduction to Java programming, covering core + concepts and principles essential for beginners to embark on their journey in Java development. + Participants will learn about Java syntax, object-oriented programming (OOP), control flow structures, + exception handling, and input/output operations. Additionally, the course will cover key Java libraries + and frameworks, providing a solid foundation for developing robust, scalable applications. Hands-on + exercises and projects will reinforce learning objectives, enabling participants to apply their + knowledge to practical scenarios.

+

1 Months

+

2000 RS

+ +

oracle

+
+
+
+ + + \ No newline at end of file diff --git a/test-sample/carousels/movies.html b/test-sample/carousels/movies.html new file mode 100644 index 0000000..2ca8996 --- /dev/null +++ b/test-sample/carousels/movies.html @@ -0,0 +1,71 @@ + + + + + + Movies + + +
+

Dawn of Justice

+ +

2016-02-05

+

Zack Synder

+
+ +

100

+ + +

100

+ +

1000

+
+
+

Darsan

+

100

+

98

+

IMDB

+
+ +
+

Priya

+

100

+

98

+

IMDB

+
+
+
+
+ +
+

The Dark Knight Rises

+ +

2010-11-03

+

C.Nolan

+
+ +

98

+ + +

100

+ +

1000

+
+ +
+

Dean

+

100

+

90

+

Rotten Tomato

+
+
+ + diff --git a/test-sample/carousels/recipies.html b/test-sample/carousels/recipies.html new file mode 100644 index 0000000..53155cb --- /dev/null +++ b/test-sample/carousels/recipies.html @@ -0,0 +1,322 @@ + + + + + + + Recipe + + + + +
+
+

Biryani

+ +

Darsan

+

2023-01-12

+

+ Biryani is a flavorful and aromatic rice dish originating from the + Indian subcontinent. It consists of long-grain rice cooked with a + blend of spices such as cumin, cardamom, and saffron, layered with + marinated meats or vegetables. Biryani offers a rich and complex taste + profile and is often served with accompaniments like raita or salad. +

+ + + + +

25 minutes

+ + + + + + +

20 minutes

+ + + + + +

45 minutes

+ + + +

4

+ + +

Rich Dishes

+ + +

Indian

+ + +

300

+ + + + +
+
+

Prepare the Rice:

+ +

+ Rinse 2 cups of basmati rice under cold water until the water runs + clear. Soak the rice in water for 30 minutes, then drain. In a + large pot, bring water to a boil and add the drained rice along + with a pinch of salt. Cook until the rice is 70% done, then drain + and set aside. +

+
+ +
+

Prepare the Meat or Vegetables:

+ +

+ Marinate 500 grams of meat (chicken, lamb, or beef) or vegetables + in a mixture of yogurt and aromatic spices (cumin, cardamom, + cloves, cinnamon, bay leaves). Allow the meat or vegetables to + marinate for at least 30 minutes to absorb the flavors. +

+
+ +
+

Layering:

+ +

+ In a heavy-bottomed pot, layer the partially cooked rice and + marinated meat or vegetables alternately. Drizzle saffron soaked + in warm milk and rose water over the layers for added fragrance + and color. Optionally, sprinkle fried onions and chopped mint + leaves between the layers. +

+
+ +
+

Cooking:

+ +

+ Cover the pot with a tight-fitting lid and cook on low heat for + 20-25 minutes, allowing the flavors to meld together and the rice + to fully cook. Alternatively, you can place the pot in a preheated + oven at 350°F (180°C) for the same duration. +

+
+ +
+

Serve:

+ +

+ Once cooked, gently fluff the biryani with a fork, ensuring the + layers remain intact. Serve hot garnished with additional fried + onions, chopped cilantro, and a side of raita or salad for a + complete meal experience. Enjoy your flavorful homemade biryani! +

+
+
+ +
+ +

100

+ +

99

+ +

1200

+
+ + + + + + + + +
+ +
+

Biryani

+ +

Darsan

+

2023-01-12

+

+ Biryani is a flavorful and aromatic rice dish originating from the + Indian subcontinent. It consists of long-grain rice cooked with a + blend of spices such as cumin, cardamom, and saffron, layered with + marinated meats or vegetables. Biryani offers a rich and complex taste + profile and is often served with accompaniments like raita or salad. +

+ + + + +

25 minutes

+ + + + + + +

20 minutes

+ + + + + +

45 minutes

+ + + +

4

+ + +

Rich Dishes

+ + +

Indian

+ + +

300

+ + + + +
+
+

Prepare the Rice:

+ +

+ Rinse 2 cups of basmati rice under cold water until the water runs + clear. Soak the rice in water for 30 minutes, then drain. In a + large pot, bring water to a boil and add the drained rice along + with a pinch of salt. Cook until the rice is 70% done, then drain + and set aside. +

+
+ +
+

Prepare the Meat or Vegetables:

+ +

+ Marinate 500 grams of meat (chicken, lamb, or beef) or vegetables + in a mixture of yogurt and aromatic spices (cumin, cardamom, + cloves, cinnamon, bay leaves). Allow the meat or vegetables to + marinate for at least 30 minutes to absorb the flavors. +

+
+ +
+

Layering:

+ +

+ In a heavy-bottomed pot, layer the partially cooked rice and + marinated meat or vegetables alternately. Drizzle saffron soaked + in warm milk and rose water over the layers for added fragrance + and color. Optionally, sprinkle fried onions and chopped mint + leaves between the layers. +

+
+ +
+

Cooking:

+ +

+ Cover the pot with a tight-fitting lid and cook on low heat for + 20-25 minutes, allowing the flavors to meld together and the rice + to fully cook. Alternatively, you can place the pot in a preheated + oven at 350°F (180°C) for the same duration. +

+
+ +
+

Serve:

+ +

+ Once cooked, gently fluff the biryani with a fork, ensuring the + layers remain intact. Serve hot garnished with additional fried + onions, chopped cilantro, and a side of raita or salad for a + complete meal experience. Enjoy your flavorful homemade biryani! +

+
+
+ +
+ +

100

+ +

99

+ +

1200

+
+ + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/test-sample/carousels/restaurants.html b/test-sample/carousels/restaurants.html new file mode 100644 index 0000000..438ca9d --- /dev/null +++ b/test-sample/carousels/restaurants.html @@ -0,0 +1,258 @@ + + + + + + + Restaurants + + + +
+
+ +

Hooky Pookie 2

+ + +
+ picture of reception + + another 1 + another 1 +
+ + + +
+ + +

30, MGR Nagar Street

+

Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-002

+ + +

India

+
+ + +
+
+ +

4.5

+ + +

5

+ + + + +

Dean

+ +

Amazon

+
+ +
+ +

4.5

+ + +

5

+ + + + +

Someone

+ +

Noogle

+
+
+ + + +

+91-8425937243

+ + +

Asian

+

Mexican

+ + +

$200 - $500

+ + +
+ + + + +

Sunday - Thursday (10:00 - 21:00)

+ + + + + +

Saturday (13:00 - 18:00)

+ + +

Friday (10:00AM - 06:00PM)

+ +
+ + + +

Menu

+
+ + + +
+ +

100

+ + +

100

+ + +

1000

+
+ +
+ +
+ +

Hooky Pookie

+ + +
+ picture of reception + + another 1 + another 1 +
+ + + +
+ + +

90, MGR Nagar Street

+

Public Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-001

+ + +

India

+
+ + +
+
+ +

4.5

+ + +

5

+ + + + +

John

+ +

Foogle

+
+ +
+ +

4.5

+ + +

5

+ + + + +

John

+ +

Foogle

+
+
+ + + +

+91-8425937253

+ + +

Asian

+

Mexican

+ + +

$100 - $500

+ + +
+ + + + +

Sunday - Thursday (10:00 - 21:00)

+ + + + + +

Saturday (13:00 - 18:00)

+ + +

Friday (10:00AM - 06:00PM)

+ +
+ + + +

Menu

+
+ + + +
+ +

100

+ + +

100

+ + +

1000

+
+ +
+
+ + + \ No newline at end of file diff --git a/test-sample/events.html b/test-sample/events.html new file mode 100644 index 0000000..2fb0054 --- /dev/null +++ b/test-sample/events.html @@ -0,0 +1,234 @@ + + + + + + + Events + + + + +
+ +
+

The Age of AI

+ + +

Starting Date: 2024-02-26 05:23 PM

+ + +

Ending Date: 2024-03-26 05:23 PM

+ + +

Attendance Mode: Online

+ + + + + + +

Event Status: Scheduled

+ + +
+ + Spotify Podcasts +
+ + + + + + + +

Explore the cutting-edge world of Deep Learning at our AI event! Dive into + the + latest advancements, breakthroughs, and applications of neural networks and deep learning algorithms. + Join experts, researchers, and enthusiasts as we discuss the future of AI, its impact on various + industries, and how deep learning is reshaping technology and society. From natural language processing + to computer vision and beyond, discover the power of deep learning and its potential to revolutionize + the way we live, work, and interact with machines.

+ + + +

Event Fee: 200 INR

+ + Book Here + + +

Actor/Performer: + DARSAN, + DEAN, + SAM +

+ + + + + +

Organised By Cresteem

+ + +
+ + +
+

The Age of Dark Web

+ + +

Starting Date: 2024-02-26 05:23 PM

+ + +

Ending Date: 2024-03-26 05:23 PM

+ + +

Attendance Mode: Offline

+ + + +

Event Status: Moved to Online

+ + + + + +
+

The Grand Plaza

+ + +

90, MGR Nagar Street

+

Public Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-001

+ + +

India

+
+ + + + + + + +

Explore the mysterious realms of the Dark Web during this age of + digital anonymity. 💻🌐 Uncover hidden networks, encrypted communication, and clandestine marketplaces. + Delve into the shadows of cyberspace where anonymity reigns and secrets lurk. Discover + the unseen corners of the internet and unlock the secrets of the digital underworld. + #DarkWeb #CyberSecrecy #DigitalAge

+ + + +

Event Fee: 200 INR

+ + Book Here + + +

Actor/Performer: + DARSAN, +

+ + + + + +

Organised By Cresteem

+ + +
+ + +
+ +

How to Win

+ + +

Starting Date: 2024-02-26 05:23 PM

+ + +

Ending Date: 2024-03-26 05:23 PM

+ + +

Attendance Mode: Online and Offline

+ + +

Event Status: Cancelled

+ + + +
+

The Grand Plaza

+ + +

90, MGR Nagar Street

+

Public Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-001

+ + +

India

+ + + Spotify Podcasts + +
+ + + + + + + +

Unlock the secrets to winning your audience over in webinars! 🌟 + Preparation is key: set clear objectives and rehearse your content. Engage with + interactive elements like polls and Q&A to keep participants hooked. Keep it + concise, visually appealing, and follow up afterward for maximum + impact. Ready to captivate your audience? Let's make your next webinar a hit! 💼💻 #WebinarSuccess + #Engagement #PreparationIsKey +

+ + + +

Event Fee: 200 INR

+ + Book Here + + +

Actor/Performer: + DEAN, + SAM +

+ + + + +

Organised By JOHN

+ + +
+
+ + + + \ No newline at end of file diff --git a/test-sample/faq.html b/test-sample/faq.html new file mode 100644 index 0000000..292b268 --- /dev/null +++ b/test-sample/faq.html @@ -0,0 +1,68 @@ + + + + + + + FAQ Page + + + + +
+ + Can you provide a content management system (CMS) that allows me to + update the website easily? + +

+ Certainly! We take pride in crafting custom Content Management + Systems (CMS) tailored exclusively to your requirements. + Unlike common pre-made template CMS, our solutions are designed with + your unique needs in mind. With Cresteem, managing your website's + content is not only simple but also seamlessly integrated for a + truly + personalized experience. +

+
+ + +
+ + Do you offer any additional services, such as digital marketing, + SEO, or social media management, to help promote the website? + +

+ Absolutely! Beyond website development, Cresteem offers an + array of comprehensive services. Our immersive + digital marketing strategies are finely tuned to captivate your + potential clients, ensuring rapid growth. We deploy strategic operations to optimize + your website's performance, and our expertise extends to captivating + your target audience on various social media platforms. + We're your one-stop solution for a powerful online presence. +

+
+ + +
+ + Will the website be optimized for fast loading times and + performance? + +

+ At Cresteem, + yes optimizing website performance is our top priority. We're + dedicated to creating + highly accessible, lightning-fast, and reliable web applications, + landing pages, or e-commerce platforms + tailored to your business. Our commitment is evident in our + track record of achieving load times consistently below 2 + seconds. + We employ a range of cutting-edge tools and techniques, including + Google PageSpeed Insights, responsive design, and emulated devices, + to ensure your website maintains the highest quality and speed. +

+
+ + + + \ No newline at end of file diff --git a/test-sample/localbusiness.html b/test-sample/localbusiness.html new file mode 100644 index 0000000..4ba5bc7 --- /dev/null +++ b/test-sample/localbusiness.html @@ -0,0 +1,149 @@ + + + + + + + Local Business + + + +
+
+ +

Business X

+ + +
+ picture of reception + + another 1 + another 1 +
+ + + +
+ + +

90, MGR Nagar Street

+

Public Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-001

+ + +

India

+
+ + +
+
+ +

4.5

+ + +

5

+ + + + +

John

+ +

Foogle

+
+ +
+ +

4.5

+ + +

5

+ + + + +

John

+ +

Foogle

+
+
+ + + +

+91-8425937253

+ + +

$100 - $500

+ + +
+ + + + +

Sunday - Thursday (10:00 - 21:00)

+ + + + + +

Saturday (13:00 - 18:00)

+ + +

Friday (10:00AM - 06:00PM)

+ +
+ + + +

Menu

+
+ + + +
+ +

100

+ + +

100

+ + +

1000

+
+ +

+ #Tag1 + #Tag2 + #Tag3 + #Tag4 +

+ + +

+ Nagapattinam +

+ +
+
+ + + \ No newline at end of file diff --git a/test-sample/org.html b/test-sample/org.html new file mode 100644 index 0000000..4823510 --- /dev/null +++ b/test-sample/org.html @@ -0,0 +1,79 @@ + + + + + + + Organisation + + + +
+
+ +

Organisation X

+ + + + +
+ picture of reception + + another 1 + another 1 +
+ + +
+ + +

90, MGR Nagar Street

+

Public Office Road

+ + +

Nagapattinam

+ + +

TamilNadu

+ + +

611-001

+ + +

India

+
+ + +

+91-8425937253

+ + + +

+ We are a premier software company, offering top-notch web, mobile, and desktop development, SEO, + digital + marketing, UI/UX, and software solutions. With advanced AI integration, we deliver + excellence on time, + creatively, and affordably. +

+ +

yourmail@domain.com

+ +

IN8E679878

+ +

2023

+ +
+
+ + + \ No newline at end of file diff --git a/test-sample/product.html b/test-sample/product.html new file mode 100644 index 0000000..27f1b4e --- /dev/null +++ b/test-sample/product.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Black

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | Blue

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productAge.html b/test-sample/productVarient/productAge.html new file mode 100644 index 0000000..969d1ff --- /dev/null +++ b/test-sample/productVarient/productAge.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | 6

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | 18

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productColor.html b/test-sample/productVarient/productColor.html new file mode 100644 index 0000000..27f1b4e --- /dev/null +++ b/test-sample/productVarient/productColor.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Black

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | Blue

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productCombined.html b/test-sample/productVarient/productCombined.html new file mode 100644 index 0000000..b84ca85 --- /dev/null +++ b/test-sample/productVarient/productCombined.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Black | Age 20 | Male

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | Brown | Age 10 | Female

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productGender.html b/test-sample/productVarient/productGender.html new file mode 100644 index 0000000..3fb7981 --- /dev/null +++ b/test-sample/productVarient/productGender.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Male

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | M

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productMaterial.html b/test-sample/productVarient/productMaterial.html new file mode 100644 index 0000000..d440669 --- /dev/null +++ b/test-sample/productVarient/productMaterial.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Jeans

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | Jeans

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productPattern.html b/test-sample/productVarient/productPattern.html new file mode 100644 index 0000000..9882fb4 --- /dev/null +++ b/test-sample/productVarient/productPattern.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | Solid

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | Ripped

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/productVarient/productSize.html b/test-sample/productVarient/productSize.html new file mode 100644 index 0000000..7664d18 --- /dev/null +++ b/test-sample/productVarient/productSize.html @@ -0,0 +1,181 @@ + + + + + + + Product Page + + + +
+ + +

Denim Jacket | S

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ +
+ + +

Denim Jacket | M

+ + + Product Image 1 + Product Image 2 + + +

Product Description Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+ + +

SKU ID: 123456789

+ + +

MPN Code: ABC123

+ + +

Brand: XYZ Brand

+ + +

Price: 990

+ +

Availability: In Stock

+ + +

Item Condition: New

+ + +

Return Policy: 30 days

+ +

Return Fees: Free

+ + +

Shipping Cost: 80

+ +

Processing Time: 1-3 business days

+ +

Estimated Delivery Time: 3-5 business days

+ + + +
+
+ +

4.5

+ + +

5

+ + + +

John

+
+ +
+ +

4.5

+ + +

5

+ + + +

Foogle

+
+
+ + +
+ +

100

+ + +

100

+ + +

1000

+
+ + +
+ + + + \ No newline at end of file diff --git a/test-sample/profilepage.html b/test-sample/profilepage.html new file mode 100644 index 0000000..19979be --- /dev/null +++ b/test-sample/profilepage.html @@ -0,0 +1,77 @@ + + + + + + + Profile Page + + + + +
+
+ + +

2024-06-06 08:37 PM

+ + +

2024-02-26 05:23 PM

+ + + + +

Author Written Posts: 87

+

Number of Liked Post: 1002

+

Author Follows: 35

+

Shared/Reposted Contents: 30

+ + +

Author Followers: 391080

+

Cummulative Likes: 9873221

+

Mutual Connections: 33

+ + +

DARSAN

+ +

iamspdarsan

+ +

@iamspdarsan

+ +

Seasoned Web Developer skilled in turning design concepts into flawless, + high-performance websites. Proficient in multiple languages and frameworks, I excel in crafting + clean, maintainable and user-centric code. My expertise in SEO and UI/UX ensures + captivating, user-focused experiences

+ + +
+ +
+ +
+ +

This is example 1 headline

+

2024-06-06 08:37 PM

+ Read More +
+ +
+ +

This is example 2 headline

+

2024-06-09 11:27 PM

+ Read More +
+
+ +
+ + + \ No newline at end of file diff --git a/test-sample/softwareapp.html b/test-sample/softwareapp.html new file mode 100644 index 0000000..fd7dee4 --- /dev/null +++ b/test-sample/softwareapp.html @@ -0,0 +1,64 @@ + + + + + + + Software X - HomePage + + + + + + +
+ +
+

God of War

+ +

+ Category: Games +

+ +

+ Supported on: Windows, PS4 +

+ +
+ +

99 / 100

+ +

Number of rating: 90864000

+
+ +

2000

+ +
+ + + +
+

Supernatural

+ +

+ Category: Games +

+ +

+ Supported on: Android +

+ +
+ +

95 / 100

+ +

Number of rating: 764000

+
+ +

100

+ +
+ +
+ + \ No newline at end of file diff --git a/test-sample/videos.html b/test-sample/videos.html new file mode 100644 index 0000000..a129ffb --- /dev/null +++ b/test-sample/videos.html @@ -0,0 +1,48 @@ + + + + + + + Videos + + + + +
+ +
+ + + + +
+ + +
+ + + +
+ +
+ + + + \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..e487b70 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,36 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "CommonJS", + "moduleResolution": "Node10", + "sourceMap": false, + "baseUrl": ".", + "rootDir": ".", + "outDir": "dist", + "declaration": true, + "declarationDir": "dist/types", + "typeRoots": ["dist/types"], + "noImplicitOverride": true, + "noImplicitAny": true, + "noUnusedLocals": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noFallthroughCasesInSwitch": true, + "noUnusedParameters": true, + "noUncheckedIndexedAccess": true, + "strict": true, + "strictBindCallApply": true, + "strictNullChecks": true, + "alwaysStrict": true, + "strictFunctionTypes": true, + "allowUmdGlobalAccess": true, + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "preserveConstEnums": true, + "esModuleInterop": true, + "resolveJsonModule": true, + "pretty": true, + "allowSyntheticDefaultImports": true + }, + "exclude": ["node_modules"] +}