GetURLs.jsx - access HTTP content from InDesign ExtendScript
ZIP•Episode home
Manage episode 156354342 series 1186227
Content provided by Kris Coppieters. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Kris Coppieters or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
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
…
continue reading
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
One episode