Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

Hey buddies, I need some help with javascript and XML. I wanna create a simple local page to store links with keywords and, later, search for these pages with the keywords. Everything will be local, on a shared folder where only people on the network will be able to access. I don't want to use any server technology, to be the simplest possible. If anyone can help me, I'd be grateful!

OpenStudy (anonymous):

hey can u clarify me this "people on the network will be able to access" bcoz when u have everything local then wats the need for network?

OpenStudy (anonymous):

sorry, I wasn't clear enough. People inside the corporative network will have access to this file on a shared folder. I wanted to this file to change a xml file on the same shared folder. A bit clearer now?

OpenStudy (shadowfiend):

You can't really do this without a middle man server technology. JavaScript, as a rule, cannot access local files. You may be able to use a Firefox extension, which are also written in JS but with additional APIs, to do that access.

OpenStudy (anonymous):

Damn.. Even if all files are local and stored on the same folder? No workaround?

OpenStudy (anonymous):

not sure but, try google desktop

OpenStudy (anonymous):

I am pretty sure XML and Javascript can work for it. You can store the keywords and links on XML, and use DOM on JS to find the keywords and get the correspondent link. The xml should be something like: <links> <link> <url> http://www.test.com </url> <keywords> <k1>test</k1> <k2>study</k2> </keywords> </url> </link> </links> Then to search using DOM would be easy. Did you understand?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!