How to check for broken links using Xenu? Como verificar se há links quebrados usando Xenu?

Posted on July 4, 2008 at 5:41 am Postado em 4 de julho de 2008 em 5:41 am

Do you often have problems with broken links?  Are you tired of seeing the Vocês têm muitas vezes problemas com as ligações quebradas? Você está cansado de ver o 404 or “File or Directory Not Found” error page?  Wether you are a web developer or a user that is irritated by a website with this broken link issue, this free ou "Arquivo ou diretório não encontrado" erro página? Tempo você é um desenvolvedor web ou um usuário que está irritado por um site com este link quebrado questão, esta livre tool ferramenta is for you. é para você.

Ironically, the Ironicamente, a Wikipedia page for Xenu’s Link Sleuth Wikipedia página para Xenu's Link Sleuth has a broken link on its footnote section: tem uma ligação com a sua nota secção:

http://www.curriculum.edu.au/SCIS/connections/cnetw02/43xenu.htm

imagem

Written by a Escrito por um programmer programador that’s as fed up as you with broken links, Xenu’s Link Sleuth crawls the entire website and checks for broken links and then creates a summarized report of all the broken links found.  The name Xenu is derived from a Scientology god which does bad things – he is like the Satan of the Scientology world – Tilman, the programmer, is an avid cult and Scientology critic so I think he used “Xenu” to mock the fanatic cult followers. isso é tão fartos como você com links quebrados, Xenu's Link Sleuth indexa todo o site e os controlos de links quebrados e, em seguida, cria um relatório resumido de todos os links quebrados encontrado. Xenu O nome é derivado de um deus que não Cientologia coisas ruins - ele é como o Satã da Cientologia mundo - Tilman, o programador, é um ávido culto e de Cientologia de modo crítico, penso que ele usou "Xenu" falar mal dos seguidores do culto fanático.

Although interesting and a good Digg topic we will depart discussing the Embora interessante e uma boa Digg tópico vamos discutir a divergir sensational background sensacional fundo of this software. deste software.

To start the link checker, open Xenu and then click File > New URL… Para iniciar a ligação verificador, aberta Xenu e, em seguida, clique em Arquivo> Novo URL…

imagem

Enter the URL of the website that you want to check on the prompt. Digite o URL do site que você deseja verificar o prompt. On this example, I will check the links coming from the project’s homepage: Quanto a este exemplo, vou verificar as ligações provenientes da página inicial do projeto: http://home.snafu.de/tilman/xenulink.html

imagem

If you need to check for external sites check the box otherwise make sure to uncheck it to avoid crawling external sites (it could take time and possibly slow down other servers if you crawl sites that you don’t intend to). Se você precisa de verificar para sítios externos marque a caixa para certificar-se de outra forma desmarque-a para evitar a indexação de sites externos (que pode levar tempo e, possivelmente, está lento demais servidores se você rastrear os sites que você não pretende).

External sites means sites that are hosted on another domain.  Also, you can treat external sites as “internal” by adding the beginning address on the list of “Consider URLs beginning with this as ‘internal’”.  On the same manner, you can bypass URLs that you don’t want to crawl like forums and dynamic pages.  After you are done setting the URL, click OK to start the crawler. Sítios externos meios sites que estão hospedados em outro domínio. Além disso, você pode tratar sítios externos como "interna", acrescentando o início endereço na lista das "Considere URLs começam com esta situação como" internos "." Na mesma maneira, você pode bypass URLs que você não quer rastrear como fóruns e páginas dinâmicas. Após você é feito definindo o URL, clique em OK para iniciar o indexador.

During the crawling process you will see the program checking each page along with the status, type of file, size and HTML title: Durante o rastreamento processo irá ver o programa verificando cada página, juntamente com o estatuto, tipo de arquivo, tamanho e HTML título:

imagem

Depending on the speed of your connection and the number of files linked from the URL you entered above, it could take from a few minutes to an hour.  The software crawls the web using a multi-threaded technique so it could check for multiple pages concurrently.  The number of threads is adjustable using the Options panel. Dependendo da velocidade de sua conexão e do número de processos ligados a partir do URL que você digitou anteriormente, poderia levar de alguns minutos a uma hora. O software rastreia a web usando uma multi-threaded técnica para que ele pudesse verificar por várias páginas em simultâneo . O número de threads é ajustável usando o painel de opções.

Click OK once the crawling is done: Clique em OK quando o rastreamento é feito:

imagem

The final output is a very comprehensive report in HTML format with the following contents: O resultado final é um relatório muito abrangente em formato HTML com o seguinte teor:

* Broken links, ordered by link * Broken links, ordenados pelo link
* Broken links, ordered by page * Broken links, ordenados por página
* List of redirected URLs * Lista de URLs redirecionado
* List of valid URLs you can submit to a search engine * Lista de URLs válida que você pode enviar para um motor de busca
* Site Map of HTML pages with a Title * Mapa do Site de páginas HTML com um título
* Broken page-local links * Broken página de ligações locais
* Orphan files * Orphan arquivos
* Statistics for managers * Estatísticas de gestores

The most important part of the report is the list of broken links so we can identify them: A parte mais importante do relatório é a lista de links quebrados então podemos identificá-los:

imagem

Click the first item “Broken links, ordered by link” to see the list of broken links: Clique no primeiro item "Broken links, ordenados pelo link" para ver a lista de links quebrados:

imagem

To interpret the report see below guide: Para interpretar o relatório guia veja abaixo:

imagem

From a web developer point of view, this can be fixed by: A partir de um desenvolvedor web ponto de vista, esta pode ser fixada por:

1. making the missing page available OR tornar a página disponível ou ausente

2. removing the broken link from the pages that point to the missing page. removendo a quebra de ligação entre as páginas que apontam para a página faltando.

Given the case above and considering what is the best way to finish the job, looks like step 1 is more practical to implement since only one file will be affected instead of many files. Dado o caso exposto, e considerando o que é a melhor maneira de terminar o trabalho, olha como passo 1 é mais prático para implementar uma vez que apenas um arquivo será afectado ao invés de muitos arquivos.

What if you are only the user and don’t have direct control of these files?  Well, first you can try to find the “Contact Us” page or email the admin if you have their contact details.  Quality websites usually fix the issue very quickly – they don’t want to have irritated readers. E se você é só o utilizador e não têm controlo directo destes arquivos? Bom, primeiro você pode tentar encontrar o "Fale Conosco" página ou e-mail do administrador, se você tem os seus dados para contato. Qualidade websites normalmente fixar a questão muito rapidamente - eles não querem ter irritado leitores.

Now, to get the overall picture of the whole site scroll to the bottom part of the report to see the aggregated result: Agora, para obter a visão global de todo o site rolar para a parte inferior do relatório para ver o resultado agregado:

imagem

So, from the report I can see that out of 6299 URLs only 17 are not found or only .27%.  Depending on your standard or level of discomfort towards broken links this could be interpreted as either good, bad or in the middle – don’t really matter. Portanto, a partir do relatório, vejo que a partir de 6299 URLs apenas 17 não são encontrados ou apenas .27%. Dependendo do seu nível normal ou desconforto no sentido de links quebrados que poderia ser interpretado como uma das boas, más ou no meio - don 'T realmente importa.

This tool enables you to find quality shortcomings of websites that don’t check their pages for broken links.  With a tool like Xenu’s Link Sleuth , link checking is only a few clicks away. Esta ferramenta permite que você encontrar falhas qualidade de sites que não verificar as suas páginas para links quebrados. Com uma ferramenta como o Xenu's Link Sleuth, verificando ligação é apenas alguns cliques de distância.

Ben Carigtan is a new contributor writer.  A Software Engineer with more than 7 years of technical experience, he will be writing articles covering practical advices and tips for computer users. Ben Carigtan-se de um novo colaborador escritor. Engenheiro de software com mais de 7 anos de experiência técnica, ele terá de escrever artigos abrangendo conselhos práticos e dicas para os usuários de computador.

If you enjoyed this post, make sure you Se você gostou deste post, certifique-se de subscribe to my RSS feed assinar o meu feed RSS ! !

» Filed Under »Arquivado em Cool Websites Cool Websites

Related Posts Posts relacionados

One Response to “How to check for broken links using Xenu?” Uma resposta a "Como verificar se há links quebrados usando Xenu?"

  1. Siddharth Siddharth said on : disse sobre:

    This is quite cool Isto é bastante cool
    Firefox has got a bunch of cool plugins for web developers Firefox tem um monte de plugins para cool desenvolvedores web ;)


    Please post your comments/suggestions! Favor enviar seus comentários e sugestões!