GetURLs.jsx - access HTTP content from InDesign ExtendScript
ZIP•Jakson koti
Manage episode 156354342 series 1186227
Sisällön tarjoaa Kris Coppieters. Kris Coppieters tai sen podcast-alustan kumppani lataa ja toimittaa kaiken podcast-sisällön, mukaan lukien jaksot, grafiikat ja podcast-kuvaukset. Jos uskot jonkun käyttävän tekijänoikeudella suojattua teostasi ilman lupaasi, voit seurata tässä https://fi.player.fm/legal kuvattua prosessia.
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
1 jaksoa