Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

rss news feed over https

Posted on 2014-01-06
5
Medium Priority
?
808 Views
Last Modified: 2014-01-07
My website is  a https based site with a sealed certificate, I want to be able to extract news from the public news feed (i.e. BBC) but that is not possible as these feeds are http based.
I have searched alot and I found many solutions as :
    1- Download the contents first to your server and then display it to your serve.
     2- Configure the apache as proxy.
 My problems with these solutions are:
     1- They are not properly explained.
     2- The most important I do not know which solution has less security risk.
   Any advice please?
0
Comment
Question by:Ashraf Hassanein
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39759172
Please post a link to one of the RSS feeds you want to consume.  I think I can show you a strategy that will be workable.

If you want to learn a little more about RSS, this article may be enlightening.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_5356-Real-Simple-Syndication-RSS-with-a-Single-PHP-Script.html
0
 

Author Comment

by:Ashraf Hassanein
ID: 39759548
Hi Ray,
   Here is a sample link of what I want (My list is a bit more :-) ) :
           http://feeds.bbci.co.uk/news/rss.xml#
   What is the secured way to do so?
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39759570
"Secured" is a loaded term, with many subtle and layered aspects.  FWIW, Information Systems Security is a full time, four year college major at the University of Maryland.

RSS is nothing more than a specialized subset of XML.  The specification celebrated its 10th birthday last year.  It is available online here:
http://cyber.law.harvard.edu/rss/rss.html

You can read the RSS feed with cURL.  You can turn it into an object with SimpleXML and then you can parse it very easily.  You can republish it in whole or in part by simply writing the XML document to a flat file on your server and putting a link online.
0
 

Author Comment

by:Ashraf Hassanein
ID: 39763531
Hi Ray, As usual you are always correct the curl worked with me thanks for your help.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39763571
Great!  Thanks for the points and thanks for using EE, ~Ray
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question