ToonMariner Posted February 7, 2007 Share Posted February 7, 2007 Hi people... I hope this relatively simple... I am usign DOMXML to manage an rss feed. The feed started off as a nice neat handcoded rss feed with all the tags nested and easily readable. The feed is now managed by php and the xml file is opened and updated via teh DOMXML. The 'problem' is that the out put does not maintain the nested structure of the file; there appears to be no method of using tabs and linefeeds in the DOMXML. If anyone knows of a method that I could use to achieve this then please please let me know. Many thanks. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 8, 2007 Author Share Posted February 8, 2007 #bump# anyone? Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 If I understand you correctly, you wanted to print the RSS the way browser display it? like FireFox display a cnn's rss? point your browser to http://rss.cnn.com/rss/cnn_topstories.rss Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 8, 2007 Author Share Posted February 8, 2007 NO sorry hvle its more the actual string in the file.. I need to place tabs and line returns etc. You know how you can view the html source - well if people get to see my rss source I want it all nested nicely... Does that make sense? Quote Link to comment Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 Have you tried DOM instead of DOM XML? DOM XML is out dated and was not included in PHP 5. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.