Your browser isn't supported
It looks like you're using an old web browser. To get the most out of the site and to ensure guides display correctly, we suggest upgrading your browser now. Download the latest:

Welcome to the MSE Forums

We're home to a fantastic community of MoneySavers but anyone can post. Please exercise caution & report spam, illegal, offensive or libellous posts/messages: click "report" or email forumteam@. Skimlinks & other affiliated links are turned on

Search
  • FIRST POST
    • Ainsley1
    • By Ainsley1 11th Mar 17, 8:39 PM
    • 372Posts
    • 169Thanks
    Ainsley1
    web page edit for use on cd
    • #1
    • 11th Mar 17, 8:39 PM
    web page edit for use on cd 11th Mar 17 at 8:39 PM
    Many a moon since I have edited a web page or even produced...so memory a bit hazy!...and things have moved on a lot in the time!!!

    I wish to (and have permission) to copy several web pages to file - saved as 'web pages complete' within Firefox - so that an elderly person without internet access can open and link locally (relative hyperlinks if I remember correctly?). In so doing they can use their offline browser to read the data on the 'home' page and several of the pages (and a video) that the web page links to.

    Can anyone explain if there is an easy way to search and replace the links, edit them to point to the linked pages within the same folder, or automatically to do the same.

    All the pages/data etc for them will be in the 'root' folder and appropriate sub folders as per the original but will be save onto CD.
    I did produce a cd copy of something similar for distribution to offline users many years ago but forget how I did it, probably using Homesite at the time.

    If I am being too ambitious just let me know!!
Page 1
    • Neil Jones
    • By Neil Jones 11th Mar 17, 9:27 PM
    • 527 Posts
    • 268 Thanks
    Neil Jones
    • #2
    • 11th Mar 17, 9:27 PM
    • #2
    • 11th Mar 17, 9:27 PM
    Unless links are hard coded to specific locations they will always be relative.

    Example:
    <a href="http://www.moneysavingexpert.com">MoneySavingExpert.com</a> <-- hard link as no matter where you save it it will always go there.

    <a href="moneysavingexpert.htm">Money saving</a> <-- local. Clicking this will take the browser to open the page moneysavingexpert.htm in the same folder you're looking at now.

    A simple find and search in Notepad or Wordpad will allow you to replace the links from hard ones to relative ones (find and replace http:// and www with a blank space for example). You just then need to make sure they point to the right places.
    • were
    • By were 11th Mar 17, 9:28 PM
    • 416 Posts
    • 253 Thanks
    were
    • #3
    • 11th Mar 17, 9:28 PM
    • #3
    • 11th Mar 17, 9:28 PM
    For one page on page right click and choose "save page as".

    On firefox get 2 addins: scrapbook, scrapbook plus.
    https://addons.mozilla.org/en-US/firefox/addon/scrapbook/?src=userprofile
    https://addons.mozilla.org/en-US/firefox/addon/scrapbook-plus/

    Non browser way is teleport pro

    For dynamic pages I am unsure if you could pull a site?
    Last edited by were; 11-03-2017 at 9:42 PM.
    • Ainsley1
    • By Ainsley1 12th Mar 17, 11:57 AM
    • 372 Posts
    • 169 Thanks
    Ainsley1
    • #4
    • 12th Mar 17, 11:57 AM
    Thanks...
    • #4
    • 12th Mar 17, 11:57 AM
    Thanks guys/gals. I will investigate.

    Given the small scale of this will probably just search/replace but the other info is useful too.
    • cookie365
    • By cookie365 12th Mar 17, 9:34 PM
    • 1,704 Posts
    • 1,089 Thanks
    cookie365
    • #5
    • 12th Mar 17, 9:34 PM
    • #5
    • 12th Mar 17, 9:34 PM
    Use httrack to save the whole thing complete with relative links automatically

    https://www.httrack.com/
Welcome to our new Forum!

Our aim is to save you money quickly and easily. We hope you like it!

Forum Team Contact us

Live Stats

3,157Posts Today

6,368Users online

Martin's Twitter