Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 949033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:20:24+00:00 2026-05-15T23:20:24+00:00

We are migrating web servers, and it would be nice to have an automated

  • 0

We are migrating web servers, and it would be nice to have an automated way to check some of the basic site structure to see if the rendered pages are the same on the new server as the old server. I was just wondering if anyone knew of anything to assist in this task?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:20:24+00:00Added an answer on May 15, 2026 at 11:20 pm

    Get the formatted output of both sites (here we use w3m, but lynx can also work):

    w3m -dump http://google.com 2>/dev/null > /tmp/1.html
    w3m -dump http://google.de 2>/dev/null > /tmp/2.html
    

    Then use wdiff, it can give you a percentage of how similar the two texts are.

    wdiff -nis /tmp/1.html /tmp/2.html
    

    It can be also easier to see the differences using colordiff.

    wdiff -nis /tmp/1.html /tmp/2.html | colordiff
    

    Excerpt of output:

    Web Images Vidéos Maps [-Actualités-] Livres {+Traduction+} Gmail plus »
    [-iGoogle |-]
    Paramètres | Connexion
    
                               Google [hp1] [hp2]
                                      [hp3] [-Français-] {+Deutschland+}
    
               [                                                         ] Recherche
                                                                           avancéeOutils
                          [Recherche Google][J'ai de la chance]            linguistiques
    
    
    /tmp/1.html: 43 words  39 90% common  3 6% deleted  1 2% changed
    /tmp/2.html: 49 words  39 79% common  9 18% inserted  1 2% changed
    

    (he actually put google.com into french… funny)

    The common % values are how similar both texts are. Plus you can easily see the differences by word (instead of by line which can be a clutter).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are migrating many ASP.NET 1.1 web applications to new servers. We would like
I am migrating web apps to new hosting servers, but when I try to
In the very near future I'll be migrating some web applications from VS2003 projects
I am migrating a classic ASP web app to new servers. The database back
I am migrating from programming to 'web programming', so this may sound too basic
I am migrating a SOAP web service to JDK1.5. I have took advantage of
We are migrating a web applicatin from vs05 to vs08. This application is using
I am migrating an web forms app to ASP.NET MVC. Down the road we
I am migrating an ASP.NET Web Service toward WCF. The old Web Service endpoint
Recently i am working on migrating the ASP.NET Web application to MVC. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.