Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

Desperately Need Help With RSS Feed and CORS

Hello HF,

We have a site being developed with bootstrap that we want to display our RSS feed on. The RSS feed is being hosted on a Drupal site we created explicitly for posting the feed items and back-end stuff.

We are trying to have the bootstrap site access the rss feed on drupal site using a php script that takes the feed and puts in on the bootsrap site. The only problem that is happening is we keep getting the error:
Code
XMLHttpRequest cannot load http://php.scripts.psu.edu/btl5101/getrss.php?q=Hamot. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.personal.psu.edu' is therefore not allowed access.

We have tried to allow access in the php file, the html file for the bootstrap site, and using a Drupal CORS module to allow access on the Drupal side. We could have done all of these wrong but we are not sure. If someone could tell us where to allow access and possible how to do that, we would greatly appreciate it.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Fox NewsJan 22, 2018 08:16 PM 2 258 Jan 22, 2018 08:16 PM
Last Post: Fox News
[Help] by robertkkOct 8, 2017 12:50 PM 0 205 Oct 8, 2017 12:50 PM
Last Post: robertkk
[Help] by moxcxDec 12, 2014 01:13 AM 0 120 Dec 12, 2014 01:13 AM
Last Post: moxcx