NaviServer - programmable web server


[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_hrefs(n) 4.99.3 naviserver "NaviServer Built-in Commands"

Name

ns_hrefs - Returns URLs from anchor elements in a chunk of HTML

Table Of Contents

Synopsis

Description

This command finds the anchor elements (<A>) in a chunk of HTML, html, and returns a list of the URLs in those elements' href attributes.

COMMANDS

ns_hrefs html

EXAMPLES

   % set html {One good website is }