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

Popular posts from this blog

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -

SQL Server - MyCTE query based on 24 hour period (next day) -