I have two sites behind my company's Intranet, which requires username & password to logon (it uses single-sign-on service). Site 1 is based on Drupal and Site 2 is plain HTML website. Both of these are on different servers, and Site 1 offers RSS feeds.

Now my question is, how do I read feeds from Site 1 and display them on Site 2? I tried all the suggested ways in this forum, like http://username:password@mysite, but always I got an error - unable to parse feeds.

Could someone please help me? Many many thanks in advance.

Comments

mkalbere’s picture

This king of authentication can pass a htpasswd. If you which to read content behind a drupal authentication you should use tokenauth (http://drupal.org/node/196765

sandytosh’s picture

Hi mkalbere,

Thanks for your tip. However, I do not have any rights to modify/install any of the modules. The only thing I can do is to tweak with the URL, or pass some parameters through the URL (or anything of that sort). Please let me know if there is any way to solve my issue.

Thanks.

-Sandy
http://niche-technologies.blogspot.com

mkalbere’s picture

uhm ,,, so probably the only way is to make the exported feed (and the content ) publicly available in drupal . And then protect you drupal with htpasswd.

Modifing the url, would have a sens if you could modify code, for example by creating a module implementing hook_access http://api.drupal.org/api/function/hook_access/5