Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » generating a diagram - flowchart of a website
Closed Thread
Old 07-16-2003, 02:56 PM   #1 (permalink)
Larry's Avatar
 

Join Date: May 2003

Posts: 1,803

Larry has disabled reputation

Default generating a diagram - flowchart of a website

Does anyone of a program or tool that will automatically generate or create a chart of a website?

Something that will follow all the links on a site and some how display the link and/or file it links to.

Thanks
Larry is offline  
Old 08-15-2003, 07:34 AM   #2 (permalink)
 
Junior Techie

Join Date: Aug 2003

Posts: 66

yoran

Default

I know how to make something like that in perl, but what do you want to do with a program like that...?
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline  
Old 08-15-2003, 01:32 PM   #3 (permalink)
Larry's Avatar
 

Join Date: May 2003

Posts: 1,803

Larry has disabled reputation

Default

Hi Yoran...

Do you have something already built that can do that?

I want it for "web masters" and the like. If you want to visually see a website, how else can you do it besides manually writing it out?

I'm looking for an easier/faster way

Larry is offline  
Old 08-16-2003, 04:51 AM   #4 (permalink)
 
Junior Techie

Join Date: Aug 2003

Posts: 66

yoran

Default

nope, I haven't make something like that before, and I don't know where you can learn it... (I found it out by my self...)

but I can give you a little documentation about getting pages with HTTP.
the only thing you have to do is parsing the HTML and it's done!

[little simple example about parsing html]
Code:
$html =~ /&lt;a href=(.+) target=(.+)>(.+)<\/a>/i;
$link = $1; $text = $3;
Then you will get ONE link of the page, but you must use the foreach-statement to get more!
Attached Images
 
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline  
Old 08-22-2003, 01:26 PM   #5 (permalink)
 
Newb Techie

Join Date: Aug 2003

Posts: 16

Psycluded

Send a message via AIM to Psycluded
Default

Java/JSP can do this VERY easily using the built-in Document Object Model, especially the latter if you have Tomcat or another JSP app server running on your webserver.

Check this out. Chapter 8 is about the DOM. You can write a fairly simple JSP page that will traverse through your whole site, link by link, and catalogue where each page goes, etc. That is, if I understand what you're asking...
Psycluded is offline  
Old 08-28-2003, 07:08 AM   #6 (permalink)
 
Junior Techie

Join Date: Aug 2003

Posts: 66

yoran

Default

yea, and JAVA or JSP is VERY slow!!!!!
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On