javascript - parsing directory listing of a webpage in angularjs -
i need parse directory listing of external webpage in angularjs. found few solutions problem, in php. there anyway can in angularjs?
i making $http.get call html. want parse html , convert json or xml. structure of html shown below
<head> </head> <body> <table> <tbody> <tr> <th> <img src = "abc.jpg"></th> .... </tr> </tbody> <table> </body>
$http.get
give html content of remote page. parsing has nothing angular. see this answer solutions, html form of xml.
once have built json structure, angular can nicely display it.
Comments
Post a Comment