>>>>> "You" ==   <[EMAIL PROTECTED]> writes:

You> I'm sure I'm overlooking something simple here. How would I
You> include the contents of a URL instead of a file with INSERT?

You> I have a page that syntax highlights a file or URL containing TT
You> directives. One user wants to embed only portions, for a sort of
You> tutorial, for instance, I would to do :

You> [% INSERT /source.asp?file=mf.html&start=10&end=14 %]

You> Any ideas?

Whatever you do, be sure that you *cache* the value in a standard web
manner, using things like LWP::Simple's "mirror" to a local file
rather than "get".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to