diff --git a/public/_redirects b/public/_redirects index c2e893c..ad97cec 100644 --- a/public/_redirects +++ b/public/_redirects @@ -101,3 +101,15 @@ /blog/index.html%3Fp=921.html /blog/the-three-main-advantages-better-listview-has-over-the-classic-net-framework 301 /blog/index.html%3Fp=927.html /blog/activation-issues-and-how-to-solve-them 301 /blog/index.html%3Fp=93.html /blog/better-listview-reviewed-at-devproconnectionscom 301 + +# Strip .html extensions - wildcard catch-all (Cloudflare Pages) +/*.html /:splat 301 + +# Blog pagination page 1 redirect to main blog +/blog/page/1 /blog 301 +/blog/page/1/ /blog 301 + +# Quick-start guide .html redirects +/quick-start-guide/better-listview.html /quick-start-guide/better-listview 301 +/quick-start-guide/better-thumbnail-browser.html /quick-start-guide/better-thumbnail-browser 301 +/quick-start-guide/better-splitbutton.html /quick-start-guide/better-splitbutton 301 diff --git a/public/betterlistview.exe b/public/betterlistview.exe new file mode 100644 index 0000000..2ea7fda Binary files /dev/null and b/public/betterlistview.exe differ diff --git a/public/betterlistviewexpress.exe b/public/betterlistviewexpress.exe new file mode 100644 index 0000000..1f79d38 Binary files /dev/null and b/public/betterlistviewexpress.exe differ diff --git a/public/bettersplitbutton.exe b/public/bettersplitbutton.exe new file mode 100644 index 0000000..7ce44ae Binary files /dev/null and b/public/bettersplitbutton.exe differ diff --git a/public/betterthumbnailbrowser.exe b/public/betterthumbnailbrowser.exe new file mode 100644 index 0000000..1dc3200 Binary files /dev/null and b/public/betterthumbnailbrowser.exe differ diff --git a/public/comics.rss b/public/comics.rss new file mode 100644 index 0000000..f4a1ac3 --- /dev/null +++ b/public/comics.rss @@ -0,0 +1,68 @@ + + + + Component Owl's Comics + Owl's Components - comic strips for developers by Libor Tinka + http://www.componentowl.com/comics + + Component Owl's Comics: Budget Cuts + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 1 Dec 2012 + http://www.componentowl.com/comics/43 + + + Component Owl's Comics: Extra Dimension + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 12 Nov 2012 + http://www.componentowl.com/comics/42 + + + Component Owl's Comics: The Assassin + A short look on the Mr. Investor's character. + 2 Oct 2012 + http://www.componentowl.com/comics/41 + + + Component Owl's Comics: The Smoker + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 29 Aug 2012 + http://www.componentowl.com/comics/40 + + + Component Owl's Comics: Investment Cloud + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 28 Jun 2012 + http://www.componentowl.com/comics/39 + + + Component Owl's Comics: Project Triangle + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 18 Jun 2012 + http://www.componentowl.com/comics/38 + + + Component Owl's Comics: Office Animals + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 9 Jun 2012 + http://www.componentowl.com/comics/37 + + + Component Owl's Comics: Amphetamine Coffee + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 1 Jun 2012 + http://www.componentowl.com/comics/36 + + + Component Owl's Comics: Coin Machine + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 30 May 2012 + http://www.componentowl.com/comics/35 + + + Component Owl's Comics: Skyscraper + Component Owl cares about fun too. Behold, the truth-inspired web comics for puny human developers! + 26 May 2012 + http://www.componentowl.com/comics/34 + + + diff --git a/public/download/better-listview.html b/public/download/better-listview.html new file mode 100644 index 0000000..33ca3db --- /dev/null +++ b/public/download/better-listview.html @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + +Download Better ListView 3.15 + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+ +

Thank you for downloading Better ListView 3.15!

+ + + + + +

If the download doesn't start automatically in a few seconds, please use this button:

+
+
+
+ + + +
+
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/public/feeds.rss b/public/feeds.rss new file mode 100644 index 0000000..45a53b9 --- /dev/null +++ b/public/feeds.rss @@ -0,0 +1,58 @@ + + + + Component Owl + Component Owl News & Updates + http://www.componentowl.com/feeds + + Activation issues and how to solve them + Dear Readers, Periodically we get emails from users having problems with the activation. So we put together a check list on how to deal with the most frequent issues. In case these fixes do not help you solve your problem, please contact contact support at <a href="mailto:support@componentowl.com">support@componentowl.com</a> and we will be happy to help [...] + Wed, 01 Mar 2017 17:22:52 +0000 + http://www.componentowl.com/blog/activation-issues-and-how-to-solve-them/ + + + The Three Main Advantages Better ListView has Over the Classic .NET Framework + Dear Readers, When evaluating an alternative to replace the .NET ListView you might stumble upon the question: what sets the different solutions available apart from each other? Which one meets my demands the best? Here are the three main reasons we think Better ListView is the ideal solution for you if you are [...] + Thu, 09 Feb 2017 21:51:12 +0000 + http://www.componentowl.com/blog/the-three-main-advantages-componentowl-has-over-the-classic-net-framework/ + + + BLV and Internet Explorer + As you all know we are constantly working on improving BetterListView, but once in a while you might encounter a problem which has not found its way to our documentation yet. + +Today, our blog post covers an interesting case when using Internet Explorer. + Sun, 13 Nov 2016 22:37:47 +0000 + http://www.componentowl.com/blog/blv-and-internet-explorer/ + + + Better ListView Express 3.15 released! + <a href="http://www.componentowl.com/download/better-listview-express"><span class="translation_missing">en, txt, rss, download_latest_release</span></a> + Wed, 27 May 2015 00:00:00 +0000 + http://www.componentowl.com/better-listview-express/releases?since=3.15 + + + Better ListView 3.15 released! + <a href="http://www.componentowl.com/download/better-listview"><span class="translation_missing">en, txt, rss, download_latest_release</span></a> + Wed, 27 May 2015 00:00:00 +0000 + http://www.componentowl.com/better-listview/releases?since=3.15 + + + Better Thumbnail Browser 3.15 released! + <a href="http://www.componentowl.com/download/better-thumbnail-browser"><span class="translation_missing">en, txt, rss, download_latest_release</span></a> + Wed, 27 May 2015 00:00:00 +0000 + http://www.componentowl.com/better-thumbnail-browser/releases?since=3.15 + + + Better SplitButton 3.15 released! + <a href="http://www.componentowl.com/download/better-splitbutton"><span class="translation_missing">en, txt, rss, download_latest_release</span></a> + Wed, 27 May 2015 00:00:00 +0000 + http://www.componentowl.com/better-splitbutton/releases?since=3.15 + + + Better ListView Express 3.14.0 released! + See <a href="http://www.componentowl.com/better-listview-express/releases?since=3.14.0">what's new</a> or <a href="http://www.componentowl.com/download/better-listview-express">download latest release</a>. + Wed, 08 Apr 2015 00:00:00 +0000 + http://www.componentowl.com/better-listview-express/releases?since=3.14.0 + + + diff --git a/src/data/better-listview-express/class-reference.html b/src/data/better-listview-express/class-reference.html new file mode 100644 index 0000000..47282c6 --- /dev/null +++ b/src/data/better-listview-express/class-reference.html @@ -0,0 +1,6 @@ +Better ListView Express - Class Reference +
+

Better ListView Express Class Reference

+

Better ListView Express is the free edition of Better ListView for .NET.

+

For more information, see the documentation.

+
diff --git a/src/data/better-listview-express/features.html b/src/data/better-listview-express/features.html new file mode 100644 index 0000000..ae1209c --- /dev/null +++ b/src/data/better-listview-express/features.html @@ -0,0 +1,6 @@ +Better ListView Express - Features +
+

Better ListView Express Features

+

Better ListView Express is the free edition of Better ListView for .NET.

+

For more information, see the documentation.

+
diff --git a/src/data/better-listview-express/resources.html b/src/data/better-listview-express/resources.html new file mode 100644 index 0000000..8c45752 --- /dev/null +++ b/src/data/better-listview-express/resources.html @@ -0,0 +1,6 @@ +Better ListView Express - Resources +
+

Better ListView Express Resources

+

Better ListView Express is the free edition of Better ListView for .NET.

+

For more information, see the documentation.

+
diff --git a/src/data/better-listview/comparison-table.html b/src/data/better-listview/comparison-table.html new file mode 100644 index 0000000..c1fa067 --- /dev/null +++ b/src/data/better-listview/comparison-table.html @@ -0,0 +1,550 @@ + + + + + + + + + + + + + + + +Better ListView .NET control: Improved List View control for C# and VB.NET (Windows Forms) + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Better ListView: Alternative list view control for .NET

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

Seamless integration with .NET 2.0 and higher

+ +
+ + + + +
+

Better ListView

+
+ +
+ Share this page if you like it: +
+ +
+
+ + +
+

Thumbnails

+
+ + +
+

Multi-line Items

+
+ + +
+

Item Hierarchy

+
+ + + + + + + + + + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/src/data/better-listview/data-binding.html b/src/data/better-listview/data-binding.html new file mode 100644 index 0000000..c45e388 --- /dev/null +++ b/src/data/better-listview/data-binding.html @@ -0,0 +1,6 @@ +Better ListView Data Binding +
+

Better ListView Data Binding

+

Better ListView supports data binding to various data sources including DataTable, BindingList, and custom collections.

+

For detailed documentation on data binding, see the documentation and class reference.

+
diff --git a/src/data/better-listview/features.html b/src/data/better-listview/features.html new file mode 100644 index 0000000..abbfec0 --- /dev/null +++ b/src/data/better-listview/features.html @@ -0,0 +1,19 @@ +Better ListView Features +
+

Better ListView Features

+

Better ListView is a feature-rich list view control for .NET Windows Forms (C#, VB.NET).

+ +

See the screenshots for visual examples.

+
diff --git a/src/data/better-listview/releases.html b/src/data/better-listview/releases.html new file mode 100644 index 0000000..b86ecec --- /dev/null +++ b/src/data/better-listview/releases.html @@ -0,0 +1,12 @@ +Better ListView Releases +
+

Better ListView Release History

+

For the latest release notes and version history, please visit the documentation page.

+

Recent Releases

+ +
diff --git a/src/data/better-listview/resources.html b/src/data/better-listview/resources.html new file mode 100644 index 0000000..6825e9a --- /dev/null +++ b/src/data/better-listview/resources.html @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + +Better ListView .NET control: Improved List View control for C# and VB.NET (Windows Forms) + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Better ListView: Alternative list view control for .NET

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

Seamless integration with .NET 2.0 and higher

+ +
+ + + + +
+

Better ListView

+
+ +
+ Share this page if you like it: +
+ +
+
+ + +
+

Thumbnails

+
+ + +
+

Multi-line Items

+
+ + +
+

Item Hierarchy

+
+ + + + + + + + + + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/src/data/better-listview/screenshots.html b/src/data/better-listview/screenshots.html new file mode 100644 index 0000000..cbc6e4b --- /dev/null +++ b/src/data/better-listview/screenshots.html @@ -0,0 +1,459 @@ + + + + + + + + + + + + + + + +Better ListView Screenshots + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Better ListView: Alternative list view control for .NET

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

Seamless integration with .NET 2.0 and higher

+ +
+ + + +
+ Share this page if you like it: +
+ +
+
+ + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/src/data/better-listview/story.html b/src/data/better-listview/story.html new file mode 100644 index 0000000..d7af389 --- /dev/null +++ b/src/data/better-listview/story.html @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + +The story behind Better ListView control + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Better ListView: Alternative list view control for .NET

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

Seamless integration with .NET 2.0 and higher

+ +
+ + + + +
+

Better ListView

+
+ +
+ Share this page if you like it: +
+ +
+
+ + +
+

Thumbnails

+
+ + +
+

Multi-line Items

+
+ + +
+

Item Hierarchy

+
+ + + + + + + + + + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + diff --git a/src/data/better-splitbutton/features.html b/src/data/better-splitbutton/features.html new file mode 100644 index 0000000..bfd71dc --- /dev/null +++ b/src/data/better-splitbutton/features.html @@ -0,0 +1,6 @@ +Better SplitButton - Features +
+

Better SplitButton Features

+

Better SplitButton is a .NET WinForms split button component with dropdown menu support.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-splitbutton/releases.html b/src/data/better-splitbutton/releases.html new file mode 100644 index 0000000..4ebe18c --- /dev/null +++ b/src/data/better-splitbutton/releases.html @@ -0,0 +1,6 @@ +Better SplitButton - Releases +
+

Better SplitButton Releases

+

Better SplitButton is a .NET WinForms split button component with dropdown menu support.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-splitbutton/resources.html b/src/data/better-splitbutton/resources.html new file mode 100644 index 0000000..071ec1c --- /dev/null +++ b/src/data/better-splitbutton/resources.html @@ -0,0 +1,6 @@ +Better SplitButton - Resources +
+

Better SplitButton Resources

+

Better SplitButton is a .NET WinForms split button component with dropdown menu support.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-splitbutton/screenshots.html b/src/data/better-splitbutton/screenshots.html new file mode 100644 index 0000000..aed3ad3 --- /dev/null +++ b/src/data/better-splitbutton/screenshots.html @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + +Better ListView .NET control: Improved List View control for C# and VB.NET (Windows Forms) + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Free Split-Button (dropdown button) control for .NET

+ + + +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ +
+ Free Download + + Buy commercial license with source code from $67 + +

Version 3.15 / May 27, 2015

+
+ +
+

Seamless integration with .NET 2.0 and higher

+ +
+ + + +
+ Share this page if you like it: +
+ +
+
+ + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/src/data/better-thumbnail-browser/features.html b/src/data/better-thumbnail-browser/features.html new file mode 100644 index 0000000..dd37ab1 --- /dev/null +++ b/src/data/better-thumbnail-browser/features.html @@ -0,0 +1,6 @@ +Better Thumbnail Browser - Features +
+

Better Thumbnail Browser Features

+

Better Thumbnail Browser is a .NET WinForms component for browsing image thumbnails.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-thumbnail-browser/releases.html b/src/data/better-thumbnail-browser/releases.html new file mode 100644 index 0000000..e1fc802 --- /dev/null +++ b/src/data/better-thumbnail-browser/releases.html @@ -0,0 +1,6 @@ +Better Thumbnail Browser - Releases +
+

Better Thumbnail Browser Releases

+

Better Thumbnail Browser is a .NET WinForms component for browsing image thumbnails.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-thumbnail-browser/resources.html b/src/data/better-thumbnail-browser/resources.html new file mode 100644 index 0000000..a4ed4eb --- /dev/null +++ b/src/data/better-thumbnail-browser/resources.html @@ -0,0 +1,6 @@ +Better Thumbnail Browser - Resources +
+

Better Thumbnail Browser Resources

+

Better Thumbnail Browser is a .NET WinForms component for browsing image thumbnails.

+

For more information, see the documentation and class reference.

+
diff --git a/src/data/better-thumbnail-browser/screenshots.html b/src/data/better-thumbnail-browser/screenshots.html new file mode 100644 index 0000000..332e651 --- /dev/null +++ b/src/data/better-thumbnail-browser/screenshots.html @@ -0,0 +1,377 @@ + + + + + + + + + + + + + + + +Better Thumbnail Browser Screenshots + + + + + + + +
+ + + +
+ + + +
+ + + +
+
+
+

Better Thumbnail Browser loading and viewing control for .NET

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

Seamless integration with .NET 2.0 and higher

+ +
+ + + +
+ Share this page if you like it: +
+ +
+
+ + + +
+ +
+ + + +
+ + +
+
+ + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/src/data/blog/page/1/index.html b/src/data/blog/page/1/index.html new file mode 100644 index 0000000..fa4780f --- /dev/null +++ b/src/data/blog/page/1/index.html @@ -0,0 +1,5 @@ +Blog - Page 1 +
+

Blog

+

Redirecting to blog...

+
diff --git a/src/data/blog/page/2/index.html b/src/data/blog/page/2/index.html new file mode 100644 index 0000000..7dc751b --- /dev/null +++ b/src/data/blog/page/2/index.html @@ -0,0 +1,6 @@ +Blog - Page 2 +
+

Blog - Page 2

+

Visit the main blog page for all posts.

+

Next Page »

+
diff --git a/src/data/download/better-listview-express.html b/src/data/download/better-listview-express.html new file mode 100644 index 0000000..934365a --- /dev/null +++ b/src/data/download/better-listview-express.html @@ -0,0 +1,7 @@ +Download Better ListView Express +
+

Download Better ListView Express

+

Download the latest version of Better ListView Express - the free edition.

+

Download Better ListView Express

+

See the product page for more information.

+
diff --git a/src/data/download/better-splitbutton.html b/src/data/download/better-splitbutton.html new file mode 100644 index 0000000..b670396 --- /dev/null +++ b/src/data/download/better-splitbutton.html @@ -0,0 +1,7 @@ +Download Better SplitButton +
+

Download Better SplitButton

+

Download the latest version of Better SplitButton component.

+

Download Better SplitButton

+

See the product page for more information.

+
diff --git a/src/data/download/better-thumbnail-browser.html b/src/data/download/better-thumbnail-browser.html new file mode 100644 index 0000000..f923ed9 --- /dev/null +++ b/src/data/download/better-thumbnail-browser.html @@ -0,0 +1,7 @@ +Download Better Thumbnail Browser +
+

Download Better Thumbnail Browser

+

Download the latest version of Better Thumbnail Browser component.

+

Download Better Thumbnail Browser

+

See the product page for more information.

+
diff --git a/src/data/quick-start-guide/better-splitbutton/index.html b/src/data/quick-start-guide/better-splitbutton/index.html new file mode 100644 index 0000000..b9ee0aa --- /dev/null +++ b/src/data/quick-start-guide/better-splitbutton/index.html @@ -0,0 +1,13 @@ +Quick Start Guide - Better SplitButton +
+

Quick Start Guide - Better SplitButton

+

Get started with Better SplitButton in your .NET WinForms project.

+
    +
  1. Download and install Better SplitButton
  2. +
  3. Open your project in Visual Studio
  4. +
  5. Add a reference to the Better SplitButton assembly
  6. +
  7. Drag the BetterSplitButton control from the Toolbox onto your form
  8. +
  9. Configure the dropdown menu items
  10. +
+

For detailed documentation, see the documentation and class reference.

+
diff --git a/src/data/quick-start-guide/better-thumbnail-browser/index.html b/src/data/quick-start-guide/better-thumbnail-browser/index.html new file mode 100644 index 0000000..784daef --- /dev/null +++ b/src/data/quick-start-guide/better-thumbnail-browser/index.html @@ -0,0 +1,13 @@ +Quick Start Guide - Better Thumbnail Browser +
+

Quick Start Guide - Better Thumbnail Browser

+

Get started with Better Thumbnail Browser in your .NET WinForms project.

+
    +
  1. Download and install Better Thumbnail Browser
  2. +
  3. Open your project in Visual Studio
  4. +
  5. Add a reference to the Better Thumbnail Browser assembly
  6. +
  7. Drag the BetterThumbnailBrowser control from the Toolbox onto your form
  8. +
  9. Set the Path property to a folder containing images
  10. +
+

For detailed documentation, see the documentation and class reference.

+
diff --git a/src/pages/comics.astro b/src/pages/comics.astro index 45989db..43ec8d5 100644 --- a/src/pages/comics.astro +++ b/src/pages/comics.astro @@ -4,6 +4,7 @@ import Base from '../layouts/Base.astro'; const comics = [ { num: 1, title: "Angry Owl", img: "1-0000-angry_web_1312217558.png" }, { num: 2, title: "The Boss and The Worker", img: "2-01-boss_and_the_worker-out_web_1312287061.png" }, + { num: 3, title: "Whole Food Honey", img: "4-03-whole-food-honey-out_web_1312377904.png" }, { num: 4, title: "Bugfixin'", img: "4-03-whole-food-honey-out_web_1312377904.png" }, { num: 5, title: "Food Chain", img: "5-0007-bugs_web_1312448241.png" }, { num: 6, title: "Mono Development", img: "6-0008-food-chain_web_1312543561.png" }, diff --git a/src/pages/quick-start-guide/better-splitbutton.astro b/src/pages/quick-start-guide/better-splitbutton.astro new file mode 100644 index 0000000..78c0e74 --- /dev/null +++ b/src/pages/quick-start-guide/better-splitbutton.astro @@ -0,0 +1,24 @@ +--- +import Base from '../../layouts/Base.astro'; +import fs from 'node:fs'; +import path from 'node:path'; + +const filePath = path.join(process.cwd(), 'src/data/quick-start-guide/better-splitbutton/index.html'); +const html = fs.readFileSync(filePath, 'utf-8'); +const titleMatch = html.match(/([^<]+)<\/title>/i); +const title = titleMatch ? titleMatch[1] : 'Quick Start Guide - Better SplitButton'; +let content = html; +const bodyStart = content.indexOf('<body'); +if (bodyStart > 0) { content = content.substring(content.indexOf('>', bodyStart) + 1); } +const bodyEnd = content.indexOf('</body>'); +if (bodyEnd > 0) { content = content.substring(0, bodyEnd); } +const cw = content.indexOf('class="d-content-wrap"'); +if (cw > 0) { + content = content.substring(content.lastIndexOf('<div', cw)); + const ft = content.indexOf('<div class="d-footer">'); + if (ft > 0) content = content.substring(0, ft); +} +--- +<Base title={title}> + <Fragment set:html={content} /> +</Base> diff --git a/src/pages/quick-start-guide/better-thumbnail-browser.astro b/src/pages/quick-start-guide/better-thumbnail-browser.astro new file mode 100644 index 0000000..f123c7c --- /dev/null +++ b/src/pages/quick-start-guide/better-thumbnail-browser.astro @@ -0,0 +1,24 @@ +--- +import Base from '../../layouts/Base.astro'; +import fs from 'node:fs'; +import path from 'node:path'; + +const filePath = path.join(process.cwd(), 'src/data/quick-start-guide/better-thumbnail-browser/index.html'); +const html = fs.readFileSync(filePath, 'utf-8'); +const titleMatch = html.match(/<title>([^<]+)<\/title>/i); +const title = titleMatch ? titleMatch[1] : 'Quick Start Guide - Better Thumbnail Browser'; +let content = html; +const bodyStart = content.indexOf('<body'); +if (bodyStart > 0) { content = content.substring(content.indexOf('>', bodyStart) + 1); } +const bodyEnd = content.indexOf('</body>'); +if (bodyEnd > 0) { content = content.substring(0, bodyEnd); } +const cw = content.indexOf('class="d-content-wrap"'); +if (cw > 0) { + content = content.substring(content.lastIndexOf('<div', cw)); + const ft = content.indexOf('<div class="d-footer">'); + if (ft > 0) content = content.substring(0, ft); +} +--- +<Base title={title}> + <Fragment set:html={content} /> +</Base>