• Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

Eric Burns Online

My Virtual Take on Tech

  • Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

Demos – The Website

November 30, 2023 High Level Tech Intro Sales Engineers No Comments

Many technical solutions are related to a website or web based solution.  And when doing a demo of those solutions it helps to emulate that website to show the system interacting with.  It might be showing how Fastly can log everything that happens at the edge, or showing a customized Conversation AI assistant from Cognigy.  For Sales Engineers they will need to duplicate or emulate a website as part of their demo.  This reducing the distraction of context switching and also allows the viewers to visualize better how they could use what they are seeing.

How you emulate the website will depend on how you need to interact with it.  I’ll walk through a few options for cloning a website to demo against here.  First it is good to cover why the website is important.  Then I’ll cover the different methods from the most simple to the most complicated.

Why Emulate a Specific Site

A big part of the demo is story telling.  You want to show that day in the life, and how the solution makes someone’s day easier.  Of course a big part of that story is lowering costs or increasing revenue.  But either way, that story will resonate more if you are able to at least show a site within the same industry.  Even better if you can show the experience with the solution deployed on their website.  Less “context switching” for them.  They can visualize the solution better.

Simple

The simplest is to just take a screenshot.  In windows, I load up the page and maximize the web browser.  On a Windows system you can use Sniping tool.  Once installed it is Windows Key + shift + S.  Cut just inside the browser.  For MacOS, it is shift + command + 3.  Copy the file onto your web server.  The following HTML is enough to have it stretch and fill the screen:

<!DOCTYPE html>
<html>
<head>
<title>Website Title Here</title>
<meta charset="UTF-8" />
<style>
   body {
      background-image: url('/images/screenshot.png');
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: 100% 100%;
   }
</style>
</head>
<body>
<script src="https://www.example.com/javascript/demo.js"></script>
</body>
</html>

The key components here are the CSS for the body and the JavaScript that brings in the code for whatever you are demoing. The tradeoff with this method is that you can’t interact with the page.  It also doesn’t resize well.  But it is the quickest way to get the page up.

A Bit More Complex

The next step to mirror a website is to use an application like wget, httrack or just to save the page from your web browser.

For wget, I find that the following flags are helpful:

  • -r for recursive.
  • -np for no parents.  Use this if you just want to crawl from that directory and down.
  • -w <# of seconds> to wait between requests.  Use this if you decide to set the User Agent to something else to get around robots.txt rules.

For more details, check out this wget tutorial.

With httrack, the following setting are relevant:

  • Go down only, not up.  Similar to -np for wget.
  • Ignore agents – be kind if you do this.
  • There also are settings related to older http requests.

There are two complexities here.  Often there is JavaScript that is critical to render the site.  There are two ways it can cause problems.  First off tools like wget and httrack don’t execute the JavaScript.  This also hampers just saving the page from the web browser.  In those cases, I’ve used a Chrome plugin call View Rendered Source.  The second problem it can cause is that you might need to prune out irrelevant JavaScript while also keeping the pieces that are needed for rendering.

In the past, there was a WordPress theme site where you could download demonstration versions of the theme.  They were minimalistic and just enough to get a nice static site up.  Unfortunately I can no longer find them, but that brings us to the last option.

More Powerful

The most complex, to me, is to set up an instance of WordPress and build different sites based on the site you wish to emulate.  This is nice when you want to have a site per industry, but change the name and colors based on the firm you are speaking with.  It is a bit of work to create all of the content of course.  Note that you can run multiple sites on the same Apache instance as well as with the same database.

 

Getting Started Learning Programming

Me in 2023, and Selling at 23

Leave a Reply Cancel reply

Recent Posts
  • Always On Culture and Global Teams
  • Google Dorking Against the Competition
  • API Guides Are Not Textbooks, Don’t Expect Your Users To Use Them That Way
  • ECHOGEAR Open Rack
  • Getting RAID Inside a Dell
Categories
  • Analytics
  • Attitude
  • CDNs
  • Conversational AI
  • Creative Projects
  • Gear
  • Getting Hired
  • High Level Tech Intro
  • Hiring Process
  • Message/Chat/Collaboration
  • Monitoring
  • Random Notes
  • Raspberry Pi
  • Sales Engineers
  • SE Skills
  • Startups
  • Uncategorized
Recent Comments
  • Peter Cohan on The Best Conference Demo
  • E Berry on Do You Know About These Female Trail Blazers?
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
Proudly powered by WordPress | Theme: Doo by ThemeVS.