To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Use this VI to programmatically discover http links contained in a web page.
Description
This example program uses the URL Get Document VI to return the HTML content of a webpage as a string. It then searches in the HTML content to return all the links it contained in an array.
Requirements
Steps to Implement or Execute Code
1. Insert the URL
2. Run VI
3. Indicators show HTML contents and Links founded
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
by the way .. what for ?
Mostly to demonstrate string parsing. A little because it was just fun. A little more because it was a start on creating a useful tool for showing a webpage's relation to other pages within a large online space such as ni.com. With a core structure similar to this VI, you can create a relational hierarchy that looks similar to the VI hierarchy and helps with content placement for products, content linking for relevant searches and support, etc...
hmm. yeah .. cool