|
map
Mar 30, 2002 18:32:50 GMT -5
Post by Sylph on Mar 30, 2002 18:32:50 GMT -5
when using a BufferedReader with InputStreamReader with InputStream etc, does TagIterator read in the code line by line, like normal? how about whitespace--the TagIterator assignment had some assumptions about the type of code we were given, like it was all flushed to the left, so we wouldn't have to worry about things... but will we have to change TagIterator or something?
|
|
|
map
Mar 30, 2002 18:45:21 GMT -5
Post by Tony on Mar 30, 2002 18:45:21 GMT -5
the definition of LinkIterator and TagIterator does not change, but you should be able to change it as long as it still works the way it was defined in A2
|
|
|
map
Mar 31, 2002 21:14:29 GMT -5
Post by Sylph on Mar 31, 2002 21:14:29 GMT -5
does anyone know what the output of the sample webpage should look like?
|
|
barp
Full Member
Posts: 28
|
map
Mar 31, 2002 22:04:46 GMT -5
Post by barp on Mar 31, 2002 22:04:46 GMT -5
|
|
|
map
Mar 31, 2002 22:30:18 GMT -5
Post by Sylph on Mar 31, 2002 22:30:18 GMT -5
i have something like that, but without the stuff above the required site.
also, i have r1.html and r2.html...
i'm also have some problems, becuz mine right now maps "sub1" and then nests "sub1/" under it... do u think this is ok, or wrong?
|
|
|
map
Apr 1, 2002 7:38:17 GMT -5
Post by Brutal_Chicken on Apr 1, 2002 7:38:17 GMT -5
i have something like that, but without the stuff above the required site. also, i have r1.html and r2.html... i'm also have some problems, becuz mine right now maps "sub1" and then nests "sub1/" under it... do u think this is ok, or wrong? I get that same problem if I input a url that ends with a '/'. Actually, mine won't even take that into consideration and would discard the 't1.html' or whatever the url part was.
|
|
barp
Full Member
Posts: 28
|
map
Apr 1, 2002 11:55:29 GMT -5
Post by barp on Apr 1, 2002 11:55:29 GMT -5
hey, how did you get r1.html and r2.html??
|
|
barp
Full Member
Posts: 28
|
map
Apr 1, 2002 12:44:23 GMT -5
Post by barp on Apr 1, 2002 12:44:23 GMT -5
never mind...but I don't get test.html and I can't get the <ul>'s in proper form...
Any hints?
|
|
|
map
Apr 1, 2002 13:34:07 GMT -5
Post by Brutal_Chicken on Apr 1, 2002 13:34:07 GMT -5
Here's a kick in the &^!#: Say you have this website, www.a.com, and the first link there is www.a.com/b/c. By the definition of the A4 tree, the tree would look like this: www.a.com www.a.com/b www.a.com/b/cBUT you didn't read in www.a.com/b yet. Hell, there might not even be one in www.a.com but it's still there in your tree! The correct tree would be: www.a.com www.a.com/b/c So how have you guys done this? I was thinking of adding some character inthe tree above this one that would set apart a 'real' URL. Also, how do you handle Relative URLs?
|
|
|
map
Apr 1, 2002 13:42:45 GMT -5
Post by gabbie on Apr 1, 2002 13:42:45 GMT -5
dun worrie bout it... the announcements n hints says ish okie if you are using a4's tree.. in your example as long as u dun recurse www.a.com/b you will b fine..read the announcements.. i think that's what it says there
|
|
barp
Full Member
Posts: 28
|
map
Apr 1, 2002 14:03:43 GMT -5
Post by barp on Apr 1, 2002 14:03:43 GMT -5
so,..umm.....is it a dead link..... i mean when we print it out ......to our file... do we put <li>...is it in our list?....do we ignore it?? what? AHHHHHHHHHHHHHHHHHHHHHHHHH 30 hrs on this......going crazy.........
|
|
barp
Full Member
Posts: 28
|
map
Apr 1, 2002 14:05:31 GMT -5
Post by barp on Apr 1, 2002 14:05:31 GMT -5
Brutal, relative urls are handled the same way. perhaps use URL(url,string)...might help...?
|
|
|
map
Apr 1, 2002 14:43:32 GMT -5
Post by Brutal_Chicken on Apr 1, 2002 14:43:32 GMT -5
dun worrie bout it... the announcements n hints says ish okie if you are using a4's tree.. in your example as long as u dun recurse www.a.com/b you will b fine..read the announcements.. i think that's what it says there Oh dear God! I'm sitting here modifying my contains method so that if it finds the url inside the tree it would add an asterisk at the end so that I could run a toFile() method that will only display the urls that were entered. It'd work if I could get my 'map' to work... Thanks, I didn't understand that hint till now.
|
|
|
map
Apr 1, 2002 15:27:41 GMT -5
Post by gabbie on Apr 1, 2002 15:27:41 GMT -5
off topic a bit.... anyone know anything about subject post ? i m confused.. the calender books.. says we only apply to either asspe0108 for comp sci & eco specialist or asspe1688 for ALL other specialist ?? i tried to apply asspe1688 is only comper comp sci specialist... argh... someone tell me how it works please
|
|
|
map
Apr 1, 2002 15:45:21 GMT -5
Post by TheRock on Apr 1, 2002 15:45:21 GMT -5
|
|