Follow

Validating External Content

Question

How can I make sure my Get Tag is grabbing the expected content?

Answer

When using a Get Tag, you can define conditions that must be met in order to grab and send the expected content.  These conditions include:

  • &must_contain="[string]"
  • &must_not_contain="[string]"

For example:

%%smartget url="http:// www.yahoo.com/index.html"&must_not_contain="Page not found"%%

It is also possible to have multiple conditions on the same command, for example:

%%smartget url="http:// www.yahoo.com/index.html"&must_not_contain="Page not found"&must_contain="All rights reserved"%%

 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk