I have analyzed the following RSS ( http://timesofindia.indiatimes.com/rss.cms ) in this way -
My code is
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>News Parser</title> <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <link rel="stylesheet" href="css/jquery.mobile-1.4.2.min.css" /> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/jquery-1.9.1.min.js"></script> <script src="js/jquery.mobile-1.4.2.min.js"></script> <script type="text/javascript"> var url1 = "https://www.readability.com/api/content/v1/parser?url="; var testurl = "http://timesofindia.indiatimes.com/rss.cms"; var urltoken = "&token=18ba7d424a0d65facdaea8defa356bc3e430f8ce"; var finalurl = url1 + testurl + urltoken; console.debug(finalurl) $(function() { $.ajax( { url:finalurl, dataType: "json", contentType:"application/json", success: function (data) { console.log(data); console.log(data.content); </script> <style type="text/css"> p { color: green; } </style> </head> <body> </body> </html>
I get the contents of the RSS feed like this -

Now I want to parse a specific subcategory of RSS feeds such as SPort, Technology, etc. How can I do this if im passes a specific URL to a subcategory that is ** http://timesofindia.feedsportal.com/c/33039/f/533921/index.rss , http://www.thehindu.com / sport /? service = rss ,
I get a blank window.
Please suggest me how can I parse a specific subcategory of RSS feeds ?
javascript jquery-mobile cordova
ChenSmile
source share