4

I have html5 + javascript +phone-gap app for ios. I need to connect to a protected url and pass HTTP basic authentication in base64 to get a rss feed. Am not using jquery in the app and look good advice and best practices to get this done.

Thank you

MPelletier
  • 15,673
  • 14
  • 84
  • 131
Droid646197
  • 65
  • 2
  • 2
  • 8

1 Answers1

0

Maybe this article helps you; Basic javascript Http authentification code

There's a few tips to help you improve a basic javascript http authentification code.

Community
  • 1
  • 1
vrunoa
  • 767
  • 8
  • 15
  • I have looked at this answer, though it did not solve my problem. So that is why i asked the question. Thank you for taking the time to help. All the best... Droid646197 – Droid646197 Jan 14 '12 at 05:06
  • Do you want to use javascript to read the rss or make a phonegap plugin ? Maybe I could help you make this done – vrunoa Jan 16 '12 at 19:58
  • vrunoa, I think the phonegap plugin would be the best method. I can use the Google-feed api to read a rss feed. I need to send my user and password to a protected server to pull the xml base feed. Thank you. – Droid646197 Jan 18 '12 at 02:12