Skip to content

Commit 18abbf5

Browse files
authored
Merge pull request #74 from pschaub/patch-1
fix fascade usage in documentation
2 parents 9109b34 + bdbffe8 commit 18abbf5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ See [SimplePie Documentation](http://simplepie.org/wiki/) for full API usage doc
5353
The make() accepts 3 paramaters, the first parameter is an array of feed URLs, the second parameter is the max number of items to be returned per feed, and while the third parameter is a boolean which you can set to force to read unless content type not a valid RSS.
5454

5555
```php
56-
$feed = Feeds::make('http://feed/url/goes/here');
56+
$feed = \Feeds::make('http://feed/url/goes/here');
5757
```
5858

5959

@@ -65,7 +65,7 @@ $feed = Feeds::make('http://feed/url/goes/here');
6565
Controller:
6666
```php
6767
public function demo() {
68-
$feed = Feeds::make('http://blog.case.edu/news/feed.atom');
68+
$feed = \Feeds::make('http://blog.case.edu/news/feed.atom');
6969
$data = array(
7070
'title' => $feed->get_title(),
7171
'permalink' => $feed->get_permalink(),
@@ -80,7 +80,7 @@ or Force to read unless content type not a valid RSS
8080

8181
```php
8282
public function demo() {
83-
$feed = Feeds::make('http://blog.case.edu/news/feed.atom', true); // if RSS Feed has invalid mime types, force to read
83+
$feed = \Feeds::make('http://blog.case.edu/news/feed.atom', true); // if RSS Feed has invalid mime types, force to read
8484
$data = array(
8585
'title' => $feed->get_title(),
8686
'permalink' => $feed->get_permalink(),
@@ -96,7 +96,7 @@ or Force to read unless content type not a valid RSS
9696
Controller:
9797
```php
9898
public function demo() {
99-
$feed = Feeds::make([
99+
$feed = \Feeds::make([
100100
'http://blog.case.edu/news/feed.atom',
101101
'http://tutorialslodge.com/feed'
102102
], 5);
@@ -114,7 +114,7 @@ or Force to read unless content type not a valid RSS
114114

115115
```php
116116
public function demo() {
117-
$feed = Feeds::make(['http://blog.case.edu/news/feed.atom',
117+
$feed = \Feeds::make(['http://blog.case.edu/news/feed.atom',
118118
'http://tutorialslodge.com/feed'
119119
], 5, true); // if RSS Feed has invalid mime types, force to read
120120
$data = array(

0 commit comments

Comments
 (0)