I am Creating a web application that will get homework from schools website. I have been creating rss feeds for the website using dapper Creating an rss feed converting that into html and then putting that into an Iframe on my website. I think there has to be a better way to do t开发者_如何学Gohis. I don't care what language this would be done in but i would prefer to do it client-side with php or javascript. I'm intermidiete level php and not so good at java script. If you could provide detailed explanation with some code that would be great. also I have legal permission from my school which will be the first for this to go live to get the homework.
I'm assuming you are about create an php application to retrieve the rss from external site (which already have a specific url). Well, i think its better to build a public API first at the source app/external site, to get more multimedia support.
But if you're have no problem with parsing an xml format into html directly, then you can use cURL instead iFrame(or if you didnt have cURL installed in your php, you can modify lil bit and use my Proxy Library,a PHP class which enables you to make call to internal and external site with general HTTP request by opening a socket connection to the remote host, originally writen as Codeigniter Library.)
That way, it will be easier to presenting a html view/page rather than proccess it via iFrame.
精彩评论