<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" 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:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Services_Amazon_S3</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/19380" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17050" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/19380">
      <title>Services_Amazon_S3: Bug 19380 [Open] No $object-&gt;name</title>
      <link>http://pear.php.net/bugs/19380</link>
      <content:encoded><![CDATA[<pre>Services_Amazon_S3 Bug
Reported by phpmikey
2012-04-11T13:16:38+00:00
PHP: 5.2.16 OS: CentOS Package Version: 0.3.5

Description:
------------
$object-&gt;name does not exist. Closest thing is -&gt;key

Test script:
---------------
$s3     = Services_Amazon_S3::getAccount($key, $secret);
$bucket = $s3-&gt;getBucket($bucket);

echo '&lt;ul&gt;';
foreach ($bucket-&gt;getObjects() as $object) {
    echo &quot;&lt;li&gt;{$object-&gt;name}&lt;/li&gt;&quot;;
}
echo '&lt;/ul&gt;';

Expected result:
----------------
Only file name from -&gt;key

Actual result:
--------------
!$object-&gt;name</pre>]]></content:encoded>
      <description><![CDATA[<pre>Services_Amazon_S3 Bug
Reported by phpmikey
2012-04-11T13:16:38+00:00
PHP: 5.2.16 OS: CentOS Package Version: 0.3.5

Description:
------------
$object-&gt;name does not exist. Closest thing is -&gt;key

Test script:
---------------
$s3     = Services_Amazon_S3::getAccount($key, $secret);
$bucket = $s3-&gt;getBucket($bucket);

echo '&lt;ul&gt;';
foreach ($bucket-&gt;getObjects() as $object) {
    echo &quot;&lt;li&gt;{$object-&gt;name}&lt;/li&gt;&quot;;
}
echo '&lt;/ul&gt;';

Expected result:
----------------
Only file name from -&gt;key

Actual result:
--------------
!$object-&gt;name</pre>]]></description>
      <dc:date>2012-04-11T13:16:38+00:00</dc:date>
      <dc:creator>mike54721 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Services_Amazon_S3 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17050">
      <title>Services_Amazon_S3: Feature/Change Request 17050 [Open] Detect MIME-types in stream wrapper</title>
      <link>http://pear.php.net/bugs/17050</link>
      <content:encoded><![CDATA[<pre>Services_Amazon_S3 Feature/Change Request
Reported by schmidt
2010-02-01T02:17:35+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
When files uploaded to S3 are to be downloaded using a regular web browser, a proper Content-Type header should be specified during upload.

When files are saved using the stream wrapper interface, there is no standardized way for applications to specify the MIME-type, so the wrapper should somehow detect it.

The MIME_Type package supports MIME-type detection detection based on either the file contents (MIME_Type::autoDetect()) or file name extension (MIME_Type_Extension::getMIMEType()). I suggest basing the auto-detection on that package. I imagine that the user can specify which of the two methods to use.

In addition to this, the user may be able to specify a custom callback function that detects the MIME-type. Or he can manually supply a MIME-type using the stream context, like this (not tested):
$context = stream_context_create(array('s3' =&gt; array('content_type' =&gt; 'text/xml; charset=UTF-8')));
file_put_contents('s3://foo.xml', $data, 0, $context);</pre>]]></content:encoded>
      <description><![CDATA[<pre>Services_Amazon_S3 Feature/Change Request
Reported by schmidt
2010-02-01T02:17:35+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
When files uploaded to S3 are to be downloaded using a regular web browser, a proper Content-Type header should be specified during upload.

When files are saved using the stream wrapper interface, there is no standardized way for applications to specify the MIME-type, so the wrapper should somehow detect it.

The MIME_Type package supports MIME-type detection detection based on either the file contents (MIME_Type::autoDetect()) or file name extension (MIME_Type_Extension::getMIMEType()). I suggest basing the auto-detection on that package. I imagine that the user can specify which of the two methods to use.

In addition to this, the user may be able to specify a custom callback function that detects the MIME-type. Or he can manually supply a MIME-type using the stream context, like this (not tested):
$context = stream_context_create(array('s3' =&gt; array('content_type' =&gt; 'text/xml; charset=UTF-8')));
file_put_contents('s3://foo.xml', $data, 0, $context);</pre>]]></description>
      <dc:date>2010-02-01T02:18:55+00:00</dc:date>
      <dc:creator>schmidt &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Services_Amazon_S3 Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
