Chris@0: # Consuming a Single Atom Entry Chris@0: Chris@0: Single Atom `` elements are also valid by themselves. Usually the URL for Chris@0: an entry is the feed's URL followed by `/`, such as Chris@0: `http://atom.example.com/feed/1`, using the example URL we used above. This Chris@0: pattern may exist for some web services which use Atom as a container syntax. Chris@0: Chris@0: If you read a single entry, you will have a `Zend\Feed\Reader\Entry\Atom` object. Chris@0: Chris@0: ## Reading a Single-Entry Atom Feed Chris@0: Chris@0: ```php Chris@0: $entry = Zend\Feed\Reader\Reader::import('http://atom.example.com/feed/1'); Chris@0: echo 'Entry title: ' . $entry->getTitle(); Chris@0: ``` Chris@0: Chris@0: > ## Importing requires an HTTP client Chris@0: > Chris@0: > To import a feed, you will need to have an [HTTP client](zend.feed.http-clients) Chris@0: > available. Chris@0: > Chris@0: > If you are not using zend-http, you will need to inject `Reader` with the HTTP Chris@0: > client. See the [section on providing a client to Reader](http-clients.md#providing-a-client-to-reader).