Changeset 1108:39439c2c8d59 for doc

Show
Ignore:
Timestamp:
02/18/07 19:06:35 (23 months ago)
Author:
sqrbass@…
Branch:
default
Message:

changed rss

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/RSS

    r1102 r1108  
    55__copyright__ = 'this file is in the public domain' 
    66 
    7 # first check if you have RSS permission 
     7first check if you have RSS permission 
     8~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     9:: 
    810 
    911    <dunk> !perms 
    1012    <gozerbot> you have permissions = USER .. OPER 
    1113 
    12 # if this is not the case add it 
     14if this is not the case add it 
     15~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     16:: 
    1317 
    1418    <dunk> !setperms dunk rss 
    1519    <gozerbot> ok 
    1620 
    17 # see which rss commands the bot has with 
     21see which rss commands the bot has with 
     22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     23:: 
    1824 
    1925    <dunk> !apro rss 
     
    2430               rss-additemslist 
    2531 
    26 # you will want to add a url to the RSS system, we use slashdot as an example 
     32you will want to add a url to the RSS system, we use slashdot as an example 
     33~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     34:: 
    2735 
    2836    <dunk> !rss-add slash http://rss.slashdot.org/Slashdot/slashdot 
    2937    <gozerbot> ok 
    3038 
    31 # see if the url works 
     39see if the url works 
     40~~~~~~~~~~~~~~~~~~~~ 
     41:: 
    3242 
    3343    <dunk> !rss-get slash 
     
    3949               Subpoenas 
    4050 
    41 # to let the bot check for updates 
     51to let the bot check for updates 
     52~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     53:: 
    4254 
    4355    <dunk> !rss-watch slash 
    4456    <gozerbot> watcher thread started 
    4557 
    46 # see if the thread is running 
     58see if the thread is running 
     59~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     60:: 
    4761 
    4862    <dunk> !rss-running 
    4963    <gozerbot> 1) slash ['#dunkbots'] 
    5064 
    51 # if you want to stop watching 
     65if you want to stop watching 
     66~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     67:: 
    5268 
    5369    <dunk> !rss-stopwatch slash 
    5470    <gozerbot> ok 
    5571 
    56 # see what other data the rss feed has to offer 
     72see what other data the rss feed has to offer 
     73~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     74:: 
    5775 
    5876    <dunk> !rss-scan slash 
     
    6381this counts the number of times a certain tag is found in the feed. 
    6482 
    65 # so if we also want for example the link field added, you can add that item to the itemslist 
     83so if we also want for example the link field added 
     84~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     85you can add that item to the itemslist:: 
    6686 
    6787    <dunk> !rss-additemslist slash link 
    6888    <gozerbot> ok 
    6989 
    70 # check 
     90check:: 
    7191 
    7292    <dunk> !rss-get slash 
     
    81101to remove use rss-delitemslist. 
    82102 
    83 # poll time 
     103poll time 
     104~~~~~~~~~ 
    84105 
    85106the bot will default poll once every 30 min. if you want the bot to poll