473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Get all Link from a Website

Hello All,

I manage a rather large website, that has several hundred content
managers. These content managers can create links at their will. I want
to take a look a list of all the Links that are on our website.

Is there a utility that can generate a list (text based) of all the
URLs that are mentioned on our website?

Thanks.
Saqib Ali
http://validate.sf.net <--- DocBook XML / XHTML Validator

Jul 23 '05 #1
6 1978
ru********@gmail.com says...
I manage a rather large website, that has several hundred content
managers. These content managers can create links at their will. I want
to take a look a list of all the Links that are on our website.

Is there a utility that can generate a list (text based) of all the
URLs that are mentioned on our website?


What platform?

If on Linux I'd recommend:
http://htcheck.sourceforge.net/

Geoff M
Jul 23 '05 #2
windows would be preferrable.

i don't want a elaborate link checker. I just want a simple console
based app that i can i run on a nightly basis, that generate a text
file with all the links on my website. I need to pass that text file on
a C++ program that I wrote.

Thanks.
Saqib Ali

Jul 23 '05 #3
On Thu, 18 Nov 2004, saqib ali wrote:
windows would be preferrable.
Xenu link checker produces something along the lines that you're
describing.
i don't want a elaborate link checker. I just want a simple console
based app that i can i run on a nightly basis, that generate a text
file with all the links on my website.


It's not quite what you want, but it might be worth looking at
nevertheless.

Have you considered lynx (available in a win32 version), which has
various site-exploring options that can be invoked as a batch job?
Jul 23 '05 #4
A simple perl script could do this easy.

Even grep, if you have the latest grep plus the extra pain in the butt
DLLs you need to download for windows.

Something like:
grep -ior "href=[^>]*" c:\internet\www\*.html > links.txt

or possibly:
grep -ior href=\"[^\"]* c:\internet\www\*.html > links.txt

Hmmm, if you want to create a historic log, create a batch file with:

for /f "tokens=1-4 delims=/.- " %%A in ('date /t') do SET FN=%%D%%C%%B
grep -ior "href=[^>]*" c:\internet\www\*.html > %FN%.log

Grep + DLLs (libintl, libiconv, pcre) available from
http://sourceforge.net/project/showf...group_id=23617

Sourceforge grep is a bit buggy - but the only one I know of that has
the "-o" option (not show whole line, just the text that matches the regexp)

Perl code would be cleaner, more reliable. Pay a perl programmer $40 to
write it or buy an old perl book from the bargain bin at your local
bookshop and write it yourself.
Jul 23 '05 #5
If I had console access, searching for links might be a lot easier. But
I don't. :)

In Peace,
Saqib Ali
http://validate.sf.net

Jul 23 '05 #6
saqib ali wrote:
If I had console access, searching for links might be a lot easier. But
I don't. :)


Ah, well you could still write a slightly more complicated perl script
to crawl a site, but you might be paying the perl programmer an extra $40 :P

- Simon
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mounir | last post by:
a website opens in my iframe Is there a way to know the address of the link the visitor clicks on ?
4
by: Jon | last post by:
Hi, How can I link to a site that is framed? e.g. they are www.website.com I want to go to www.website.com/page.htm BUT that gives me the (child) page without its menu's and headers (the...
5
by: Per Johansson | last post by:
Is it possible to use XSLT to automatically create href links while it formats an XML document? That is, if it finds "http://me.us/" in a text, it adds <a href="http://me.us/">http://me.us/</a> --...
1
by: | last post by:
I am planning to develop a directory website (ASP.NET) which will contain links to hundreds of external web pages. In an effort to keep the directory up to date, I would like to trap (perhaps as an...
9
by: Viken Karaguesian | last post by:
Hello all, I'm making a calendar section in a website. Each month is its own page and navigated by Previous / Next links. I have it working now with standard hyperlinks, but I want to learn how...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
3
by: amanjsingh | last post by:
Hi, I have my website and want to perform this functionality most likely using PHP. Please note that the website is huge and manual editing of pages is not possible. Is there a quick solution...
3
by: Andy B | last post by:
I am working on a mailing list service for our company. One of the requirements is that when a person signs up for a mailing list through the website they have to activate their subscription...
5
by: deepaks85 | last post by:
Dear All, I am handling 15 airline websites at a time and I need to check them on regularly basis which I am doing manually now-a-days. I need to get a software which check the website links...
1
by: jaideep93 | last post by:
I am a student of XI th class and i had made a website for career couseling for the exhibition. I have made a registration page in it so that students could register but unfortunately I do not know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.