• Finding include files that aren’t included? (2002)

    Home » Forums » Developers, developers, developers » Web design and development » Finding include files that aren’t included? (2002)

    Author
    Topic
    #388322

    Is there an automatic way to get a list of “include” files that are NOT included?

    I’m trying to avoid writing this program:
    1. Read the names of the files in the _includes folder
    2. For each name in the list, search the local web (in HTML, if I were using the Find dialog)
    3. Display the list and the names of the files in which each is included.

    Any file that is not included somewhere is a candidate for elimination from the web.

    I dont want to do this by hand, because there are a lot of files.

    Viewing 0 reply threads
    Author
    Replies
    • #681426

      Would it be cheating to rename the folder (outside of FP) and then, in FP, look at the broken links report? I don’t know if that report covers include files, so maybe this wouldn’t work…

      • #681499

        “cheating” you say? My motto: “You don’t really know how to use a tool until you know at least three ways to MIS-use it.”

        The Report doesnt cover Include files explicitly… it will be interesting to see if FP can find references in ASP statements like
        Response.Redirect “someurl”

        Stay tuned… smile

      • #681518

        Reports | Unlinked files doesnt tell much. For example, the status of all the ‘confirmation.asp’ pages is “unlinked”.

    Viewing 0 reply threads
    Reply To: Finding include files that aren’t included? (2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: