Topic
5 replies Latest Post - ‏2013-04-14T06:20:32Z by pcon
pcon
pcon
26447 Posts
ACCEPTED ANSWER

Pinned topic 282775

‏2013-04-14T06:20:31Z |
typical content.
  • pcon
    pcon
    26447 Posts
    ACCEPTED ANSWER

    test

    ‏2013-04-14T06:20:31Z  in response to pcon
    {"siteID":"1","body":"Great article, very helpful. I had a follow-up question: Is it possible to build a custom feed reader that parses feeds based on different keywords such that i can parse category\/industry specific news stories to different webpages on my website. For example if I'd like to have internet marketing news appear on the internet marketing web page of my site and search engine optimization appear on the search engine optimization webpage of my site. Is it possible to do so with a custom rss reader that parses the stories to be displayed on different sections of my site.","contentID":"282775","profileurl":"https:\/\/www.ibm.com\/developerworks\/community\/profiles\/user\/fakeid","commentID":"1250654400000","author":"fakeid","subject":"test","time":"19 August 2009"}
  • pcon
    pcon
    26447 Posts
    ACCEPTED ANSWER

    test

    ‏2013-04-14T06:20:31Z  in response to pcon
    {"siteID":"1","body":"Please can someone help me on how RSS feed results can be sent to a browser? instead of the one above that send it to a folder.","contentID":"282775","profileurl":"https:\/\/www.ibm.com\/developerworks\/community\/profiles\/user\/Jymo","commentID":"1288065600000","author":"Jymo","subject":"test","time":"26 October 2010"}
  • pcon
    pcon
    26447 Posts
    ACCEPTED ANSWER

    test

    ‏2013-04-14T06:20:32Z  in response to pcon
    {"siteID":"1","body":"Sending the RSS feed results to the browser is not the scope of this article. However, you can write your own function that is similar to \"store_rss_feed_results\". In your function, you can iterate over the feed results array and format it in HTML as per your need and simply echo the results. When you do that, your PHP server will send it to the browser.","contentID":"282775","profileurl":"https:\/\/www.ibm.com\/developerworks\/community\/profiles\/user\/Senthil_Nathan_NY","commentID":"1288152000000","author":"Senthil_Nathan_NY","subject":"test","time":"27 October 2010"}
  • pcon
    pcon
    26447 Posts
    ACCEPTED ANSWER

    test

    ‏2013-04-14T06:20:32Z  in response to pcon
    {"siteID":"1","body":"I have downloaded these three files but while executing i m getting this warning. How to overcome this and what is the effect of overall output if I neglect to fix this warning.\n\nWarning: simplexml_load_string(): Entity: line 764: parser error : Premature end of data in tag head line 4 in D:\\xampp\\php\\rss_feed_reader.php on line 275","contentID":"282775","profileurl":"https:\/\/www.ibm.com\/developerworks\/community\/profiles\/user\/upadhyeammit","commentID":"1296882000000","author":"upadhyeammit","subject":"test","time":"05 February 2011"}
  • pcon
    pcon
    26447 Posts
    ACCEPTED ANSWER

    test

    ‏2013-04-14T06:20:32Z  in response to pcon
    {"siteID":"1","body":"I executed the same PHP files using the PHP version installed on a Windows machine. It worked fine with no warnings or errors. For your reference, PHP version I used is shown below.\n\nPHP 5.3.3 (cli) (built: Aug 8 2010 16:01:55)\nCopyright (c) 1997-2010 The PHP Group\n\nYou have to verify if the warning you are getting on line 275 of rss_feed_reader.php affects the feed results. Please check your rss feed aggregator result files in your feed_results directory.","contentID":"282775","profileurl":"https:\/\/www.ibm.com\/developerworks\/community\/profiles\/user\/Senthil_Nathan_NY","commentID":"1296968400000","author":"Senthil_Nathan_NY","subject":"test","time":"06 February 2011"}