I'm writing a small application where I need to get the linked resources from a web page eg
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://name.wordpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://name.wordpress.com/wp-includes/wlwmanifest.xml" />
the easiest way would be to parse the page and get what I wanted, but I'm looking best way to do it.
Is there any direct way to get RDS content? Any suggestions, please?
If this is a small project and you already have working code to parse the page, use it.
If you are looking for a better/recommended way to parse the HTML of a page, consider using something more mature like the Html Agility Pack .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.