htmlextractimages
PAGE
,
LINKS

The htmlextractimages statement extracts the image URLs from an HTML page.


Parameters

This statement has two parameters:

page – HTML Page.

links – field or variable that will contain a carriage return delimited list of image URLs.


Description

This statement extracts the image URLs from an HTML page. This example assumes the current database has a field named Page that contains HTML. If there are any images in this page (<img tags), the image URLs will be put into the mylinks variable.

local mylinks
htmlextractimages Page,mylinks

The output will be something like this:

http://www.somesite.com/photo3872.jpg
http://www.somesite.com/photo1937.jpg
http://www.somesite.com/photo2091.jpg

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.