Skip to content

Commit de25f01

Browse files
committed
Change example
Signed-off-by: suin <[email protected]>
1 parent 938b067 commit de25f01

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This library can also be used to publish Podcasts.
66

77
[![Latest Stable Version](https://poser.pugx.org/suin/php-rss-writer/v/stable)](https://packagist.org/packages/suin/php-rss-writer)
8-
[![Total Downloads](https://poser.pugx.org/suin/php-rss-writer/downloads)](https://packagist.org/packages/suin/php-rss-writer)
8+
[![Total Downloads](https://poser.pugx.org/suin/php-rss-writer/downloads)](https://packagist.org/packages/suin/php-rss-writer)
99
[![Daily Downloads](https://poser.pugx.org/suin/php-rss-writer/d/daily)](https://packagist.org/packages/suin/php-rss-writer)
1010
[![License](https://poser.pugx.org/suin/php-rss-writer/license)](https://packagist.org/packages/suin/php-rss-writer)
1111
[![Build Status](https://travis-ci.org/suin/php-rss-writer.svg?branch=master)](https://travis-ci.org/suin/php-rss-writer)
@@ -37,7 +37,7 @@ $item
3737
->description('<div>Blog body</div>')
3838
->contentEncoded('<div>Blog body</div>')
3939
->url('http://blog.example.com/2012/08/21/blog-entry/')
40-
->author('Hidehito Nozawa')
40+
->author('John Smith')
4141
->pubDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
4242
->guid('http://blog.example.com/2012/08/21/blog-entry/', true)
4343
->preferCdata(true) // By this, title and description become CDATA wrapped HTML.
@@ -78,7 +78,7 @@ Output:
7878
<content:encoded><![CDATA[<div>Blog body</div>]]></content:encoded>
7979
<guid>http://blog.example.com/2012/08/21/blog-entry/</guid>
8080
<pubDate>Tue, 21 Aug 2012 10:50:37 +0000</pubDate>
81-
<author>Hidehito Nozawa</author>
81+
<author>John Smith</author>
8282
</item>
8383
<item>
8484
<title>Some Podcast Entry</title>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"license": "MIT",
1414
"authors": [
1515
{
16-
"name": "Hidehito Nozawa aka Suin",
16+
"name": "suin",
1717
"email": "[email protected]"
1818
}
1919
],

docker-compose.development.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker-compose.yml

examples/simple-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
->description('<div>Blog body</div>')
3333
->contentEncoded('<div>Blog body</div>')
3434
->url('http://blog.example.com/2012/08/21/blog-entry/')
35-
->author('Hidehito Nozawa')
35+
->author('John Smith')
3636
->pubDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
3737
->guid('http://blog.example.com/2012/08/21/blog-entry/', true)
3838
->preferCdata(true) // By this, title and description become CDATA wrapped HTML.

tests/Suin/RSSWriter/ItemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function testAsXML()
184184
'length' => 4992,
185185
'type' => 'audio/mpeg'
186186
],
187-
'author' => 'Hidehito Nozawa aka Suin'
187+
'author' => 'John Smith'
188188
];
189189

190190
$item = new Item();
@@ -230,7 +230,7 @@ public function testAsXML_false_permalink()
230230
'length' => 4992,
231231
'type' => 'audio/mpeg'
232232
],
233-
'author' => 'Hidehito Nozawa aka Suin'
233+
'author' => 'John Smith'
234234
];
235235

236236
$item = new Item();

0 commit comments

Comments
 (0)