Skip to content

Commit 53d2e3e

Browse files
committed
adding package loading commands.
1 parent 2bee27c commit 53d2e3e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Chapters/14-RSS/rss.pillar

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,18 @@ The RSS XML format is very much like XHTML, but much simpler. As standardised in
3131

3232
!!! Creating a News Feed
3333

34-
There is a Seaside package extension that helps us to build such feeds in a manner similar to what we used to build XHTML for component rendering. Let's create a news feed for our todo items.
34+
There is a Seaside package extension that helps us to build such feeds in a manner similar to what we used to build XHTML for component rendering.
35+
36+
Load the packages ==RSS-Core==, ==RSS-Examples==, and ==RSS-Tests-Core== from the Seaside repository.
37+
38+
[[[
39+
Metacello new
40+
githubUser: 'SeasideSt' project: 'Seaside' commitish: 'master' path: 'repository';
41+
baseline: 'Seaside3';
42+
loads: #('RSS' 'RSS Tests' 'RSS Examples')
43+
]]]
44+
45+
Let's create a news feed for our todo items.
3546

3647
""Define the Feed Component."" The package defines a root class named ==RRComponent== that allows you to describe both the news feed channel (title, description, language, date of publication) and also the news items. Therefore, the next step is to create a new subclass of ==RRComponent== named ==ToDoRssFeed==. This will be the entry point of our feed generator. In our example, we don't need extra instance variables.
3748

0 commit comments

Comments
 (0)