|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
rss translator with Apache 2.0.49
Hello all,
Here's my setup... - Apache 2.0.49 on XP Pro - A html page which has an external link to a javascript file (RSS translator http://www.puuba.com/translator.html) located in root/scripts When I view my html page running on the Apache server the javascript file does not seem to load, but when I load the html file using File->Open in Internet Explorer it displays a security message saying it is interacting with external sites is this ok? click yes and it works fine. I am assuming that I need to do something in httpd.conf to allow scripts to execute and contact external websites? Any ideas will be appreciated poncenby |
|
#2
|
|||
|
|||
|
Quote:
No, it is a browser security feature. You can (probably) disable it there, but you really should not. JavaScript is (usually) not run server-side, so there is no server-side configuration options for it other than defining a way how to deliver them to the client. hth, M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Heh, I have the easiest solution...
Just copy that javascript to your own domain. Problem solved; you dont have to snag cross-domain. Coincidentally: That's my site and my script. I sorta asked for everyone to do that anyway, to copy it to your own domain, for my own bandwidth. Glad you found a use for it. |
|
#4
|
|||
|
|||
|
hello there, just an ickle bit of help needed...
I have copied the javascript file (translator.js) to my webserver but it doesn't work.
I am assuming that in the html page which calls the javascript readRSS function i can pass it a url of an rss log. e.g. try {readRSS(unescape("http://www.theregister.co.uk/headlines.rss"),5);} When I try the code above is doesn't work when accessing the file on my webserver but if i copy the website to my hard drive and view it locally then it works! bizarre! If this is not possible to specify urls then fair enough, but if it should work then do you have any pointers? This rss script is the best on the net by the way. I've tried many other (some including rebol code!) and nothing comes close. Keep it up! cheers poncenby |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > rss translator with Apache 2.0.49 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|