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