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

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -