GetURLs.jsx - access HTTP content from InDesign ExtendScript - podcast episode cover

GetURLs.jsx - access HTTP content from InDesign ExtendScript

Jan 02, 2013
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Note added 9-May-2017: I've revisited GetURL and made a more modern version. More info here:

http://coppieters.nz/?p=133

----

In 2008, I created a sample InDesign ExtendScript called GetURLs.jsx. GetURLs.jsx is a limited http client; it allows you to fetch http URLs straight from an InDesign ExtendScript.
I used the script as sample material to demonstrate a programming technique (state machines).
It turned out the script was quite popular in its own right; I've been adding little tweaks to it over time.
The latest version has been enhanced to handle redirections (when the server returns a status code HTTP 1.0/301 Moved Permanently). Hope it works for you!

The original blog post is here:

http://rorohiko.blogspot.co.nz/2008_07_01_archive.html

and the download link is here:

http://www.rorohiko.com/podcast/geturl.zip

Cheers,

Kris
For the best experience, listen in Metacast app for iOS or Android