<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Webthumb API additions</title>
	<atom:link href="http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/</link>
	<description>The weblog of Joshua Eichorn, AJAX, PHP and Open Source</description>
	<lastBuildDate>Mon, 30 Nov 2009 18:24:26 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tester</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-681899</link>
		<dc:creator>Tester</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-681899</guid>
		<description>Argh, couldn&#039;t you add more PHP docs to your goddamn API?!</description>
		<content:encoded><![CDATA[<p>Argh, couldn&#8217;t you add more PHP docs to your goddamn API?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soren</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-648001</link>
		<dc:creator>Soren</dc:creator>
		<pubDate>Wed, 25 Mar 2009 20:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-648001</guid>
		<description>I agree with ad. 16 - It would be really nice if you could chose a notification that just include an url to the specified thumb.</description>
		<content:encoded><![CDATA[<p>I agree with ad. 16 &#8211; It would be really nice if you could chose a notification that just include an url to the specified thumb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-642228</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Mon, 16 Mar 2009 22:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-642228</guid>
		<description>Marc: I just saw your post, I do have some additions to notify that are in testing, give me an email if you want to help test/shape the new features.</description>
		<content:encoded><![CDATA[<p>Marc: I just saw your post, I do have some additions to notify that are in testing, give me an email if you want to help test/shape the new features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Palmer</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-635013</link>
		<dc:creator>Marc Palmer</dc:creator>
		<pubDate>Thu, 26 Feb 2009 16:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-635013</guid>
		<description>Josh... I think it would be much nicer if the notify callback included the URLs of the thumnails, or at least the base URL.

This also gives you more options about where this stuff is stored without breaking all the existing clients - eg temporarily shift files up to Amazon S3 or to some other temporary domain.

eg post to the notify callback some XML data with thumbnail type + url pairs.</description>
		<content:encoded><![CDATA[<p>Josh&#8230; I think it would be much nicer if the notify callback included the URLs of the thumnails, or at least the base URL.</p>
<p>This also gives you more options about where this stuff is stored without breaking all the existing clients &#8211; eg temporarily shift files up to Amazon S3 or to some other temporary domain.</p>
<p>eg post to the notify callback some XML data with thumbnail type + url pairs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-587626</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-587626</guid>
		<description>Done and done! :)</description>
		<content:encoded><![CDATA[<p>Done and done! <img src='http://blog.joshuaeichorn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-587564</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Thu, 06 Nov 2008 19:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-587564</guid>
		<description>Drew: i&#039;ll see if i can add a flag to change to post instead of get, can you send me an email josh@bluga.net so i don&#039;t forget</description>
		<content:encoded><![CDATA[<p>Drew: i&#8217;ll see if i can add a flag to change to post instead of get, can you send me an email <a href="mailto:josh@bluga.net">josh@bluga.net</a> so i don&#8217;t forget</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-587552</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Thu, 06 Nov 2008 18:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-587552</guid>
		<description>Oops. The first example url above is suppose to be
/notifiers/webthumb/{job_id}</description>
		<content:encoded><![CDATA[<p>Oops. The first example url above is suppose to be<br />
/notifiers/webthumb/{job_id}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-587512</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Thu, 06 Nov 2008 16:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-587512</guid>
		<description>Hi Josh,

I am currently implementing your script on a Code Igniter framework, which means no query strings (or their are, but they are in directory path format). Currently your notify callback will append the jobid to the url, which will result in a 404 not found for me. 

Even if you would still like to do it via post, perhaps you could come up with a way to format the way in which it is returned?

If I could get it to post back as in the following it would be good to go as well:
/notifiers/webthumb/

-or-

Is it possible to POST this data to the notify_url rather then GET?

Sending the POST data  to the url
/notifiers/webthumb/

would be another option.

Thoughts?</description>
		<content:encoded><![CDATA[<p>Hi Josh,</p>
<p>I am currently implementing your script on a Code Igniter framework, which means no query strings (or their are, but they are in directory path format). Currently your notify callback will append the jobid to the url, which will result in a 404 not found for me. </p>
<p>Even if you would still like to do it via post, perhaps you could come up with a way to format the way in which it is returned?</p>
<p>If I could get it to post back as in the following it would be good to go as well:<br />
/notifiers/webthumb/</p>
<p>-or-</p>
<p>Is it possible to POST this data to the notify_url rather then GET?</p>
<p>Sending the POST data  to the url<br />
/notifiers/webthumb/</p>
<p>would be another option.</p>
<p>Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-491089</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-491089</guid>
		<description>epto: I am looking into adding json support in the future, but its not like the xml were working with is complex so i don&#039;t see a huge win for anyone by supporting it and there are more interesting features to work on.</description>
		<content:encoded><![CDATA[<p>epto: I am looking into adding json support in the future, but its not like the xml were working with is complex so i don&#8217;t see a huge win for anyone by supporting it and there are more interesting features to work on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: epto</title>
		<link>http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/comment-page-1/#comment-491083</link>
		<dc:creator>epto</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/#comment-491083</guid>
		<description>I think: 
json or serialize are better than xml in this application!
This script is simple and it work.

sid: is sthe filename

&lt;?
$sid=@$_GET[&#039;sid&#039;];
$id=@$_GET[&#039;id&#039;];

$savepath=&quot;/mysavepath&quot;;
$path=substr($id,-2).&#039;/&#039;.substr($id,-4,-2).&#039;/&#039;.substr($id,-6,-4);
$url=&quot;http://webthumb.bluga.net/data/$path/$id.jpg&quot;;
$data=file_get_contents($url);
if ($data!==FALSE AND strpos($data,&#039;OK

Get this script as example and test
Don&#039;t lost the money and time with other!</description>
		<content:encoded><![CDATA[<p>I think:<br />
json or serialize are better than xml in this application!<br />
This script is simple and it work.</p>
<p>sid: is sthe filename</p>
<p>&lt;?<br />
$sid=@$_GET['sid'];<br />
$id=@$_GET['id'];</p>
<p>$savepath=&#8221;/mysavepath&#8221;;<br />
$path=substr($id,-2).&#8217;/&#8217;.substr($id,-4,-2).&#8217;/&#8217;.substr($id,-6,-4);<br />
$url=&#8221;http://webthumb.bluga.net/data/$path/$id.jpg&#8221;;<br />
$data=file_get_contents($url);<br />
if ($data!==FALSE AND strpos($data,&#8217;OK</p>
<p>Get this script as example and test<br />
Don&#8217;t lost the money and time with other!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
