Opened 14 years ago

Last modified 13 years ago

#3331 new defect

Support URLs in template [include ...] tag.

Reported by: sdlime Owned by: hobu
Priority: normal Milestone:
Component: MapServer CGI Version: unspecified
Severity: normal Keywords:
Cc:

Description

This would allow you to build a call to an external service via a template and retrieve that content for presentation. For example:

[include src="http://mapserver.org/cgi-bin/getstats?id=[ID]"]

Steve

Change History (2)

comment:1 by sdlime, 14 years ago

Look for processIncludeTag() in maptemplate.c...

comment:2 by sdlime, 13 years ago

Hi Howard: I believe we bartered this fix for something projection related at the sprint. Turns out it would be *really* useful functionality. I've not used libcurl. Even if you don't have time to fully implement some pseudo code would help.

Thanks!

Steve

Note: See TracTickets for help on using tickets.