<?xml version="1.0" encoding="ISO-8859-15"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.shapeways.com/forum/index.php">
  <title>Shapeways: Bring your creativity to life in 3D</title>
  <link>http://www.shapeways.com/forum/index.php</link>
  <description>Shapeways: Bring your creativity to life in 3D</description>
  <items>
    <rdf:Seq>
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36054&amp;th=6633#msg_36054" />
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36068&amp;th=6633#msg_36068" />
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36109&amp;th=6633#msg_36109" />
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36112&amp;th=6633#msg_36112" />
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36127&amp;th=6633#msg_36127" />
		</rdf:Seq>
	</items>
</channel>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36054&amp;th=6633#msg_36054">
  <title>Model URL after upload</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36054&amp;th=6633#msg_36054</link>
  <description><![CDATA[Hello all,<br />
<br />
is there a way to get the URL of an uploaded model? I think about the product details page that is sent by e-mail when the model is ready.<br />
<br />
There should be an API call that get's a models status when sending a session ID like &quot;getModelPrice&quot; does.<br />
<br />
Am i missing something?<br />
<br />
Em]]></description>
  <dc:subject></dc:subject>
  <dc:creator>emnullfuenf</dc:creator>
  <dc:date>2011-10-06T15:59:31-00:00</dc:date>
</item>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36068&amp;th=6633#msg_36068">
  <title>Re: Model URL after upload</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36068&amp;th=6633#msg_36068</link>
  <description><![CDATA[there is but it is not documented.  let me see if I can find it.]]></description>
  <dc:subject></dc:subject>
  <dc:creator>mctrivia</dc:creator>
  <dc:date>2011-10-06T18:38:37-00:00</dc:date>
</item>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36109&amp;th=6633#msg_36109">
  <title>Re: Model URL after upload</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36109&amp;th=6633#msg_36109</link>
  <description><![CDATA[Got it:<br />
$result = $this-&gt;client-&gt;submitModel($this-&gt;session, $model, null, 'generated-creator');<br />
<br />
Macouno already documented it here:<br />
<a href="http&#58;&#47;&#47;www.shapeways.com/forum/index.php?t=msg&amp;&amp;th=6203&amp;goto=33090#msg_33090" target="_blank"> http://www.shapeways.com/forum/index.php?t=msg&amp;&amp;th=6 203&amp;goto=33090#msg_33090</a>]]></description>
  <dc:subject></dc:subject>
  <dc:creator>emnullfuenf</dc:creator>
  <dc:date>2011-10-07T06:35:12-00:00</dc:date>
</item>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36112&amp;th=6633#msg_36112">
  <title>Re: Model URL after upload</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36112&amp;th=6633#msg_36112</link>
  <description><![CDATA[Yeah here's a bit of my code, because I think more people will be looking for this...<br />
<br />
Of course I make sure the fileName is nicely formatted first. I do that using this function: <a href="http&#58;&#47;&#47;www.macouno.com/2010/03/17/make-a-safe-url-2/" target="_blank">make-a-safe-url</a> It may be for urls, but works great for making sure filenames are formatted correctly as well.<br />
<br />
So inside the uploadFile function (in SoapAPI.php) you do this:<br />
<br />
<div class="pre"><pre>$result = $this-&gt;client-&gt;submitModel($this-&gt;session, $model, null, 'generated-creator');</pre></div><br />
<br />
And you use the function like this...<br />
<br />
<div class="pre"><pre>$result =  $connection-&gt;uploadFile($fileName);
		
if(is_numeric($result)){
	
	$nr = intval($result);
	$link = 'http://www.shapeways.com/model/'.$nr.'/'.$fileName.'.html';
}</pre></div>]]></description>
  <dc:subject></dc:subject>
  <dc:creator>macouno</dc:creator>
  <dc:date>2011-10-07T08:00:43-00:00</dc:date>
</item>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36127&amp;th=6633#msg_36127">
  <title>Re: Model URL after upload</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=36127&amp;th=6633#msg_36127</link>
  <description><![CDATA[The filename on safeways is fake.  You just need up to the / after model number.]]></description>
  <dc:subject></dc:subject>
  <dc:creator>mctrivia</dc:creator>
  <dc:date>2011-10-07T11:11:20-00:00</dc:date>
</item>
</rdf:RDF>