doc/book/en/07-rss-xml.en.txt
changeset 74 9a9fe515934d
equal deleted inserted replaced
69:58fd269f626b 74:9a9fe515934d
       
     1 .. -*- coding: utf-8 -*-
       
     2 
       
     3 RSS Channel
       
     4 ===========
       
     5 
       
     6 Assuming you have several blog entries, click on the title of the
       
     7 search box in the left column. A larger search box should appear. Enter::
       
     8 
       
     9    Any X ORDERBY D WHERE X is BlogEntry, X creation_date D
       
    10 
       
    11 and you get a list of blog entries.
       
    12 
       
    13 Click on your login at the top right corner. Chose "user preferences",
       
    14 then "boxes", then "possible views box" and check "visible = yes"
       
    15 before validating your changes.
       
    16 
       
    17 Enter the same query in the search box and you will see the same list,
       
    18 plus a box titled "possible views" in the left column. Click on
       
    19 "entityview", then "RSS". 
       
    20 
       
    21 You just applied the "RSS" view to the RQL selection you requested.
       
    22 
       
    23 That's it, you have a RSS channel for your blog.
       
    24 
       
    25 Try again with::
       
    26 
       
    27     Any X ORDERBY D WHERE X is BlogEntry, X creation_date D, 
       
    28     X entry_of B, B title "MyLife"
       
    29 
       
    30 Another RSS channel, but a bit more focused.
       
    31 
       
    32 A last one for the road::
       
    33 
       
    34     Any C ORDERBY D WHERE C is Comment, C creation_date D LIMIT 15
       
    35     
       
    36 displayed with the RSS view, that's a channel for the last fifteen
       
    37 comments posted.
       
    38 
       
    39 [WRITE ME]
       
    40 
       
    41 * show that the RSS view can be used to display an ordered selection
       
    42   of blog entries, thus providing a RSS channel
       
    43 
       
    44 * show that a different selection (by category) means a different channel
       
    45