art15 Posted October 19, 2008 Share Posted October 19, 2008 Hi, I have a php script which is formatted to work as a rss feed file. I am able to include this feed file on my other website using one include file which has a class and other .rat file which is a template file. This works for me, however if I want to allow a webmaster to put this feed on his website by using some simple one line code technique such as: <script type="text/javascript" src="http://www.freshcontent.net/freebies_news_feed.php"></script> How do I do this? Thanks Link to comment https://forums.phpfreaks.com/topic/129155-include-for-free-rss-content/ Share on other sites More sharing options...
Chicken Little Posted October 20, 2008 Share Posted October 20, 2008 Try it directly <?php include("http://www.site.com/file.php"); ?> Link to comment https://forums.phpfreaks.com/topic/129155-include-for-free-rss-content/#findComment-670094 Share on other sites More sharing options...
dropfaith Posted October 20, 2008 Share Posted October 20, 2008 http://www.rss-info.com/en_rssinclude-simple.html is a nice site for them to get the code for they can then customize the colors and crap on their own makes there ability to do it alot better as it will blend better Link to comment https://forums.phpfreaks.com/topic/129155-include-for-free-rss-content/#findComment-670105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.