Click to See Complete Forum and Search --> : New to Java and need some help


MaelC3
May 18th, 2007, 11:08 AM
i just started working on my own site (through verizon) and i just ran across a problem that i can't make heads or tales of.

i have been trying to add the new york times headline tracker to my site. they have a utility that generates the code for you and supposedly all you have to do is copy and paste it in.

anyway it is java script that accesses a page on moreover.com (they provide all the support to the times for this thing) that has the latest headlines and the links to them. then it is supposed to arrange this information into a neat format for you to view. at the end it opens another page that just has a link back to the ny times page where you can sign up to get ny time on your web page.

so, i took the code and pasted it in but when i do the first section of code where it opens that page on moreover.com and sorts it into a readable format doesn't seem to work. i'm wondering if there is something wrong with the automatically generated code but as i really don't know much about it i can't tell.

i'm reluctant to put the code up b/c of their copywrite stuff but you can get to the utility they use here: http://www.nytimes.com/gst/nytheadlines.html

it takes no more than a few min to go through the enitre thing and then you can view the code.

any help you folks could give would be greatly appreciated.

dlorde
May 18th, 2007, 11:13 AM
Is this about Java or JavaScript? They are two completely different programming languages that for some mad reason happen to have the word 'Java' in common.

No matter how far down the wrong road you have gone, turn back now...
Turkish proverb

petes1234
May 18th, 2007, 11:15 AM
...anyway it is java script that accesses a page on moreover.com .....
You do know that this is a java forum, not a javascript forum, and you also know that javascript shares little in common with java other than a portion of its name (a big mistake by its creators if you ask me) and some c-like syntax.

Do you have a question that pertains to the java programming language?

MaelC3
May 18th, 2007, 11:17 AM
ah, well i wasn't aware of that. i'm completely new to all of this. where do you think i should look to get some help? never mind, i found the scripting forum. thanks for the help.