You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`\Suin\RSSWriter` is yet another simple RSS writer library for PHP 5.3 or later. This component is Licensed under MIT license.
3
+
`\Suin\RSSWriter` is yet another simple RSS writer library for PHP 5.4 or later. This component is Licensed under MIT license.
4
4
5
5
This library can also be used to publish Podcasts.
6
6
7
7
The build status of the current master branch is tracked by Travis CI: [](http://travis-ci.org/suin/php-rss-writer)
8
8
9
9
10
-
Implementation:
10
+
## Quick demo
11
+
11
12
12
13
```php
13
-
<?php
14
14
$feed = new Feed();
15
15
16
16
$channel = new Channel();
17
17
$channel
18
-
->title("Channel Title")
19
-
->description("Channel Description")
20
-
->url('http://blog.example.com')
21
-
->appendTo($feed);
22
-
23
-
// RSS item
18
+
->title('Channel Title')
19
+
->description('Channel Description')
20
+
->url('http://blog.example.com')
21
+
->language('en-US')
22
+
->copyright('Copyright 2012, Foo Bar')
23
+
->pubDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
24
+
->lastBuildDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
0 commit comments