1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Putting a website onto a CD for distribution

Discussion in 'General Discussions' started by frayedknotarts, 2009/05/07.

  1. 2009/05/07
    frayedknotarts Lifetime Subscription

    frayedknotarts Well-Known Member Thread Starter

    Joined:
    2006/08/12
    Messages:
    456
    Likes Received:
    4
    I'm not even sure how to ask the question, but...

    I have a music website and would like to extract portions of it (the actual music index pages and links as well as the music files) and put this on a CD to send to people who are interested in Irish music.

    (site example:http://www.oldmusicproject.com/Oneils_jigs.html

    At present, I've just copied all the music files into directories, then copied the directories onto a CD along with an Excel spreadsheet-based index.

    This is... well, "adequate" is one term... but I'd rather give them a copy of the actual web pages which have the links to the tunes and which are infinitely more "search-able ".

    I just don't know how to go about it.

    It seems like it would be easy to simply FTP the relevant pages to a separate directory on the HDD, but when I do this the links are all still pointing at the website. Rather than that, I want to have the links on the pages point to the directories/files which will be on the CD.

    If this was a small collection, I'd just go thru and change all the links on the pages downloads one-by-one, but I'm an old man and probably would suffer a heart attack changing some 8000 + links in that fashion.

    I hope I've expressed myself clearly (probably not!) but if you can see where I'm headed and can give me a few tips, I'd be most grateful.
     
  2. 2009/05/08
    wildfire

    wildfire Getting Old

    Joined:
    2008/04/21
    Messages:
    4,649
    Likes Received:
    124
    One solution that springs to mind is to load the pages into a text editor and do a global search and replace to change the links to relative links...

    eg using my site as an example...

    search for
    Code:
    <a href= "http://www.yaawns.myby.co.uk/
    and replace it with
    Code:
    <a href= "./
    If you have a number of pages with links then I'd recommend Notepad++ as it has the ability to load several documents at once and you can perform the search/replace across them all in one action.

    Keep backups of the original files though just in case you make a mistake.
     

  3. to hide this advert.

  4. 2009/05/08
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Web sites on CD can be done, but require a lot of work. There are also security considerations. By default, Windows won't allow "active content" to run on CDROMs. Active Content can be defined in many ways, sounds like it means javascripts, etc., but even Web pages w/ links are considered Active Content by Windows. Thus, your friends will get security alerts from Windows when they click a link on the Web page on the CD.
     
  5. 2009/05/08
    frayedknotarts Lifetime Subscription

    frayedknotarts Well-Known Member Thread Starter

    Joined:
    2006/08/12
    Messages:
    456
    Likes Received:
    4
    See if I understand correctly:

    Take the link:

    and change it to:

    Correct?
     
  6. 2009/05/08
    wildfire

    wildfire Getting Old

    Joined:
    2008/04/21
    Messages:
    4,649
    Likes Received:
    124
    Yes :)
     
  7. 2009/05/08
    frayedknotarts Lifetime Subscription

    frayedknotarts Well-Known Member Thread Starter

    Joined:
    2006/08/12
    Messages:
    456
    Likes Received:
    4
    TonyT: Thanks... that may knock the whole thing in the head.

    Looks like whichever way I go, I may have already found the easiest and simplest way of doing it... I'd just like to improve the experience over the "hunt-and-hope" that it lives with now.
     
  8. 2009/05/08
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Not really .....

    Tools > Internet Options > Advanced - check 'Allow active content from CD's to run on My Computer'.

    Just give the recipients an advisory to make that change - and undo it later.
     
  9. 2009/05/08
    frayedknotarts Lifetime Subscription

    frayedknotarts Well-Known Member Thread Starter

    Joined:
    2006/08/12
    Messages:
    456
    Likes Received:
    4
    Got it!:)

    However, if the recipient want to d/l the CD to their HDD (which most do), then all should be well and the switch unnecessary after that point? (Most recipients use it as a reference library and the CD portion is just for transport from me to them.)
     
  10. 2009/05/08
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    I've used this before, works well.

    1. Put all multimedia folders in one directory.
    2. downlaod and install this program:
    ArcLab Dir2HTML (free)
    3. Run the app and remember to use checkmark "link files ".

    Just use the buttons in the top of window and generate an html page of all the music.
     
  11. 2009/05/08
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Not quite :) - the CD setting would be no longer necessary, but running from the hard drive will bring up the notification bar at the top of the IE screen .....
    Click and allow blocked content - this applies to the web site on the HD, not globally.
     
  12. 2009/05/08
    frayedknotarts Lifetime Subscription

    frayedknotarts Well-Known Member Thread Starter

    Joined:
    2006/08/12
    Messages:
    456
    Likes Received:
    4
    OK.... it is an easy thing to add the notice in the "read me first" enclosure and to put the same on the lable of the CD... a minor difficulty in a major area.

    Thanks for clearing that up.

    I've also seen some programs on the web which purport to be able to "crawl" your website and package the results as a stand-alone CD. Being the sceptical little buggar that I am, I wonder if these can do what they promise. My problem with these is I don't want the WHOLE website on the CD, just the relevant music portions.

    For that reason alone I think I'll try the "DIY" method first and see if I can't beat this into submission. Besides, why waste all this lovely advice then?

    More on this as I progress....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.