Dead Link checking within courses

Hi everyone
I was wondering if anyone knows of a dead link checking solution that I could install on our iLearning server. We currently have around 2000 courses on it, most of which have url links on certain pages of courses and obviously these links will not last forever. Is there any known solutions that can sit on the server and regularly check through the courses for dead links?
It would probably have to check through the uploaded course zip files and check individual html pages within them and also run daily reports.
Any help appreciated as I haven't found any viable options so far.
Many thanks
Bob

Hi Bob,
There are a number of free web based dead link checkers for internet facing servers e.g. [http://validator.w3.org/checklink] or [http://www.powermapper.com/products/sortsite/ads/links-link-checker.htm?gclid=CNimndrD75YCFQXO1AodwjORqw}]
This dead link Pearl script might be useful for checking locally: [http://dlc.sourceforge.net/]
And of course there are commercially abailable ones
It might be tricky to find one that checks within SCORM zip files so it might have to be a case developing a script to unzip to a directory, run the check and zip them back up again on the server.

Similar Messages

  • How do you get iTunes to list JUST broken or dead links?

    I would like to know how to get iTunes to show just broken links (aka Dead Links) much like how you can select it to show just duplicate songs/links
    My Internal Harddrive (HD) had a glitch afew weeks ago and I had to reformat and reinstall. Before any of that happened tho I had made a complete backup copy of the "My Music" folder (Which included the iTunes folder with its database and everything else) to a external HD.
    After getting the interal HD back up and running, I just copied everything within the "My Music" folder off the external and into the "My Music" folder on my Internal C Drive. During the copy process is when I found out that whatever glitch had happened had also affeced some of the MP3 files I had backed up on the external. Windows was able to copy all of the iTunes folder with its database and half of the MP3's The other half it couldn't tho.
    Now when I open iTunes being that the database was copied over and all songs that were recovered are exactly where they were before they show up I have no problems there. But the songs that were not recovered are listed in the iTunes Library, just has broken links tho since they do not exist anymore.
    It would make things ALOT easier if I could just get iTunes to show only the broken links. This would make a PERFECT list of all the songs I have missing. I could then know exactly which songs I need to rip again using iTunes or download so I can point these dead links to files and finish updating my iPod.
      Windows XP  

    OK I have finally got this question somewhat answered, I went and used the Javascript at http://ottodestruct.com/itunes/FindDeadTracks.txt the first time, followed the rules of using "Save as" and changing the .txt at the end to .js and got errors running it.
    The Second time tho, instead of just using "save as" I realized the first lines of this text are not code but just directions. Someone might know of a shorter way of doing this but I Highlighted only the code itsself and saved that (Example Below):
    /* Rename me to FindDeadTracks.js
    Double Click in Explorer to run
    Script by Otto - http://ottodestruct.com */
    var ITTrackKindFile = 1;
    var iTunesApp = WScript.CreateObject("iTunes.Application");
    var deletedTracks = 0;
    I just skipped the "Rename me to ........" Highlighted "var ITTrackKindFile " And everything below it. After saving this and running it, The script opened iTunes poped up how many dead tracks it found in a pop up window and (Without saying) had made a Text File of all the songs that were dead tracks in the "My Documents" Folder.

  • Basic webpage link checker

    Hello all,
    I am attempting to write a basic link checker to parse an html page and determine if any links are dead. I found a couple tutorials online, and am using one of them to test a webpage. However, i am running into multiple problems. The basic link checker verifies links by using the http HEAD request, it then checks the response code and determines from there if the link is dead.
    However, I have two major problems with this:
    1) How can I verify links when they are not using http, for instance a ftp link on a webpage?
    2) Sometimes when I parse link, i am losing the protocol from the link....
    ie. href="http://www.ibm.com/systems/x/=>href="//www.ibm.com/systems/x/"
                 Reader rd = getReader(rootURI);
                  // Parse the HTML.
                  kit.read(rd, doc, 0);
                  // Iterate through the elements
                  // of the HTML document.
                  ElementIterator it = new ElementIterator(doc);
                  javax.swing.text.Element elem;
                  System.out.println("Starting Validation from: " + rootURI);
                  while ((elem = it.next()) != null) {
                    SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
                    if (s != null) {
                      System.out.println("attributeSet: " + s);
                      String link = (String)s.getAttribute(HTML.Attribute.HREF);
                      System.out.println("Validating: " + link);
                      validateHref(link);
                    }else{
                      //System.out.println("Attribute set is empty");
                      //flag this to user
                  }This is the block of code i am using to extract the link from the html source. My console output looks like this:
    [stdout]
    attributeSet: href=//www.ibm.com/systems/x/ class=left-nav-overview
    Validating: //www.ibm.com/systems/x/
    [stdout]
    However, looking at the html source, the link should be http protocol....ie. http://www.ibm.com/systems/x , since i later check to make sure that http protocal urls start with "http:", these links that do not have http: at the beginning are being ignored...
    Can someone please help and explain to me how I can fix this? Also, i am eventually planning to turn this into more of a web spider, and traverse levels of pages checking and validating the links.
    Thank you,
    Nick

    heres the full source. Let me know if theres anything else to make my questions more clear. Thanks!
        import java.io.*;
        import java.net.*;
        import javax.swing.text.*;
        import javax.swing.text.html.*;
    public class enhanceLinkCheck {
           static int failCnt = 0;
          public static void main(String[] args) {
              HttpURLConnection.setFollowRedirects(false);
              EditorKit kit = new HTMLEditorKit();
              Document doc = kit.createDefaultDocument();
              // The Document class does not yet
              // handle charset's properly.
              doc.putProperty("IgnoreCharsetDirective",
                Boolean.TRUE);
               try{
                    //String rootURI = "http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-65651&brandind=5000008#osa";
                    String rootURI = "http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-65665&brandind=5000008";
                  // Create a reader on the HTML content.
                  Reader rd = getReader(rootURI);
                  // Parse the HTML.
                  kit.read(rd, doc, 0);
                  // Iterate through the elements
                  // of the HTML document.
                  ElementIterator it = new ElementIterator(doc);
                  javax.swing.text.Element elem;
                  System.out.println("Starting Validation from: " + rootURI);
                  while ((elem = it.next()) != null) {
                    SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
                    if (s != null) {
                      System.out.println("attributeSet: " + s);
                      String link = (String)s.getAttribute(HTML.Attribute.HREF);
                      System.out.println("Validating: " + link);
                      validateHref(link);
                    }else{
                      //System.out.println("Attribute set is empty");
               }catch (Exception e){
                    e.printStackTrace();
               System.out.println("Failed links: " + failCnt);
               System.exit(1);          
          // Returns a reader on the HTML data. If 'uri' begins
          // with "http:", it's treated as a URL; otherwise,
          // it's assumed to be a local filename.
            static Reader getReader(String uri)
              throws IOException {
              if (uri.startsWith("http:")) {     
                // Retrieve from Internet.
                URLConnection conn = new URL(uri).openConnection();
                return new InputStreamReader(conn.getInputStream());
                }else {
                  // Retrieve from file.
                  return new FileReader(uri);
            private static void validateHref(String urlString){
                 if((urlString != null) && (urlString.startsWith("http://"))){
                      try{
                           URL url = new URL(urlString);
                           URLConnection connection = url.openConnection();
                           if(connection instanceof HttpURLConnection){
                                HttpURLConnection httpConnection = (HttpURLConnection)connection;
                                httpConnection.setRequestMethod("HEAD");
                                httpConnection.connect();
                                int response = httpConnection.getResponseCode();
                                if(response >=400){
                                     System.out.print("[FAILED]");
                                     failCnt++;
                                System.out.println("Response: " + response);
                                String location = httpConnection.getHeaderField("Location");
                                if(location != null){
                                     System.out.println("Location: " + location);
                                System.out.println();                            
                           }else {
                                System.out.println("Connection not HTTP: " + connection);
                      }catch (IOException e){
                           e.printStackTrace();
    }

  • Dead links

    Hi!
    I hope, I'm now in the right place with the right feedback ;o)
    The following link contains a page within otn with dead links (the first 3 links are dead, the 4th works fine):
    http://otn.oracle.com/docs/products/aq/content.html
    cu
    ed

    never mind...i got it

  • Dead links....can't remove them?!?

    I created a site a few months ago with iweb. I then published it. A few months went by and I decided it was time to update it. I removed a couple of old movies using iweb. I then republished the site.
    I just went to visit it (a few weeks later) and those links are still at the top of the page (although they go to the "We're sorry but we can't find the iweb page.......")
    These links are NOT in the iweb site I have created... So why are they on the published site?
    How can I get ride of these "dead" links on the published site??? Thanks..

    Open your iDisk
    Open the 'Web' folder
    Open the 'Sites' folder
    Open the 'iWeb' folder
    Open the folder with the name of the site that is having problems
    You should now have a list of folders and files, many of which will have names matching the names of pages in your site.Look for any files ending in '.html' (apart from 'index.html') that have names of pages that you deleted and delete them.
    When you update your site with a new page, or by deleting a page in iWeb, the navbar should hopefully be fixed. If it's not, then there's something strange going on! If you still have problems, post the address of your site.
    You might want to empty the cache in your browser before you check, to make sure that you're actually looking at the most recent page. To be extra sure, I'd empty the cache, quit, reload, open the site, then reload the site to make absolutely certain that the most recent update is being viewed.

  • Dead links when using Safari.

    I first noticed dead links when trying to read "the Week in iOS Apps," on Macworld. I could go to the second view, but never past the second view. I solved the problem by switching to Firefox. the same thing happened on the Verizon wireless site when I tried to pay my bill.
    Should i make Firefox my primary browser? I have a habit of using Safari. Dead links shouldn't be a problem.

    You can try this. May help.
    Reset Safari.
    Click Safari in the menu bar.
    From the drop down select "Reset Safari".
    Uncheck the boxes beside  all items.
    Just check the box beside “Remove all website data”.
    Click "Reset".
    Empty Caches
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click Develop and select "Empty Caches" from the dropdown.
    Turn off Extensions if any, and launch Safari.
    Safari > Preferences > Extensions

  • How can I render an active link (yrl) within a UIX/XML page

    How can I render an active link (url) within a UIX/XML page.
    How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
    Bill G...

    It may seem strange, but the <contents> of <rawText> aren't actually
    raw - it's only the "text" attribute that's raw. (It seems strange because
    it is. Ah well.) This is different from UIX JSP.
    So, try something like the following:
    <bc4j:attrScope name="Notes">
    <contents>
    <rawText text="&lt;a href=&quot;"/>
    <rawText>
    <boundAttribute name="text">
    <bc4j:attrProperty name="value"/>
    </boundAttribute>
    </rawText text="&quot;&gt;"/>
    Some text in the link.
    <rawText text="&lt;/a&gt;"/>
    </contents>
    <bc4j:attrScope>
    Thankfully, this will be much simpler in 9.0.3, when the following
    will work:
    <link text="Whatever you want">
    <boundAttribute name="destination">
    <bc4j:attrValue name="Notes"/>
    </boundAttribute>
    </link>

  • How to delete dead links

    Hello
    I would like to delete dead links in a PDF document. I use Visual C++ to create my code and generate an API plug-in for Acrobat 8. Can you give me a sample code to do it.
    Thanks
    David

    You are going to need to examine the Cos object for each link and see
    whether it meets your requirements of "dead" (which you've really just
    moved to "invalid destination" - when is a destination invalid?)
    The PDF Reference describes the types of PDF actions. There are more
    than you think, and some (JavaScript) virtually defy analysis. In
    broad terms the plug-in would call PDDocGetPage / PDPageRelease for
    each page in turn, then iterate through the Annots objects. There is a
    PDAnnot API, but going to the Cos API is likely to be needed in the
    end.
    Be sure to use an error handler so you never miss PDPageRelease, even
    if there is an error in the PDF: this is very important.
    Aandi Inston

  • Link checker does not seem to see some broken links-why?

    Hi,
    I have a problem with the link checker, it does not seem to report some broken links. Here is the context in which it happens.
    My site root folder contains (subset) :
    index.php
    Templates/child_userarea.dwt
    user-area/downloads.html
    (The file downloads.html is based on child_userarea.dwt.)
    In the template, I have <a href="../../index.php" title="Home page">Home</a>.
    In downloads.html, this link appears as <a href="file:///M|/Website/index.php" title="Home page">Home</a>.
    According to this post http://forums.adobe.com/message/934203#934203 by Murray, this is because Dreamweaver (CS4 in my case) thinks that index.php is outside the site root folder. I understand it thinks so because indeed ../../index.php points to the folder parent of the root folder. What I don't get is why doesn't the link checker report that ../../index.php does not exist? (And I'm sure it doesn't, there is no file called index.php outside the root folder.)
    Emilie

    That's the thing, it is correct! I have checked many times. Here is what is says:
    and M:\Website\CERC15\ does exist.
    For the time being, I have corrected the paths in the template, so for that particular file, it is now ok. However, I have no idea whether other paths are wrong since I am not sure any longer whether they are spotted by the link checker. I searched for other instances of file:///M|/Website and there is none left.
    I suspect this is just one more problem due to another problem non-identified so far (see e.g.http://forums.adobe.com/thread/506149?tstart=30). Since I renamed a big batch of files, I have had problems after problems: the templates disappearing (see that other post); I also lost all the files in 4 other folders (files for download linked to the pages through <a> tags); and Dreamweaver has become particularly slow (but this seems to have been fixed with erasing the cache and the personal preferences).
    I'd like to start from scratch again (and why not reinstall Dreamweaver), but I don't know how to recreate the site from zero without loosing anything (e.g. links to templates).

  • Link Checker not finding all errors

    Hi. I am running the link checker, but its not
    finding all my errors - does anyone know why? -- for example -
    links like "/products/index.html should be "../products/index.html
    -- but link checker is not flagging this as wrong.
    Also the opposite - if I have this "../../products/index.html
    - and it should be : "../products/index.html - it doesnt know its
    wrong.
    Help - I really wanted to implement my new site tomorrow -
    but I cant trust the results I am seeing right now.
    Shriley

    >
    Hi. I am running the link checker, but its not
    finding all my
    > errors -
    > does anyone know why? -- for example - links like
    "/products/index.html
    > should
    > be "../products/index.html -- but link checker is not
    flagging this as
    > wrong.
    Either link will work fine. Both point to EXACTLY THE SAME
    PLACE, assuming
    your file doing the linking is one folder level below the
    root. The former
    link is called a root relative link since it describes the
    path to the
    linked file from the root of the site no matter where the
    linking page is.
    The latter is called a document relative link because it
    describes the path
    to the linked file from the location of the current page.
    Neither will be
    flagged by the link checker, since both could be right.
    > Also the opposite - if I have this
    "../../products/index.html - and it
    > should be : "../products/index.html - it doesnt know its
    wrong.
    Is this a real or a made up example? If you have the former,
    and it should
    be the latter, then your site is not properly defined.
    > Help - I really wanted to implement my new site tomorrow
    - but I cant
    > trust
    > the results I am seeing right now.
    It's a cockpit error, I believe. To read more about
    root/document relative
    links, go here -
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_13129&sliceId=2
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15546&sliceId=2
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "sdunham" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    Hi. I am running the link checker, but its not
    finding all my
    > errors -
    > does anyone know why? -- for example - links like
    "/products/index.html
    > should
    > be "../products/index.html -- but link checker is not
    flagging this as
    > wrong.
    >
    > Also the opposite - if I have this
    "../../products/index.html - and it
    > should be : "../products/index.html - it doesnt know its
    wrong.
    >
    > Help - I really wanted to implement my new site tomorrow
    - but I cant
    > trust
    > the results I am seeing right now.
    >
    > Shriley
    >

  • Relinking files through link checker does not work properly.

    Good Morning:
    I am using Dreamweaver CS6, and updating an old site (built in CS4). I have over 100 broken links to graphics which I am trying to relink through the "link checker" - will sporadic success.
    I have to update this site yearly, with new product graphics.
    When I try to update using the "check links sitewide" feature, I can update maybe two graphics, and then it will hiccup on the third attempt and REFUSE to relink to the new graphic I direct it to.
    My computer specs are as follows:
    Mac Pro
    Processor  2.8 GHz Quad-Core Intel Xeon
    Memory  2 GB 800 MHz DDR2 FB-DIMM
    Graphics  ATI Radeon HD 2600 XT 256 MB
    Software  OS X 10.8.2 (12C60)
    Any help would be appreciated.

    My guess is that you defined the language used to check on one or a few number of words.
    Select all the define the language to use.
    I'm quite sure that, after that, it will do the trick correctly.
    Yvan KOENIG (VALLAURIS, France) lundi 15 mars 2010 21:38:13

  • Link Checker

    I am using DreamWeaver 8 and I am having problems with file
    paths and names. If I use the link checker it shows a lot of broken
    links. When I look at the results everything seems to be missing
    the first letter of the filepath.
    For example:
    /forms/forms_building_construction.html
    will show in link checker results as
    /orms/forms_building_construction.html
    I have also seen this in other areas of DreamWeaver.
    Does anyone know why this happens. It is causing me
    frustration.
    Thanks,
    Steve

    >
    /forms/forms_building_construction.html
    >
    > will show in link checker results as
    >
    >
    /orms/forms_building_construction.html
    >
    > I have also seen this in other areas of DreamWeaver.
    Where exactly is the Local Site Folder?
    What kind of drive/network is it? anything at all odd about
    it??
    please open a new document in dw.
    Don't Save it.
    insert an image that's inside of this local site folder.
    copy the full path from the code view and paste in reply.

  • Dreamweaver 8 - Problematic Broken Link Check

    On a regular basis I use Dreamweaver 8's broken link checker
    to convert
    relative links to absolute throughout single HTML files.
    Once upon a time, I could use the results pane to quickly
    replace all
    of the broken links. Ever since installing Dreamweaver 8
    (upgraded from
    MX) I've had the following problem with the link checker:
    1. It seems to find all of the broken links correctly,
    however, when I
    try to change them into absolute, it doesn't actually make
    the changes.
    2. Sometimes it even makes incorrect changes to the path of
    the link,
    such as changing the image link to a .html link randomly (I
    have no
    idea how this happens!)
    3. When it asks if I'd like to replace the other references
    to the same
    file, and I respond yes, it does nothing.
    After researching this topic somewhat, I have found temporary
    solution,
    but it's driving me crazy and I'm looking for a long-term
    resolution
    for this issue.
    If I delete my WinFileCache-xxxxxx.dat file (under User >
    Application
    Data > Macromedia > Dreamweaver 8 > Configuration)
    before opening
    Dreamweaver, the problem is resolved until the end of that
    specific
    session. As soon as I close Dreamweaver and reopen it, the
    problem
    returns.
    I understand that by deleting the WinFileCache file I am
    basically
    starting with a clean slate, which is why this method is
    temporarily
    effective. However, this is a daily problem for me and I'm
    sick of
    having to do it every single time I use the program....
    SO...if any of you have any thoughts, suggestions, or similar
    complaints, please share - I'm desperate to find a long-term
    solution!
    Thanks!

    > On a regular basis I use Dreamweaver 8's broken link
    checker to convert
    > relative links to absolute throughout single HTML files.
    Why?
    > 1. It seems to find all of the broken links correctly,
    however, when I
    > try to change them into absolute, it doesn't actually
    make the changes.
    Give me an example of what it finds and what you want to
    change it to,
    please.
    > 2. Sometimes it even makes incorrect changes to the path
    of the link,
    > such as changing the image link to a .html link randomly
    (I have no
    > idea how this happens!)
    I would have to see this happen to believe it.
    > SO...if any of you have any thoughts, suggestions, or
    similar
    > complaints, please share - I'm desperate to find a
    long-term solution!
    The real question is - why are you regularly getting broken
    links? The only
    reason I can think of is that your local site is actually on
    a remote,
    shared network drive, and there is intermittant connectivity
    to it due to
    some recurring network anomaly. Can you tell me how your site
    is defined?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pooley2" <[email protected]> wrote in
    message
    news:[email protected]...
    > On a regular basis I use Dreamweaver 8's broken link
    checker to convert
    > relative links to absolute throughout single HTML files.
    >
    > Once upon a time, I could use the results pane to
    quickly replace all
    > of the broken links. Ever since installing Dreamweaver 8
    (upgraded from
    > MX) I've had the following problem with the link
    checker:
    >
    > 1. It seems to find all of the broken links correctly,
    however, when I
    > try to change them into absolute, it doesn't actually
    make the changes.
    >
    > 2. Sometimes it even makes incorrect changes to the path
    of the link,
    > such as changing the image link to a .html link randomly
    (I have no
    > idea how this happens!)
    >
    > 3. When it asks if I'd like to replace the other
    references to the same
    > file, and I respond yes, it does nothing.
    >
    > After researching this topic somewhat, I have found
    temporary solution,
    > but it's driving me crazy and I'm looking for a
    long-term resolution
    > for this issue.
    >
    > If I delete my WinFileCache-xxxxxx.dat file (under User
    > Application
    > Data > Macromedia > Dreamweaver 8 >
    Configuration) before opening
    > Dreamweaver, the problem is resolved until the end of
    that specific
    > session. As soon as I close Dreamweaver and reopen it,
    the problem
    > returns.
    >
    > I understand that by deleting the WinFileCache file I am
    basically
    > starting with a clean slate, which is why this method is
    temporarily
    > effective. However, this is a daily problem for me and
    I'm sick of
    > having to do it every single time I use the program....
    >
    > SO...if any of you have any thoughts, suggestions, or
    similar
    > complaints, please share - I'm desperate to find a
    long-term solution!
    >
    > Thanks!
    >

  • Flex 3 downloads are dead links

    Hi,
    i noticed that Flex 3 sample download links are all dead links (both local and remote zip files are missing)
    some examples :
    localDownloadPath="NumericStepper/Sample-Adobe-NumericStepper.zip" downloadPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/NumericStepper/Sample-Adobe-Num ericStepper.zip"
    localDownloadPath="Text/Sample-Adobe-Text.zip" downloadPath="http://www.adobe.com/devnet/flex/tourdeflex/sample/samples/Text/Sample-Adobe-Text.zip"
    and so on ...

    Sorry for the inconvenience, we're working to solve this issue.
    Vera

  • Dead link in iTunes Store

    I was trying to buy iPod games, but then realize it's all dead link and I coudn't click the buy button... Any suggestion for this?

    Contact the iTS and report the problem. http://www.apple.com/support/itunes/store/
    MJ

Maybe you are looking for